10-24-2013, 05:36 AM | #1 |
Wizard
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Selective paragraph indent
Luke, congratulations to your fantastic tool! I love it!
With OO is it possible to indent paragraphs (i. e. the first line of a paragraph). Works well, but typographically correct is to oppress indenting at the beginning of a new chapter, and I see no way to operate it generally, that means once for the whole document in my OO template. But, wow, creating an epub with your tool, I see that it creates not-indented first paragraphs after chapter beginning automagically! How do you control this? - Or, is there a way to anticipate it in OO itself? (Sure I can create separate css styles and apply them via Sigil etc., but this means hard manual work). Thanks for your answer! |
10-25-2013, 04:32 AM | #2 |
Writer2ePub creator
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
HI,
if you avoid blanks lines between headings and text, you'll get what you want… In the CSS is specified "p+p", so only a paragraph following another paragraph will be indented. If a paragraph is following an heading, it will be not indented… Obviously, if you leave a blank paragraph after the heading, that will be the non-indented paragraph Otherwise, if your first paragraph is following a non-heading style, you need to create a w2e_something style with no indent and apply it manually… Luke Last edited by eBookLuke; 10-25-2013 at 04:34 AM. |
10-25-2013, 05:00 AM | #3 |
Wizard
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
|
10-25-2013, 11:40 AM | #4 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
10-28-2013, 03:55 PM | #5 |
Wizard
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I tested it following your advise, and it really works fantasically. Thus, I economize a lot of work. Thank you once more!
|
10-31-2013, 03:46 AM | #6 |
Wizard
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Another question, Luke (at the risk to become a pain in your neck): In the produced epub, hyphenation often takes place (in the German variant) at the "most impossible" locations in the middle of a word, whereas they (mostly) do not in the OO template. Do I have to take care for some special settings in OO to achieve "smarter" hyphenation?
Mille grazie, Luke! I forgot to mention that, after creating the epub, I usually go through Sigil with it and convert it with Calibre. There are various options to set "smart hyphenation" that I use. But what I notice is that, in epubs not produced with your tool, the result is sometimes more satisfying. So my conclusion is that it could be the OO template that is responsible. Last edited by Leonatus; 10-31-2013 at 03:51 AM. |
10-31-2013, 10:58 AM | #7 | ||
Writer2ePub creator
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
First: Hyphenation is not handle in the EPUB file, but in the EPUB reading software. Second, the correct hyphenation is function of the language used, because the hyphenation rules change from a language to another. So, do you specify the right language in the metadata window of W2E? If your text is Italian, but you mark the text as German, the reading software will use German rules for hyphenation! Quote:
About Sigil, the latest versions make deep changes in the code, and sometimes introduce errors. Please uncheck "clean source code" in the preferences to avoid damages. Anyway, if you can send to me the two EPUB, the one as generated by W2E and the other reworked by Calibre I will check them for improvements… Thanks Luke |
||
10-31-2013, 03:54 PM | #8 | |||
Wizard
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Quote:
Quote:
Quote:
|
|||
10-31-2013, 04:22 PM | #9 |
Writer2ePub creator
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML- Paragraph indent w/ no spaces? Help please? | Joseph Picard | Workshop | 36 | 07-20-2012 12:35 PM |
Selective preprocess_regexps | dasp | Recipes | 3 | 12-06-2011 08:52 AM |
Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 12:43 AM |
Paragraph spaces in ePub to Mobi conversion disrupts indent formatting | markpearl | Conversion | 34 | 09-21-2011 02:42 PM |
Paragraph indent-size should not applied to centered paragraphs? | ShellShock | Calibre | 3 | 01-16-2010 11:54 AM |