Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epubcheck Error #343

Open
nekyu638neko2net opened this issue Jan 6, 2020 · 1 comment
Open

Epubcheck Error #343

nekyu638neko2net opened this issue Jan 6, 2020 · 1 comment

Comments

@nekyu638neko2net
Copy link

Error

nav.xhtml

Epubでは、liの後にすぐ使えるのは、aとspanだけだから

<nav xmlns:epub="http://www.idpf.org/2007/ops" epub:type="toc">
<h1>作品名</h1>
<ol>
<li>
    <a href="title.xhtml">タイトルページ</a>
    </li>
<li>
    <a href="arasuji.xhtml">あらすじ</a>
    </li>
<li>
    <a href="0002.xhtml">章題</a>
            <ol>
                            <li>
                    <a href="0003.xhtml">話名</a>
                </li>
                            <li>
                    <a href="0004.xhtml">話名</a>
                </li>
                    </ol>
    </li>
<li>
    <a href="0005.xhtml">章題</a>

となってなければいけないのに、実際は

	<nav epub:type="toc" id="toc">
		<h1>目 次</h1>
		<ol>
			<li class="chapter" id="toc1"><a href="title.xhtml">作品名</a></li>
			<li class="chapter" id="toc2"><a href="0002.xhtml">グループ名</a></li>
		<li><ol>
			<li class="chapter" id="toc3"><a href="0003.xhtml">話名</a></li>
			<li class="chapter" id="toc4"><a href="0004.xhtml">話名</a></li>
		</ol></li>

とolが/liとliの間に定義されてるからエラーが出てる。

Caution

nav.xhtmlとtoc.ncxは目次ページ扱いだから本文ページ同様tcyでの縦中横の指定が必要

@whiteleaf7
Copy link
Owner

Kindle端末では特に問題ないので特に直す気はないです
気になるなら直してPRしてください

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants