View Single Post
Old 03-11-2022, 06:55 AM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jesson345 View Post
1,I think the best way is modify css to meet your requirements。Both calibre or sigil can do it,you dont need the KOBOTOUCH add-on.
The problem with that statement is that the KoboTouch driver is built into calibre and is needed. Editing the book to achieve the desired effects is the right thing, but, the question was really what changes to make.
Quote:
2,Epubs css can be well supported by Kobos default setting,except for one thing:Multi fonts support。you must turn on it in line 432 of libnickel.so.1.0.0.yaml file.

Un-Force user font-family in KePubs:
- Enabled: yes
I don't use patches, but, as the OP does not have access to the KoboTouchExtended driver, they won't be sending books as kepubs. In which case, that patch won't do a thing.


@fabianmoreno01:

The only way to guarantee that each poem starts on their own page is to split them into separate files. This can be done in the calibre editor. If all the poems are in a single file, open the file, right click in the text and select the "Split at multiple locations". Then you need to enter where the split is to take place. There are some examples. But, if the poem titles are a heading, then this could be "//h:h2" where you replace the "2" with the heading level used. Sigil should have something similar.

For widows and orphans, there are a couple of ways to do it. If you are editing the book, then you can add "widows:1;orphans1" to the class for the paragraph text. Or you can do it in the config file on the device by adding the following lines into the "Reading" section:

Code:
readingAdobeOrphans=1
readingAdobeWidows=1
That will set the default widows and orphans for all books. But, it can be overriden. If you do put kepubs on the device, they do not do widows and orphans handling so nothing is needed.
davidfor is offline   Reply With Quote