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

official theme: theme-gutenberg #32

Merged
merged 4 commits into from
Nov 5, 2021
Merged

official theme: theme-gutenberg #32

merged 4 commits into from
Nov 5, 2021

Conversation

yamasy1549
Copy link
Member

#16 欧文用テーマ theme-gutenberg を作る

@yamasy1549 yamasy1549 self-assigned this Apr 6, 2021
@yamasy1549 yamasy1549 force-pushed the theme-gutenberg branch 5 times, most recently from 1fc3b6c to cf84b55 Compare April 8, 2021 12:07
@yamasy1549 yamasy1549 marked this pull request as ready for review April 8, 2021 12:10
@yamasy1549
Copy link
Member Author

#34 (comment) より

この theme を使って、新しい作品をマークダウンで書く、あるいは既存のテキスト(たとえば Project Gutenberg の作品のテキスト版、 http://www.gutenberg.org/files/11/11-0.txt など)に Markdown 記法を見出しなどに加えるとこの theme でちゃんとした欧文小説の体裁になるというほうが意味があるだろうと思います。

@MurakamiShinyu
Copy link
Member

サンプルのAlice.htmlをテストして気がついた vivliostyle.js のバグを修正しました:

@yamasy1549
Copy link
Member Author

yamasy1549 commented Oct 2, 2021

サンプルのAlice, Fang, Sherlock の見た目に合わせています。

3種類の example を1つの長い出版物にするのは無理があったので、vivliostyle.config.js のこの部分で alice fang sherlock を切り替えるようにしています。

const config = require('./config/alice/vivliostyle.config.js');

image

@yamasy1549
Copy link
Member Author

メモ:目次自動生成機能を使っているのですが、目次に表紙ページ (Cover; p.1) が含まれてしまってあまりきれいではありません。
vivliostyle/vivliostyle-cli#200

image

@yamasy1549
Copy link
Member Author

@MurakamiShinyu 確認お願いします 🙏

@yamasy1549
Copy link
Member Author

テーマ名は #56 で議論中だが、公式テーマの命名ルールが決まるまではこの名前で良いと思います。

Copy link
Member

@MurakamiShinyu MurakamiShinyu left a comment

Choose a reason for hiding this comment

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

ありがとうございます。
目次について
// TODO: vivliostyle/vivliostyle-cli#200
の課題が残りますが、CLIのほうで検討して解決したら更新、見直しをしていくのでよいでしょう

@yamasy1549 yamasy1549 merged commit 8f485e5 into master Nov 5, 2021
@yamasy1549 yamasy1549 deleted the theme-gutenberg branch November 5, 2021 07:52
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.

2 participants