![]() |
#1 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
![]()
0.9.20 on OS X 10.8.2
When I convert to AZW3, on Look & Feel I use: Remove spacing between paragraphs Insert blank line between paragraphs Indent size: 2.0 em (or 1.5) Line size: 1.0 em Justify text All five boxes checked on Filter Style Information This used to give me the substantial indents that I want. However, starting around the time "polishing" was added (which I cannot find), the indent setting is ignored. I don't know why the indent setting is being ignored after it worked for a long time. I don't know what I'm doing. Any suggestions would be appreciated. ![]() |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Jimbo
The Polishing Icon is not automatically added (?on existing installations?). Use Preferences: Toolbars to add 'The Brush' icon to your chosen bar |
![]() |
![]() |
![]() |
#3 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
Actually, maybe I don't need a full-blown test document yet. I am using Blue Griffon 1.6.1 to prepare an html file for importation into Calibre and subsequent conversion by Calibre to AZW3 format. Blue Griffon puts "<br>" at the end of each paragraph, "<br>" on a new line before each paragraph, and " " at the start of each paragraph. Apparently the latter is used to indent each paragraph. Does Calibre have a problem overriding " "?
P.S. FWIW, I deleted all occurrences of " " and there are no indents after conversion. I guess I'll gin up a lorem ipsit file after all. P.S.S. Indents are inserted at each "<p>" but not at any "<br>". Then again, the <br>s are either at the end of paragraphs or on new lines followed by the beginning of paragraphs on the next line. Last edited by Jimbo724; 02-26-2013 at 06:12 PM. |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You have 1 Paragraph Paragraphs start with a <p>, That is what Calibre indents You need to replace all < BR /> with </p> <p> to turn thos lines into individual paragraphs |
|
![]() |
![]() |
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You could use Sigil to load the HTML file. Then you can do the splits and message the HTML and edit the CSS.
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
Thanks duck and wolf. I did pretty much what you guys suggested, but I used a little utility called Balthisar Tidy to clean up the html, then I used TextWrangler to find & replace patterns that included the <br>s -- one pattern with <p>, another pattern with </p>. Balthisar Tidy was helpful in creating distinct patterns for one and the other.
FWIW, this is where I found Balthisar Tidy (free): http://www.balthisar.com/products/tidy I'm on a Mac. Better tools may exist for Windows. ... now if only I can remember what I did the next time I need to do it. (Set break-before-br to Yes, then replace a pattern including stuff BEFORE <br> with <p> and a pattern including stuff AFTER <br> with </p>. Replace "<br> blankline <p>" with "</p> blankline <p>" or something like that.) Last edited by Jimbo724; 02-26-2013 at 08:36 PM. |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
![]() |
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#10 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
In Sigil you can do your search/replace. You can edit the code and CSS and see your indents. |
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
That may be completely true. However, I do not feel comfortable with Sigil because of experiences where I would edit the wsyiwyg text and the changes would not be visible in the html code. Too strange for me.
That's just it; I'm not using the program that creates bad code. In general, I am starting with poor html and trying to clean it up. The Balthizar Tidy utility does a good job for me. BTW, Tidy has been around for a long time as open source; Balthizar Tidy is just one guy's free continuation of the project and works well for my limited purposes in cleaning up crappy code. FWIW. |
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for cleaning up the code I would convert to ePub and then work on cleaning up the code. It's a lot easier when the CSS is where most cleaning is done. |
|
![]() |
![]() |
![]() |
#13 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
|
Quote:
Starting with an ebook created from a lousy scan with little apparent proofreading, I would make simple textual edits in wysiwyg mode. When I would look at the source, the textual edits would not be visible in the source. For example, the misspelled word would still be present in the source even though it was changed in wysiwyg. Too strange for me. As much as possible, I need to edit at the wysiwyg level and rely on software to do all the mysterious code stuff at the source level. I don't have your knowledge of the code and CSS stuff. |
|
![]() |
![]() |
![]() |
#14 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,145
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've done editing in the book view and the changes are made in the code. I think you need to move to the Sigil forum and mention this issue there so someone can try to help.
Oh and are you using Windows XP? |
![]() |
![]() |
![]() |
#15 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
indent indentation |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion not working any more.... | rafikiphoto | Conversion | 1 | 01-10-2013 06:50 AM |
Indents and hanging indents in epub poetry | Derek R | ePub | 14 | 02-19-2012 04:43 AM |
Indents not working + CSS styles missing | virtual_ink | ePub | 1 | 07-04-2011 07:41 AM |
Conversion adds indents not in original input | snarkophilus | Conversion | 2 | 05-27-2011 09:14 PM |
Conversion is not working | mtravellerh | Calibre | 18 | 12-05-2009 07:08 AM |