Skip to content

Instantly share code, notes, and snippets.

@konn
Last active August 29, 2015 14:01
Show Gist options
  • Save konn/f2cf56f71de44ee242c8 to your computer and use it in GitHub Desktop.
Save konn/f2cf56f71de44ee242c8 to your computer and use it in GitHub Desktop.
$ epubcheck test.epub
PREDEF:
- preface.re
CHAPS:
- part1.re:
- ch01.re
- part2.re:
- ch02.re
# POSTDEF:
# - colo.re
//label[intro]
== はじめに
はじめない。
=== 次に
//label[intro_00000004]
次です。
//label[sec_bar]
== これが第二章
なるほど〜
=== の節
//label[bar_00000000]
hogehoge
= Colophon
奥津城
* {
font-family: serif;
font-style: normal;
}
//label[part_1]
= 物凄い第一部
//label[sec_foo]
第一部はすごい
//label[part_concurrent]
= 壮絶な第二部
//label[conc_00000002]
第二部も壮絶だ
//label[preface]
== まえがき
まえに書くからまえがきです。
=== 想定読者
SONY Reader
bookname: test
booktitle: Test for SONY Reader
aut: No Name
stylesheet: default.css
toclevel: 3
secnolevel: 2
epubversion: 2
htmlversion: 4
titlepage: true
mytoc: null
colophon: true
pygments: false
debug: null
flattoc: true
params: --stylesheet=default.css
Epubcheck Version 3.0.1
Validating against EPUB version 3.0
ERROR: test.epub/OEBPS/test-toc.html(15,20): element "ol" not allowed yet; expected element "a" or "span"
ERROR: test.epub/OEBPS/test-toc.html(23,20): element "ol" not allowed yet; expected element "a" or "span"
ERROR: test.epub/OEBPS/test-toc.html(30,20): element "ol" not allowed yet; expected element "a" or "span"
ERROR: test.epub/OEBPS/colophon.html(1,1): Content is not allowed in prolog.
ERROR: test.epub/OEBPS/colophon.html: Content is not allowed in prolog.
Check finished with warnings or errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment