Skip to content

Commit

Permalink
解開原範例
Browse files Browse the repository at this point in the history
  • Loading branch information
jamessa committed Mar 6, 2019
1 parent c38539c commit 8034943
Show file tree
Hide file tree
Showing 36 changed files with 5,504 additions and 0 deletions.
12 changes: 12 additions & 0 deletions samples/EPUB reflow sample_直排/META-INF/container.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<container
version="1.0"
xmlns="urn:oasis:names:tc:opendocument:xmlns:container"
>
<rootfiles>
<rootfile
full-path="item/standard.opf"
media-type="application/oebps-package+xml"
/>
</rootfiles>
</container>
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions samples/EPUB reflow sample_直排/item/navigation-documents.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?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="zh-TW" lang="zh-TW"
>
<head>
<meta charset="UTF-8"/>
<title>目錄</title>
</head>
<body>

<nav epub:type="toc" id="toc">
<h1>目錄</h1>
<ol>
<li><a href="xhtml/p-cover.xhtml">封面</a></li>
<li><a href="xhtml/p-toc.xhtml">目錄</a></li>
<li><a href="xhtml/p-001.xhtml">書名頁</a></li>
<li><a href="xhtml/p-002.xhtml#toc-002">流式版面的適用範圍</a></li>
<li><a href="xhtml/p-002.xhtml#toc-003">流式版面的使用方式</a></li>
<li><a href="xhtml/p-003.xhtml">預設內容顯示範本</a></li>
<li><a href="xhtml/p-004.xhtml">預設CSS樣式表說明</a></li>
<li><a href="xhtml/p-005.xhtml">文字排列方向</a></li>
<li><a href="xhtml/p-006.xhtml">文字處理</a>
<ol>
<li><a href="xhtml/p-006.xhtml#toc-004">字體</a></li>
<li><a href="xhtml/p-006.xhtml#toc-005">文字尺寸</a></li>
<li><a href="xhtml/p-006.xhtml#toc-006">粗、斜體</a></li>
<li><a href="xhtml/p-006.xhtml#toc-007">上下標字</a></li>
<li><a href="xhtml/p-006.xhtml#toc-008">直排中的橫排</a></li>
<li><a href="xhtml/p-006.xhtml#toc-009">文字轉向</a></li>
<li><a href="xhtml/p-006.xhtml#toc-010">文字色彩,背景色</a></li>
<li><a href="xhtml/p-006.xhtml#toc-011">刪除線</a></li>
<li><a href="xhtml/p-006.xhtml#toc-012">底線</a></li>
<li><a href="xhtml/p-006.xhtml#toc-013">分隔線</a></li>
<li><a href="xhtml/p-006.xhtml#toc-014">連結</a></li>
<li><a href="xhtml/p-006.xhtml#toc-015">英文長單字與網址的斷行</a></li>
</ol></li>
<li><a href="xhtml/p-007.xhtml#toc-016">缺字圖片</a></li>
<li><a href="xhtml/p-007.xhtml#toc-017">外文嵌入字體</a></li>
<li><a href="xhtml/p-008.xhtml">註釋處理</a></li>
<li><a href="xhtml/p-009.xhtml">標題與內文段落的行排列處理</a>
<ol>
<li><a href="xhtml/p-009.xhtml#toc-018">對齊方式</a></li>
<li><a href="xhtml/p-009.xhtml#toc-019">行距</a></li>
<li><a href="xhtml/p-009.xhtml#toc-020">字距</a></li>
<li><a href="xhtml/p-009.xhtml#toc-021">行頭縮排</a></li>
<li><a href="xhtml/p-009.xhtml#toc-022">行頭凸排</a></li>
<li><a href="xhtml/p-009.xhtml#toc-023">段落縮排</a></li>
<li><a href="xhtml/p-009.xhtml#toc-024">段落提排</a></li>
</ol></li>
<li><a href="xhtml/p-010.xhtml">區塊元素的排列</a>
<ol>
<li><a href="xhtml/p-010.xhtml#toc-025">區塊(Box)種類</a></li>
<li><a href="xhtml/p-010.xhtml#toc-026">區塊的對齊方式</a></li>
<li><a href="xhtml/p-010.xhtml#toc-027">Inline元素的對齊方式</a></li>
<li><a href="xhtml/p-010.xhtml#toc-028">框線</a></li>
<li><a href="xhtml/p-010.xhtml#toc-029">尺寸</a></li>
<li><a href="xhtml/p-010.xhtml#toc-030">邊界(margin)</a></li>
<li><a href="xhtml/p-010.xhtml#toc-031">內邊界(padding)</a></li>
</ol></li>
<li><a href="xhtml/p-011.xhtml">滿版圖片</a></li>
<li><a href="xhtml/p-012.xhtml">換頁</a></li>
<li><a href="xhtml/p-013.xhtml">文繞圖</a></li>
<li><a href="xhtml/p-colophon.xhtml">版權頁</a></li>
</ol>
</nav>

</body>
</html>
116 changes: 116 additions & 0 deletions samples/EPUB reflow sample_直排/item/standard.opf
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<package
xmlns="http://www.idpf.org/2007/opf"
version="3.0"
xml:lang="zh-TW"
unique-identifier="unique-id"
prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/ rendition: http://www.idpf.org/vocab/rendition/#"
>

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">

<!-- 作品名 -->
<dc:title id="title">台灣EPUB 3製作指引 流式版面範本</dc:title>

<!-- 作者名 -->
<dc:creator id="creator01">台灣數位出版聯盟</dc:creator>
<meta refines="#creator01" property="role" scheme="marc:relators">aut</meta>
<meta refines="#creator01" property="display-seq">1</meta>

