-
Notifications
You must be signed in to change notification settings - Fork 48
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
Use indented paragraphs instead of blank lines between paragraphs #55
Comments
This is a good suggestion. I'm a little hesitant to deviate too much from the original presentation. And I'm a bit disappointed that this kind of typesetting is required on a per-book basis (instead of done automatically by the e-reader's default stylesheet). But we should probably do it. Maybe with an option to turn it off. Skimming through my Kindle library, I see most are formatted in the way you suggest, with one instance where paragraphs were separated by a small additional margin on top of the line-spacing. (Maybe 0.2em or so.) I'll work on this when I work on #54, which is another instance of departing from the original presentation to become more book-like. |
This introduces arc title pages, and a hierarchical table of contents which nests the chapters under the arcs, powered by the new chapter-data/ files. The chapter titles are configurable, using the new --chapter-titles option explained in the README. Closes #54. As a side-effect, this introduces a style sheet included by all chapters and arc title pages. This will help with #55.
I gave this a quick try. It's not trivial. Your simple version works poorly with the already-indented sections. (The indents today use Note also how this uncovers a bad use (in the source) of I tried something a bit more sophisticated, of p:not([style]) {
margin: 0;
}
p:not([style]) + p:not([style]) {
text-indent: 1em;
} and it's OK: Even that worked very poorly in Ward Daybreak 1.8 until I added more missing indents. I'm a bit hesitant to pull the trigger though, without more testing. Hmm. |
These are all around indentation and paragraph breaks, and were spotted during work on #55.
These are all around indentation and paragraph breaks, and were spotted during work on #55.
This is just a suggestion, but the formatting of the original web novel is not ideal for an e-reader as there is a lot of wasted space. Print publications and e-books typically have no spacing in between paragraphs and instead delineate paragraphs with indents like so:
This greatly improves readability, especially in dialogue-heavy sections, and can be done fairly trivially by adding a stylesheet:
Traditionally the first paragraph in a chapter is not indented, but I haven't bothered with this for the few web novels I've reformatted since it requires per-chapter processing and I'm lazy. But for your project it may be worth doing as well.
The text was updated successfully, but these errors were encountered: