Your browser is set to English, and this guide is available in English.
Seu navegador está em português, e este guia está disponível em português.
本のメタデータ
本のタイトル、著者、言語はファイルに書き込まれ、形式ごとに、それを置く場所が異なるか、そもそも場所がありません。詳細な変換オプションの本のメタデータには、ComicInfo のタイトル、EPUB の言語、ComicInfo.xml を保持があります。本そのもののタイトル、著者、言語は、マンガを追加するで説明したとおり、キューのタイトル、著者、言語を編集で項目ごとに設定し、本の名前を .epub にするは端末のそばにあります。このページは、それらをすべて、実際の本から読み戻します。
例では、Pepper&Carrot の第 6 話の 3 ページを、Pepper and Carrot 06 という名前のフォルダーに入れて、行に別の指定がない限り、Kindle Paperwhite 6 向けの EPUB に変換します。Pepper&Carrot には ComicInfo.xml がないので、例のために、そのマンガ自身のタイトル、シリーズ番号、著者を書いたものをフォルダーに置いています:
<ComicInfo> <Title>The Potion Contest</Title> <Series>Pepper&Carrot</Series> <Number>6</Number> <Volume>1</Volume> <Writer>David Revoy</Writer> <LanguageISO>en</LanguageISO></ComicInfo>形式ごとの保存場所
Section titled “形式ごとの保存場所”3 行は、同じタイトル、著者、言語(--title、--author、--language)で変換したものです。
| 設定 | コマンドライン | 書名 | 著者 | 言語 |
|---|---|---|---|---|
| EPUB | --title "Pepper & Carrot 6" --author "D. Revoy" --language ja | Pepper & Carrot 6 | D. Revoy | ja |
--title "Pepper & Carrot 6" --author "D. Revoy" --language ja | Pepper & Carrot 6 | D. Revoy | 本には記載なし | |
| CBZ | --title "Pepper & Carrot 6" --author "D. Revoy" --language ja | 本には記載なし | 本には記載なし | 本には記載なし |
- EPUB は、3 つともパッケージファイルに保存します。
- PDF は、タイトルと著者をドキュメントのプロパティに保存し、mangaprep は言語を書き込みません。
- mangaprep が作る CBZ には、ページだけが入り、頼んだ場合は ComicInfo.xml も入ります(後述)。タイトル、著者、言語は入らないので、本はファイル名で識別されます。
指定がない場合、タイトルは、入力に ComicInfo.xml があればそこから作られ、なければ入力の名前になります。著者は ComicInfo.xml の Writer、または Unknown です。--title と --author はそれらを置き換え、短縮形は -t と -a です。
| 設定 | コマンドライン | 書名 | 著者 |
|---|---|---|---|
| 何も指定せず、ComicInfo.xml もない | フラグなし | Pepper and Carrot 06 | Unknown |
| 何も指定せず、ComicInfo.xml がある | フラグなし | Pepper&Carrot Vol. 01 #006 | David Revoy |
| タイトルを指定 | --title "Pepper & Carrot 6" | Pepper & Carrot 6 | David Revoy |
| 著者を指定 | --author "D. Revoy" | Pepper&Carrot Vol. 01 #006 | D. Revoy |
| 両方を指定 | --title "Pepper & Carrot 6" --author "D. Revoy" | Pepper & Carrot 6 | D. Revoy |
アプリでは、本のタイトルと著者は、その詳細にあるシリーズのタイトルまたは本のタイトルと著者から来ます。--title と --author が届くのは EPUB と PDF だけで、CBZ では何も変わりません。
ComicInfo のタイトル
Section titled “ComicInfo のタイトル”ComicInfo.xml がどのタイトルを与えるかは、ComicInfo のタイトルの選択で決まります。既定では、シリーズ、巻、番号から作ります。ComicInfo のタイトルを付け加えるは、そのあとに ComicInfo 自身の Title を付け足します。ComicInfo のタイトルだけを使うは、その Title だけを使い、その場合は、自分で指定したタイトルさえ使われません。--metadatatitle は series-only、combine、title-only を受け付けます。
| 設定 | コマンドライン | 書名 |
|---|---|---|
| ComicInfo のタイトル: シリーズ、巻、番号を使う | --metadatatitle series-only | Pepper&Carrot Vol. 01 #006 |
| ComicInfo のタイトル: ComicInfo のタイトルを付け加える | --metadatatitle combine | Pepper&Carrot Vol. 01 #006: The Potion Contest |
| ComicInfo のタイトル: ComicInfo のタイトルだけを使う | --metadatatitle title-only | The Potion Contest |
| タイトルを指定、シリーズ、巻、番号を使う | --title "Pepper & Carrot 6" --metadatatitle series-only | Pepper & Carrot 6 |
| タイトルを指定、ComicInfo のタイトルを付け加える | --title "Pepper & Carrot 6" --metadatatitle combine | Pepper & Carrot 6 |
| タイトルを指定、ComicInfo のタイトルだけを使う | --title "Pepper & Carrot 6" --metadatatitle title-only | The Potion Contest |
| ComicInfo のタイトルだけを使う、ComicInfo.xml なし | --metadatatitle title-only | Pepper and Carrot 06 |
入力に ComicInfo.xml がなければ、適用するタイトルがなく、最後の行は入力の名前です。指定したタイトルは、1 つの行を除いてすべてで優先されます。ComicInfo のタイトルだけを使うがその例外で、それがこの選択の目的だからです。
ComicInfo.xml を保持
Section titled “ComicInfo.xml を保持”mangaprep が作る CBZ には、これをオンにしない限り、ComicInfo.xml は入りません。--keepcomicinfo を付けると、入力のものが、書き換えられずにそのままコピーされます。タイトルと著者を指定していても同じです。入力に ComicInfo.xml がなければ、何も入りません。このオプションが効くのは CBZ だけで、アプリは EPUB と PDF では薄く表示します。最後の 2 行は、それらに何も加わらないことを示すために、あえてフラグを付けています。
| 設定 | コマンドライン | 本の中の ComicInfo.xml |
|---|---|---|
| CBZ, ComicInfo.xml を保持: オフ | フラグなし | いいえ |
| CBZ, ComicInfo.xml を保持: オン | --keepcomicinfo | はい、入力のものをそのまま |
| CBZ, ComicInfo.xml を保持: オン、タイトルと著者を指定 | --keepcomicinfo --title "Pepper & Carrot 6" --author "D. Revoy" | はい、入力のものをそのまま |
| CBZ, ComicInfo.xml を保持: オン、入力に ComicInfo.xml なし | --keepcomicinfo | いいえ |
| EPUB, ComicInfo.xml を保持: オン | --keepcomicinfo | いいえ |
| PDF, ComicInfo.xml を保持: オン | --keepcomicinfo | いいえ |
EPUB の言語
Section titled “EPUB の言語”言語は EPUB のパッケージファイルに書き込まれ、指定がなければ en-US が使われます。CBZ と PDF には、最初の表が示したとおり、言語は付きません。--language は言語コードを受け付けます。
| 設定 | コマンドライン | 言語 |
|---|---|---|
| EPUB の言語: 指定なし | フラグなし | en-US |
| EPUB の言語: ja | --language ja | ja |
| EPUB の言語: pt-BR | --language pt-BR | pt-BR |
| PDF、ja を指定 | --language ja | 本には記載なし |
| CBZ、ja を指定 | --language ja | 本には記載なし |
この設定には、空でないコードが必要です。また、本自身の詳細は、pt-BR の形で言語を指定します。詳細で言語を指定した本は、設定ではなく、その言語を使います。マンガを追加するを参照してください。
本の名前を .epub にする
Section titled “本の名前を .epub にする”Kobo 自身のリーダーは .kepub.epub という名前を探すため、mangaprep は、入力から名前を作るとき、Kobo のプロファイル向けに作る EPUB を、その名前にします。本の名前を .epub にする(--nokepub)は、普通の .epub のままにします。変わるのは名前だけで、中身の本は同じファイルです。カスタムの画面サイズにすると、mangaprep はその端末を Kobo として扱わなくなります。ほかの端末向けの本は、もともと .epub という名前で、CBZ は常に .cbz です。
| 設定 | コマンドライン | ファイル名 |
|---|---|---|
| Kobo Libra Colour, EPUB | フラグなし | Pepper and Carrot 06.kepub.epub |
| Kobo Libra Colour, EPUB, 本の名前を .epub にする: オン | --nokepub | Pepper and Carrot 06.epub |
| Kobo Libra Colour, EPUB、幅の指定あり | --customwidth 1000 | Pepper and Carrot 06.epub |
| Kobo Libra Colour, CBZ | フラグなし | Pepper and Carrot 06.cbz |
| Kindle Paperwhite 6, EPUB | フラグなし | Pepper and Carrot 06.epub |