<dc:creator id="creator02">作者名2</dc:creator>
<meta refines="#creator02" property="role" scheme="marc:relators">aut</meta>
<meta refines="#creator02" property="display-seq">2</meta>

<!-- 出版社名 -->
<dc:publisher id="publisher">出版社名</dc:publisher>

<!-- 語言 -->
<dc:language>zh-TW</dc:language>

<!-- 檔案id -->
<dc:identifier id="unique-id">urn:uuid:d7a8d311-7cd0-40df-9443-65847561decf</dc:identifier>

<!-- 更新時間 -->
<meta property="dcterms:modified">2014-11-01T00:00:00Z</meta>

<!-- iBook指定字體 -->
<meta property="ibooks:specified-fonts">true</meta>


</metadata>

<manifest>

<!-- navigation -->
<item media-type="application/xhtml+xml" id="toc" href="navigation-documents.xhtml" properties="nav"/>

<!-- style -->
<item media-type="text/css" id="book-style" href="style/book-style.css"/>
<item media-type="text/css" id="style-reset" href="style/style-reset.css"/>
<item media-type="text/css" id="style-standard" href="style/style-standard.css"/>
<item media-type="text/css" id="style-advance" href="style/style-advance.css"/>
<item media-type="text/css" id="style-check" href="style/style-check.css"/>
<item media-type="text/css" id="font" href="style/font.css"/>

<!-- image -->
<item media-type="image/jpeg" id="cover" href="image/cover.jpg" properties="cover-image"/>
<item media-type="image/png" id="logo-bunko" href="image/logo-bunko.png"/>
<item media-type="image/jpeg" id="kuchie-001" href="image/kuchie-001.jpg"/>
<item media-type="image/jpeg" id="img-001" href="image/img-001.jpg"/>
<item media-type="image/jpeg" id="img-002" href="image/img-002.jpg"/>
<item media-type="image/png" id="gaiji" href="image/gaiji.png"/>

<!-- xhtml -->
<item media-type="application/xhtml+xml" id="p-cover" href="xhtml/p-cover.xhtml" properties="svg"/>
<item media-type="application/xhtml+xml" id="p-fmatter-001" href="xhtml/p-fmatter-001.xhtml" properties="svg"/>
<item media-type="application/xhtml+xml" id="p-titlepage" href="xhtml/p-titlepage.xhtml"/>
<item media-type="application/xhtml+xml" id="p-caution" href="xhtml/p-caution.xhtml"/>
<item media-type="application/xhtml+xml" id="p-toc" href="xhtml/p-toc.xhtml"/>
<item media-type="application/xhtml+xml" id="p-001" href="xhtml/p-001.xhtml"/>
<item media-type="application/xhtml+xml" id="p-002" href="xhtml/p-002.xhtml"/>
<item media-type="application/xhtml+xml" id="p-003" href="xhtml/p-003.xhtml"/>
<item media-type="application/xhtml+xml" id="p-004" href="xhtml/p-004.xhtml"/>
<item media-type="application/xhtml+xml" id="p-005" href="xhtml/p-005.xhtml"/>
<item media-type="application/xhtml+xml" id="p-006" href="xhtml/p-006.xhtml"/>
<item media-type="application/xhtml+xml" id="p-007" href="xhtml/p-007.xhtml"/>
<item media-type="application/xhtml+xml" id="p-008" href="xhtml/p-008.xhtml"/>
<item media-type="application/xhtml+xml" id="p-009" href="xhtml/p-009.xhtml"/>
<item media-type="application/xhtml+xml" id="p-010" href="xhtml/p-010.xhtml"/>
<item media-type="application/xhtml+xml" id="p-011" href="xhtml/p-011.xhtml"/>
<item media-type="application/xhtml+xml" id="p-012" href="xhtml/p-012.xhtml"/>
<item media-type="application/xhtml+xml" id="p-013" href="xhtml/p-013.xhtml"/>
<item media-type="application/xhtml+xml" id="p-colophon" href="xhtml/p-colophon.xhtml"/>

<!-- font -->
<item media-type="application/vnd.ms-opentype" href="font/notosthai.otf" id="_source.otf" />

</manifest>

<spine page-progression-direction="rtl">
<itemref linear="yes" idref="p-cover" properties="rendition:layout-pre-paginated
rendition:spread-none
rendition:page-spread-center"/>
<itemref linear="yes" idref="p-fmatter-001" properties="rendition:layout-pre-paginated
rendition:spread-auto
page-spread-left"/>
<itemref linear="yes" idref="p-titlepage" properties="page-spread-left"/>
<itemref linear="yes" idref="p-caution" properties="page-spread-left"/>
<itemref linear="yes" idref="p-toc" properties="page-spread-left"/>
<itemref linear="yes" idref="p-001" properties="page-spread-left"/>
<itemref linear="yes" idref="p-002" properties="page-spread-left"/>
<itemref linear="yes" idref="p-003" properties="page-spread-left"/>
<itemref linear="yes" idref="p-004"/>
<itemref linear="yes" idref="p-005"/>
<itemref linear="yes" idref="p-006"/>
<itemref linear="yes" idref="p-007"/>
<itemref linear="yes" idref="p-008"/>
<itemref linear="yes" idref="p-009"/>
<itemref linear="yes" idref="p-010"/>
<itemref linear="yes" idref="p-011"/>
<itemref linear="yes" idref="p-012"/>
<itemref linear="yes" idref="p-013"/>
<itemref linear="yes" idref="p-colophon" properties="page-spread-left"/>

</spine>

</package>
Loading

0 comments on commit 8034943

Please sign in to comment.