*** こちらは2013年に公開したページです。
*** 現在のEPUB3仕様とはやや異ってきているため、
*** なるべく『EPUB3テンプレート 第三版(電書協仕様準拠版)』の使用をお勧めします。
*** 解説ページは『EPUB3テンプレートの使い方 第三版(電書協仕様準拠版)』へ。
*** サンプルページは『リーディングシステムによる表示サンプル 第三版(電書協仕様準拠版)』へ。
EPUB3テンプレートを使ってご自分の書籍を作成するための編集方法です。
行程は長めですが、順を追って作業しながらご自分の書籍情報や文章を入れ替えていくだけです。
テンプレートは《テンプレート1》の「dc_template_01_winered_ep3.epub」を例に解説しています。
EPUB編集ソフトは『Sigil』、電子書籍ビュアーは『Adobe Digital Editions』、各ファイルの編集には文字コードが「UTF-8」で保存できるエディタを使用します。
あらかじめこれらを《使用ツール/参考ツール》の項目を参考にインストールしておいてください。
C:. └─ebook │ dc_template_01_winered_ep3.epub │ └─files │ mimetype │ ├─META-INF │ container.xml │ └─OEBPS │ content.opf ---- Package Document │ toc.ncx -------- EPUB2ナビゲーション用 │ ├─Images(画像) │ cover_01.jpg -------- 表紙 │ cover_02.jpg -------- 裏表紙 │ deco_l.png ------- 扉ページワンポイント(大) │ deco_s.png ------- 奥付ページワンポイント(小) │ old_paper.jpg ------- 挿絵 │ ornament_l.png ------ 扉/奥付ページ共用ライン(下) │ ornament_u.png ------ 扉/奥付ページ共用ライン(上) │ ├─Styles(スタイルシート) │ ebook_fix_style.css ------- 固定レイアウト用 │ ebook_horizontal.css ------ 横書き表示用 │ ebook_style.css ----------- 縦書き/横書き表示共用 │ ebook_vertical.css -------- 縦書き表示用 │ └─Text(本文ページ/ページ順) cover.xhtml -------------- 表紙 titlepage.xhtml ---------- 扉 dedication.xhtml --------- 献辞 navigation.xhtml --------- 目次 illustration.xhtml ------- 挿絵 characters.xhtml --------- 登場人物 preface.xhtml ------------ まえがき prologue.xhtml ----------- プロローグ chapter001.xhtml --------- 第一章 section001.xhtml --------- 第一節 section002.xhtml --------- 第二節 epilogue.xhtml ----------- エピローグ afterword.xhtml ---------- あとがき colophon.xhtml ----------- 奥付 backcover.xhtml ---------- 裏表紙 toc.xhtml ---------------- ナビゲーション用
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="ja"> <head> <meta charset="UTF-8" /> <link href="../Styles/ebook_style.css" rel="stylesheet" type="text/css" /> <link class="vertical" href="../Styles/ebook_vertical.css" rel="stylesheet" title="縦組" type="text/css" /> <link class="horizontal" href="../Styles/ebook_horizontal.css" rel="alternate stylesheet" title="横組" type="text/css" /> <title>銀色の獅子〈1〉- まえがき</title> </head>
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="ja"> <head> <meta charset="UTF-8" /> <link href="../Styles/ebook_style.css" rel="stylesheet" type="text/css" /> <link class="vertical" href="../Styles/ebook_vertical.css" rel="stylesheet" title="縦組" type="text/css" /> <link class="horizontal" href="../Styles/ebook_horizontal.css" rel="alternate stylesheet" title="横組" type="text/css" /> <title>EPUB3版テンプレートの使い方</title> </head>
<div> <img alt="銀色の獅子〈1〉:表紙" class="cover_img" src="../Images/cover_01.jpg" /> </div>
<div> <img alt="EPUB3版テンプレートの使い方:表紙" class="cover_img" src="../Images/cover_01.jpg" /> </div>
<div class="ornament_align_t"> <img alt="画像:オーナメント" src="../Images/ornament_u.png" /><br /> <p class="title">銀色の獅子〈1〉</p> <p class="fukudai">−完全版−</p> <img alt="画像:オーナメント" src="../Images/deco_l.png" /><br /> <p class="author">Dark Currant</p> <img alt="画像:オーナメント" src="../Images/ornament_l.png" /> </div>
<div class="ornament_align_t"> <img alt="画像:オーナメント" src="../Images/ornament_u.png" /><br /> <p class="title">EPUB3版テンプレートの使い方</p> <p class="fukudai"></p> <img alt="画像:オーナメント" src="../Images/deco_l.png" /><br /> <p class="author">騨亜九 加蘭戸(著者)<br /> Dark Currant(原作者)</p> <img alt="画像:オーナメント" src="../Images/ornament_l.png" /> </div>
<div class="dedication"> <p> 執筆の時間を与えてくれた家族と、<br /> この小説を書き始めてから虹の橋へ旅立った三匹と、<br /> 今もそばで和ませてくれている五匹の猫たちへ </p> </div>
<div class="dedication"> <p> すべての本好きへ捧ぐ </p> </div>
<div class="characters"> <ul> <li>デルフィンデル王国 <ul> <li>ガーランド……国王/先王オデイルの第一子</li> <li>エレンディア……ガーランドの妃</li> ------------
<div class="characters_no_mark"> <ul> <li>登場人物A……本編の主人公</li> <li>登場人物B……主人公の妻</li> <li>登場人物C……主人公の父</li> ------------
<div class="preface"> <p> 聖レヴェリオスよ<br /> 我等が神、我等がすべての戦いを司る神よ<br /> あなたの御名において、我はここに誓う<br /> あなたの御心に従い、決してあなたの御名を汚さぬことを </p> <p><br /></p> <p class="signature_2em"> ――神書による〈剣の誓い〉の言葉より </p> </div>
<div class="preface"> <p> テンプレートの例では最後に引用元が入っています<br /> 引用元は下揃えで後ろ二文字空きになります<br /> 横書き表示の場合は右揃えで右二文字空きです。<br /> 引用元等がない場合はこのようになります </p> </div>
<div class="ornament_align_c"> <img alt="画像:オーナメント" src="../Images/ornament_u.png" /><br /> <p class="col_title">銀色の獅子〈1〉</p> <p class="col_fukudai">−完全版−<br /> [template edition 1]</p> <img alt="画像:オーナメント" src="../Images/deco_s.png" /><br /> <p>著者 Dark Currant</p> <p class="col_rights">© 2013 Dark Currant. All Rights Reserved.</p> <p>発行日 2013年4月29日 初版</p> <p>EPUB版制作/発行</p> <p>『Dark Currant's Novels Site』</p> <p><a href="http://www.darkcurrant.com/">http://www.darkcurrant.com/</a></p> <img alt="画像:オーナメント" src="../Images/ornament_l.png" /> </div>
<div class="ornament_align_c"> <img alt="画像:オーナメント" src="../Images/ornament_u.png" /><br /> <p class="col_title">EPUB3版テンプレートの使い方</p> <p class="col_fukudai"></p> <img alt="画像:オーナメント" src="../Images/deco_s.png" /><br /> <p>著者<br /> 騨亜九 加蘭戸</p> <p class="col_rights">© 2013 hogehoge DC. All Rights Reserved.</p> <p>発行日 2013年5月25日 初版</p> <p>EPUB版制作/発行</p> <p>騨亜九 加蘭戸社</p> <p><a href="http://www.hogehoge_dc.com/">東京都騨亜区加蘭戸町1-1-1</a></p> <img alt="画像:オーナメント" src="../Images/ornament_l.png" /> </div>
<p> デルフィンデル王国で行われる剣闘大会は、アスティニアでは最も人気のある行事のひとつだった。</p> <p> 希望すれば誰でも参加を許される。それは国の内外を問わず広く優秀な人材を集めようとするガーランド王の意向の表れでもあった。</p> <p><br /></p> <p> この剣闘大会での規則はただひとつ、相手を殺さぬこと――ただそれのみだった。剣闘大会でその腕を認められれば傭兵として高額で雇われることも可能である。</p>
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="ja"> <head> <meta charset="UTF-8" /> <link href="../Styles/ebook_style.css" rel="stylesheet" type="text/css" /> <link class="vertical" href="../Styles/ebook_vertical.css" rel="stylesheet" title="縦組" type="text/css" /> <link class="horizontal" href="../Styles/ebook_horizontal.css" rel="alternate stylesheet" title="横組" type="text/css" /> <title>EPUB3版テンプレートの使い方</title> </head> <body id="text"> <section epub:type="chapter"> <h2 class="chapter" id="mark_100">その一</h2> </section>> </body> </html>
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="ja"> <head> <meta charset="UTF-8" /> <link href="../Styles/ebook_style.css" rel="stylesheet" type="text/css" /> <link class="vertical" href="../Styles/ebook_vertical.css" rel="stylesheet" title="縦組" type="text/css" /> <link class="horizontal" href="../Styles/ebook_horizontal.css" rel="alternate stylesheet" title="横組" type="text/css" /> <title>EPUB3版テンプレートの使い方</title> </head> <body id="text"> <section epub:type="bodymatter"> <h3 class="section" id="mark_101">ファイルの解凍</h3> 〜〜 この間のダミー本文を削除する 〜〜 </section> </body> </html>
<body id="text"> <section epub:type="bodymatter"> <h3 class="section" id="mark_102">ファイルの編集</h3> <p> アンカー名は必ずしも連番になっている必要はなく、半角英数字であれば自由に付けられます。</p> </section> </body> </html>
id="mark_001"〜 本文より前にあるページ id="mark_100" 本文の第一章 id="mark_101"、"mark_102"、"mark_103"〜 第一節、第二節、第三節〜 id="mark_200" 本文の第二章 id="mark_201"、"mark_202"、"mark_203"〜 第一節、第二節、第三節〜 ------------ id="mark_900"〜 本文より後にあるページ
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="ja"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=1128, height=1692" /> <link href="../Styles/ebook_fix_style.css" rel="stylesheet" type="text/css" /> <title>EPUB3版テンプレートの使い方</title> </head> <body> <section epub:type="backmatter"> <div id="mark_902"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1128 1692"> <image width="1128" height="1692" xlink:href="../Images/cover_02.jpg"/> </svg> </div> </section> </body> </html>
└─Text(本文ページ/ページ順) cover.xhtml -------------- 表紙 titlepage.xhtml ---------- 扉 navigation.xhtml --------- 目次(※このファイル) prologue.xhtml ----------- プロローグ chapter001.xhtml --------- 第一章 section001.xhtml --------- 第一節 section002.xhtml --------- 第二節 section003.xhtml --------- 第三節 section004.xhtml --------- 第四節 chapter002.xhtml --------- 第二章 section005.xhtml --------- 第一節 section006.xhtml --------- 第二節 afterword.xhtml ---------- あとがき colophon.xhtml ----------- 奥付 backcover.xhtml ---------- 裏表紙 toc.xhtml ---------------- ナビゲーション用(※表示させない)
<body id="toc"> <section epub:type="toc"> <h2 class="section" id="mark_003">目次</h2> <div class="navigation"> <ol class="mark_disk"> <li><a href="../Text/titlepage.xhtml#mark_001">扉</a></li> <li><a href="../Text/prologue.xhtml#mark_007">プロローグ</a></li> <li> <a href="../Text/chapter001.xhtml#mark_100">その一</a> <ol class="mark_circle"> <li><a href="../Text/section001.xhtml#mark_101">ファイルの解凍</a></li> <li><a href="../Text/section002.xhtml#mark_102">ファイルの編集</a></li> <li><a href="../Text/section003.xhtml#mark_103">ファイルの削除</a></li> <li><a href="../Text/section004.xhtml#mark_104">ファイルの追加</a></li> </ol> </li> <li> <a href="../Text/chapter002.xhtml#mark_200">その二</a> <ol class="mark_circle"> <li><a href="../Text/section005.xhtml#mark_201">目次ファイルの編集</a></li> <li><a href="../Text/section006.xhtml#mark_202">ファイルの圧縮</a></li> </ol> </li> <li><a href="../Text/afterword.xhtml#mark_900">あとがき</a></li> <li><a href="../Text/colophon.xhtml#mark_901">奥付</a></li> </ol> </div> </section> </body> </html>
<nav epub:type="toc" id="toc"> <h2>目次</h2> <ol> <li><a href="../Text/cover.xhtml">表紙</a></li> <li><a href="../Text/titlepage.xhtml#mark_001">扉</a></li> <li><a href="../Text/navigation.xhtml#mark_003">目次</a></li> <li><a href="../Text/prologue.xhtml#mark_007">プロローグ</a></li> <li> <a href="../Text/chapter001.xhtml#mark_100">その一</a> <ol> <li><a href="../Text/section001.xhtml#mark_101">ファイルの解凍</a></li> <li><a href="../Text/section002.xhtml#mark_102">ファイルの編集</a></li> <li><a href="../Text/section003.xhtml#mark_103">ファイルの削除</a></li> <li><a href="../Text/section004.xhtml#mark_104">ファイルの追加</a></li> </ol> </li> <li> <a href="../Text/chapter001.xhtml#mark_200">その二</a> <ol> <li><a href="../Text/section005.xhtml#mark_201">目次ファイルの編集</a></li> <li><a href="../Text/section006.xhtml#mark_202">ファイルの圧縮</a></li> </ol> </li> <li><a href="../Text/afterword.xhtml#mark_900">あとがき</a></li> <li><a href="../Text/colophon.xhtml#mark_901">奥付</a></li> <li><a href="../Text/backcover.xhtml#mark_902">裏表紙</a></li> </ol> </nav>
<nav epub:type="landmarks" id="landmarks"> <h2>ガイド</h2> <ol> <li><a epub:type="cover" href="../Text/cover.xhtml">表紙</a></li> <li><a epub:type="toc" href="../Text/navigation.xhtml#mark_003">目次</a></li> <li><a epub:type="titlepage" href="../Text/titlepage.xhtml#mark_001">扉</a></li> <li><a epub:type="bodymatter" href="../Text/chapter001.xhtml#mark_100">本文</a></li> </ol> </nav>
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="2.0"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:f8ede0d6-7f20-41c5-a191-39162b4eaa83</dc:identifier> </metadata> <manifest> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" /> <item href="Text/Section0001.xhtml" id="Section0001.xhtml" media-type="application/xhtml+xml" /> </manifest> <spine toc="ncx"> <itemref idref="Section0001.xhtml" /> </spine> <guide /> </package>
<?xml version="1.0" encoding="utf-8"?> <package xmlns="http://www.idpf.org/2007/opf" prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="BookID" version="3.0" xml:lang="ja"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> <!-- unique identifier --> <dc:identifier id="BookID">urn:uuid:f8ede0d6-7f20-41c5-a191-39162b4eaa83</dc:identifier> <meta refines="#BookID" property="identifier-type">uuid</meta>
<?xml version="1.0" encoding="utf-8"?> <package xmlns="http://www.idpf.org/2007/opf" prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="BookID" version="3.0" xml:lang="ja"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> <!-- unique identifier --> <dc:identifier id="BookID">urn:uuid:f8ede0d6-7f20-41c5-a191-39162b4eaa83d</dc:identifier> <meta refines="#BookID" property="identifier-type">uuid</meta> <!-- title --> <dc:title id="title0">銀色の獅子 -完全版-〈1〉 [template 1]</dc:title> <!-- language --> <dc:language id="language0">ja</dc:language> <!-- creator --> <dc:creator id="creator0">Dark Currant</dc:creator> <meta refines="#creator0" property="role">aut</meta> <!-- description --> <dc:description id="description0">アスティニア三国の緩衝地帯ともいうべきファルナハトを支配する盗賊の首領、銀の獅子。復讐を糧として生き延びた彼は、死刑執行人の異名を受け、己が望まぬままに多くの血を流し続ける。彼が行き着く先は死か、狂気か、それとも――。中世時代のヨーロッパを模した架空の王国を舞台とした長編ファンタジー「銀色の獅子」。本編 プロローグ+第一章〔完全版〕+web未公開掌編 二編</dc:description> <!-- category --> <dc:type id="type0">ファンタジー</dc:type> <!-- publisher --> <dc:publisher id="publisher0">Dark Currant's Novels Site</dc:publisher> <!-- rights --> <dc:rights id="rights0">Copyright 2013 Dark Currant. All Rights Reserved.</dc:rights> <!-- date --> <dc:date>2013-04-29T00:00:00Z</dc:date> <!-- modified --> <meta property="dcterms:modified">2013-04-28T00:00:00Z</meta> <!-- meta for the cover --> <meta name="cover" content="cover_01.jpg" /> <!-- fixed-layout options --> <meta property="rendition:layout">reflowable</meta> <meta property="rendition:spread">none</meta> </metadata>
└─Text(本文ページ/ページ順) cover.xhtml -------------- 表紙 titlepage.xhtml ---------- 扉 navigation.xhtml --------- 目次 prologue.xhtml ----------- プロローグ chapter001.xhtml --------- 第一章 section001.xhtml --------- 第一節 section002.xhtml --------- 第二節 section003.xhtml --------- 第三節 section004.xhtml --------- 第四節 chapter002.xhtml --------- 第二章 section005.xhtml --------- 第一節 section006.xhtml --------- 第二節 afterword.xhtml ---------- あとがき colophon.xhtml ----------- 奥付 backcover.xhtml ---------- 裏表紙 toc.xhtml ---------------- ナビゲーション用
<manifest> <!-- navigation --> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" /> <item href="Text/toc.xhtml" id="nav" media-type="application/xhtml+xml" properties="nav" /> <!-- xhtml --> <item href="Text/cover.xhtml" id="cover.xhtml" media-type="application/xhtml+xml" /> <item href="Text/titlepage.xhtml" id="titlepage.xhtml" media-type="application/xhtml+xml" /> <item href="Text/navigation.xhtml" id="navigation.xhtml" media-type="application/xhtml+xml" /> <item href="Text/prologue.xhtml" id="prologue.xhtml" media-type="application/xhtml+xml" /> <item href="Text/chapter001.xhtml" id="chapter001.xhtml" media-type="application/xhtml+xml" /> <item href="Text/section001.xhtml" id="section001.xhtml" media-type="application/xhtml+xml" /> <item href="Text/section002.xhtml" id="section002.xhtml" media-type="application/xhtml+xml" /> <item href="Text/section003.xhtml" id="section003.xhtml" media-type="application/xhtml+xml" /> <item href="Text/section004.xhtml" id="section004.xhtml" media-type="application/xhtml+xml" /> <item href="Text/chapter002.xhtml" id="chapter002.xhtml" media-type="application/xhtml+xml" /> <item href="Text/section005.xhtml" id="section005.xhtml" media-type="application/xhtml+xml" /> <item href="Text/section006.xhtml" id="section006.xhtml" media-type="application/xhtml+xml" /> <item href="Text/afterword.xhtml" id="afterword.xhtml" media-type="application/xhtml+xml" /> <item href="Text/colophon.xhtml" id="colophon.xhtml" media-type="application/xhtml+xml" /> <item href="Text/backcover.xhtml" id="backcover.xhtml" properties="svg" media-type="application/xhtml+xml" />
└─Images(画像) cover_01.jpg -------- 表紙 cover_02.jpg -------- 裏表紙 deco_l.png ------- 扉ページワンポイント(大) deco_s.png ------- 奥付ページワンポイント(小) ornament_l.png ------ 扉/奥付ページ共用ライン(下) ornament_u.png ------ 扉/奥付ページ共用ライン(上) photo_01.jpg ------- 挿絵1 photo_02.jpg ------- 挿絵2 mark_01.gif ------- 挿絵3
<!-- images --> <item href="Images/cover_01.jpg" id="cover_01.jpg" media-type="image/jpeg" properties="cover-image" /> <item href="Images/cover_02.jpg" id="cover_01.jpg" media-type="image/jpeg" /> <item href="Images/deco_l.png" id="deco_02_l.png" media-type="image/png" /> <item href="Images/deco_s.png" id="deco_01_s.png" media-type="image/png" /> <item href="Images/ornament_l.png" id="ornament_l.png" media-type="image/png" /> <item href="Images/ornament_u.png" id="ornament_u.png" media-type="image/png" /> <item href="Images/photo_01.jpg" id="photo_01.jpg" media-type="image/jpeg" /> <item href="Images/photo_02.jpg" id="photo_02.jpg" media-type="image/jpeg" /> <item href="images/mark_01.gif" id="mark_01.gif" media-type="image/gif" /> </manifest>
└─Text(本文ページ/ページ順) cover.xhtml -------------- 表紙 titlepage.xhtml ---------- 扉 navigation.xhtml --------- 目次 prologue.xhtml ---------- プロローグ chapter001.xhtml -------- 第一章 section001.xhtml -------- 第一節 section002.xhtml -------- 第二節 section003.xhtml -------- 第三節 section004.xhtml -------- 第四節 chapter002.xhtml -------- 第二章 section005.xhtml -------- 第一節 section006.xhtml -------- 第二節 afterword.xhtml --------- あとがき colophon.xhtml ---------- 奥付 backcover.xhtml --------- 裏表紙 toc.xhtml --------------- ナビゲーション用
<!-- spine --> <spine page-progression-direction="rtl" toc="ncx"> <itemref idref="cover.xhtml" linear="yes" /> <itemref idref="titlepage.xhtml" linear="yes" /> <itemref idref="navigation.xhtml" linear="yes" /> <itemref idref="prologue.xhtml" linear="yes" /> <itemref idref="chapter001.xhtml" linear="yes" /> <itemref idref="section001.xhtml" linear="yes" /> <itemref idref="section002.xhtml" linear="yes" /> <itemref idref="section003.xhtml" linear="yes" /> <itemref idref="section004.xhtml" linear="yes" /> <itemref idref="chapter002.xhtml" linear="yes" /> <itemref idref="section005.xhtml" linear="yes" /> <itemref idref="section006.xhtml" linear="yes" /> <itemref idref="afterword.xhtml" linear="yes" /> <itemref idref="colophon.xhtml" linear="yes" /> <itemref idref="backcover.xhtml" linear="yes" properties="rendition:layout-pre-paginated rendition:orientation-portrait rendition:page-spread-center" /> </spine>
<!-- guide --> <guide> <reference href="Text/cover.xhtml" title="表紙" type="cover" /> <reference href="Text/titlepage.xhtml" title="扉" type="title-page" /> <reference href="Text/navigation.xhtml" title="目次" type="toc" /> <reference href="Text/chapter001.xhtml" title="本文" type="text" /> </guide> </package>
C:. └─ebook │ dc_template_01_winered_ep3.epub │ ├─files ←---- 編集した各ファイル用フォルダ │ └─zip ←---- 圧縮ツール用フォルダ Contents LICENSE README README.CR WHATSNEW WHERE zip.exe zip.txt zip30.ann zipcloak.exe zipcloak.txt zipnote.exe zipnote.txt zipsplit.exe zipsplit.txt
cd files c:\ebook\zip\zip -0 -X ..\sample.epub mimetype c:\ebook\zip\zip -r ..\sample.epub * -x mimetype cd ..
C:. └─ebook │ dc_template_01_winered_ep3.epub │ makeepub.bat ←---- epub作成用バッチファイル │ sample.epub ←---- 作成されたEPUB3ファイル │ ├─files ←---- 編集した各ファイル用フォルダ │ └─zip ←---- 圧縮ツール用フォルダ
<div>
<div> <h2 class="no-optical">表紙</h2> </div> <div>
<div id="mark_902">
<div id="mark_902"> <h2 class="no-optical">裏表紙</h2> </div> <div>
<?xml version="1.0" encoding="UTF-8"?> <ncx xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/" xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="ja"> <head> <meta content="urn:uuid:f8ede0d6-7f20-41c5-a191-39162b4eaa83" name="dtb:uid"/> <meta content="2" name="dtb:depth"/> <meta content="0" name="dtb:totalPageCount"/> <meta content="0" name="dtb:maxPageNumber"/> </head> <docTitle> <text>EPUB3版テンプレートの使い方</text> </docTitle> <navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>表紙</text> </navLabel> <content src="Text/cover.xhtml" /> </navPoint> <navPoint id="navPoint-2" playOrder="2"> <navLabel> <text>扉</text> </navLabel> <content src="Text/titlepage.xhtml#mark_001" /> </navPoint> <navPoint id="navPoint-3" playOrder="3"> <navLabel> <text>目次</text> </navLabel> <content src="Text/navigation.xhtml#mark_003" /> </navPoint> <navPoint id="navPoint-4" playOrder="4"> <navLabel> <text>まえがき</text> </navLabel> <content src="Text/preface.xhtml#mark_006" /> </navPoint> ------------ <navPoint id="navPoint-15" playOrder="15"> <navLabel> <text>奥付</text> </navLabel> <content src="Text/colophon.xhtml#mark_901" /> </navPoint> <navPoint id="navPoint-16" playOrder="16"> <navLabel> <text>裏表紙</text> </navLabel> <content src="Text/backcover.xhtml#mark_902" /> </navPoint> </navMap> </ncx>
C:. └─ebook │ dc_template_01_winered_ep3.epub │ makeepub.bat ←---- epub作成用バッチファイル │ sample.epub ←---- 作成されたEPUB3ファイル │ ├─epubcheck ←---- epubcheckツール用フォルダ │ │ COPYING.txt │ │ epubcheck-3.0.jar │ │ epubchecklog.txt │ │ README.txt │ │ THIRD-PARTY.txt │ │ │ ├─lib │ │ commons-compress-1.4.1.jar │ │ guava-13.0.1.jar │ │ jing-20120724.0.0.jar │ │ sac-1.3.jar │ │ saxon-9.1.0.8.jar │ │ │ └─licenses │ Apache-2.0.txt │ BSD-3-Clause.txt │ MPL-1.0.txt │ W3C.txt │ ├─files ←---- 編集した各ファイル用フォルダ │ └─zip ←---- 圧縮ツール用フォルダ
cd epubcheck java -jar epubcheck-3.0.jar c:\ebook\sample.epub cd .. pause
C:. └─ebook │ dc_template_01_winered_ep3.epub │ epubcheck.bat ←---- EpubCheck用バッチファイル │ makeepub.bat ←---- epub作成用バッチファイル │ sample.epub ←---- 作成されたEPUB3ファイル │ ├─epubcheck ←---- epubcheckツール用フォルダ ------------
ERROR: c:/ebook/sample.epub: Extra field length for first filename must be 0, but was 17
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
<spine page-progression-direction="rtl" toc="ncx">
<spine page-progression-direction="rtl">