sourCEntral - mobile manpages

pdf

CALIBRE-DEBUG

NAME

calibre-debug − calibre-debug

calibre−debug [options]

Various command line interfaces useful for debugging calibre. With no options, this command starts an embedded Python interpreter. You can also run the main calibre GUI, the calibre viewer and the calibre editor in debug mode.

It also contains interfaces to various bits of calibre that do not have dedicated command line tools, such as font subsetting, the e−book diff tool and so on.

You can also use calibre−debug to run standalone scripts. To do that use it like this:

calibre−debug myscript.py −− −−option1 −−option2 file1 file2 …

Everything after the −− is passed to the script.

Whenever you pass arguments to calibre−debug that have spaces in them, enclose the arguments in quotation marks. For example: 「/some path/with spaces」

[オプション]

−−add−simple−plugin

プラグインのコードを含むpyファイルのパスを指定し、simpleプラグイン(単一の.pyファイルのみで構成されるプラグイン)を追加します。

−−command, −c

Run Python code.

−−debug−device−driver, −d

デバイス認識をデバッグ

−−default−programs

Windows の既定のプログラムに登録/登録解除 −−default−programs = (register|unregister)

−−diff

差分ツールを実行します。例: calibre−debug −−diff file1 file2

−−edit−book, −t

Launch the calibre "Edit book" tool in debug mode.

−−exec−file, −e

Run the Python code in file.

−−explode−book, −x

Explode the book into the specified directory. Usage: −x file.epub output_dir Exports the book as a collection of HTML files and metadata, which you can edit using standard HTML editing tools. Works with EPUB, AZW3, HTMLZ and DOCX files.

−−export−all−calibre−data

すべてのデータ(本・設定・プラグイン)をエクスポートする

−−gui, −g

GUI をデバッグモードで実行しています。デバッグ出力は stdout と stderr に出力されます。

−−gui−debug

デバッグコンソールで GUI を実行します。指定したパスへログを記録します。内部使用のみの場合は −g オプションを使用してください。

−−help, −h

このヘルプメッセージを表示して終了

−−implode−book, −i

Implode a previously exploded book. Usage: −i output_dir file.epub Imports the book from the files in output_dir which must have been created by a previous call to −−explode−book. Be sure to specify the same file type as was used when exploding.

−−import−calibre−data

以前エクスポートしたデータをインポートする

−−inspect−mobi, −m

指定されたパスのMOBIファイルを検査

−−paths

Calibre環境で出力パスの設定が必要です。

−−reinitialize−db

指定されたパスのsqliteのCalibreデータベースの再初期化を行います。データベースが壊れた場合に有用です。

−−run−plugin, −r

コマンドラインインターフェースを提供するプラグインを実行します。例: calibre−debug −r "Add Books" −− file1 −−option1 引数の– 以降にあるものは、すべて引数としてプラグインに渡されます。

−−shutdown−running−calibre, −s

もしCalibreが実行中であっても終了します。注意: ジョブが動作している場合でも、警告なしに終了されますので注意して実行してください。

−−subset−font, −f

指定されたフォントをサブセット化します。このオプションの後に "" をつけるとフォント・サブセットプログラムにオプションを渡します。

−−test−build

ビルド中にバイナリーモジュールをテスト

−−version

プログラムのバージョン番号を表示して終了

−−viewer, −w

Run the E−book viewer in debug mode

AUTHOR

Kovid Goyal

COPYRIGHT

Kovid Goyal

pdf