View Single Post
Old 11-17-2024, 12:43 AM   #12
Jaws
JCL Punch-Card Collector
Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 76
Karma: 34468
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Quote:
Originally Posted by wildchild1954 View Post
I have Calibre 7.20 and everytime I convert something to epub it changes my indentation. I have attached screen shots to show what it should look like but doesn't as Calibre always indents those first paragraphs. Since I do a lot of converting I would like something that I can set and will do automatically when I convert.



I've looked at the photos above, and I want to clarify something:

I think you're saying that these photos are of the source book, and you want the converted book to maintain its indenting, correct? First paragraph after a section break has no indent, all subsequent paragraphs have an indent — a fairly standard old-school typographical style.

I've done a lot of converting of European texts from university presses and scientific-technical-reference publishers (in multiple languages), and I've found the results also unpredictable — because the publishers are inconsistent more than anything else. It's especially bad with books that originated in Quark, or were processed from Quark sources through LaTex, and then ended up as either .pdf or .mobi-family files to work from. (I don't have enough data for any other pathway.)

Try to ensure that there's a different style in the stylesheet.css (or whatever the publisher renamed it) for the first paragraph after section break, and then manually-if-necessary make sure that paragraph style is used for those and only those paragraphs. (Searching for the section break is fastest, however it's coded — sometimes the source file represents dingbats like the section mark in your photo as .jpg or .gif graphics, sometimes it's a character in a dingbat font, if they don't already have a separate style.) Often, it's only necessary to change the stylesheet entry for that class, changing
text-indent: 1.5em;
(the default, unless you've changed it in Calibre's own options) to
text-indent: 0;

This problem is not caused by Calibre. This problem is caused by the publishing industry (and the publishing-software vendors) being completely unable to conform to internal-coding standards in order to achieve output. It could be worse than just running narrative text, too…
Jaws is offline   Reply With Quote