Skip to content

Commit

Permalink
移除epub檔,改用epubcheck從原始碼產生最後版本
Browse files Browse the repository at this point in the history
  • Loading branch information
jamessa committed Mar 6, 2019
1 parent 35a6e2e commit a4e3d92
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.epub
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@ EPUB 3內使用HTML5與CSS3等網頁技術,各作業系統與瀏覽器組版
最終希望海內外各販售平台在提供閱讀程式時,能夠滿足本文件中的各項需求,以能夠完整呈現出版社所製作出的EPUB 3電子書,減少針對不同平台修改、調整的麻煩,降低書檔流通的障礙,讓電子書流通更為穩定確實。

本文件依照IDPF所公布的EPUB 3.01規範為基礎,並且EPUB 3.1規範。規範中未普遍實作,但為出版社重要需求的部分以附件提出,希望能取得海內外閱讀程式開發商的共識,作為添補修正。

###

要產生 epub 檔

```
epubcheck [目錄名稱] -mode exp -save
```
3 changes: 3 additions & 0 deletions pack-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

find samples/ ! -name 'style_template' -maxdepth 1 -mindepth 1 -type d -print | xargs -I '{}' epubcheck "{}" -mode exp -save
Binary file removed samples/EPUB FXL sample.epub
Binary file not shown.
Binary file removed samples/EPUB reflow sample_橫排.epub
Binary file not shown.
Binary file removed samples/EPUB reflow sample_直排.epub
Binary file not shown.
Binary file removed samples/台灣EPUB 3製作指引.epub
Binary file not shown.

0 comments on commit a4e3d92

Please sign in to comment.