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

EPUB3でspine内の静的目次の位置をPREDEFの後/CHAPSの前にする #840

Merged
merged 3 commits into from Oct 30, 2017

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Oct 3, 2017

Kindle版などでtoc: trueとしたときに配置される静的目次を、書籍の冒頭ではなく、一般的な書籍同様に前付の最後に置くようにします。

これ以上変えたいときは自己責任でフックでopfファイルを調整いただくということで。

@kmuto
Copy link
Owner Author

kmuto commented Oct 3, 2017

そういえば、作業中にContentの文字列表現も入れていたのだった。無駄ではないと思うのでこのままにしておきます。

@@ -29,6 +29,10 @@ class Content
# Chapter type (pre/post/part/nil(body))
attr_accessor :chaptype

def to_s
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これはto_sじゃなくてinspectの方がいいかも?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

おぉ、なるほど

@kmuto kmuto merged commit 6f6b611 into master Oct 30, 2017
@kmuto kmuto deleted the epub3_toc_loc branch October 30, 2017 00:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants