07-21-2020, 04:48 PM | #46 | |
Resident Curmudgeon
Posts: 74,304
Karma: 129333566
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-21-2020, 07:22 PM | #47 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I don’t, as I like Sigil more for this, but I will look into this (though I prefer strong and em, likely another ball of wax we don’t need to dive into, lol). Thanks for the tip.
|
07-21-2020, 08:16 PM | #48 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
07-21-2020, 08:32 PM | #49 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
I sometimes do a similar Calibre EPUB->EPUB conversion to condense cruft too, making the code slightly more human-workable. Side Note: You may also be interested in a talk that's being given on July 26th, 2020 by the creator of pandoc: "Pandoc for TEXnicians" (John MacFarlane) https://www.tug.org/tug2020/program.html (TUG is the annual LaTeX conference. This year's is going to be fully free + online, and they'll also post the videos at a later date.) Summary is in the spoiler: Spoiler:
Quote:
<i>, <em> or <span> for italics? Especially see Post #67+ for all the juicy details. Now we'll never see it brought up again. Settled. Done. Finito. Last edited by Tex2002ans; 07-21-2020 at 08:44 PM. |
||
07-21-2020, 08:38 PM | #50 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Lol. I remember lurking this. Hence my tongue in cheek comment.
|
07-21-2020, 08:43 PM | #51 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
07-21-2020, 09:07 PM | #52 |
Resident Curmudgeon
Posts: 74,304
Karma: 129333566
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
delete post
|
07-21-2020, 09:08 PM | #53 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Thank you! I have wanted for some time to roll latex into my workflow. Usually tell myself it is impractical due to the arbitrary things folks want. Talk may not change that impracticality, but I bet it will be interesting and useful nonetheless. I am glad I participated in this discussion!
|
07-21-2020, 09:17 PM | #54 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
11-11-2023, 12:04 PM | #55 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2023
Device: Kindle
|
You do not need to use Calibre, Sigil, Latex, CSS, or rock, paper, and scissors to fix this.
Create your Word file as usual. Don't add extra styles. Open InDesign. Place your file. Edit -> Find/Change Find What: ^p^p Change To: ^S^p Empty lines are defined by two para breaks. This replaces one with a non-breaking space. Problem solved. This works on single blank lines between paragraphs. If you have more than one blank line (I use one line all the time, but you probably shouldn't use more) it removes half of them. The solution to is to add a new style - maybe called Body Space. In Find/Change - Find Format: [Select your original paragraph style] Change Format: [Select your new spaced style] You can now set the before/after spacing on Body Space to whatever you want - with the caveat that Body Space is applied to the last line of text, not to the spaces. You can also search for some other number of para breaks - ^p^p^p^p etc - and handle them as you like. If you click the @s next to the Find/Change boxes you can enter any sequence of special/hidden characters and transform it how you want. |
11-11-2023, 01:04 PM | #56 | |
Resident Curmudgeon
Posts: 74,304
Karma: 129333566
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-11-2023, 03:18 PM | #57 |
Bibliophagist
Posts: 35,832
Karma: 145624992
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
11-11-2023, 03:30 PM | #58 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
- - - Well, if we want newer information on fixing the "ENTER ENTER" between paragraphs issue... I also wrote a tutorial 2 months ago for LibreOffice: Last edited by Tex2002ans; 11-11-2023 at 03:33 PM. |
||
11-11-2023, 03:43 PM | #59 |
A Hairy Wizard
Posts: 3,108
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Welcome to MR!
What you mentioned obviously works, but it is definitely NOT recommended to manually insert blank lines between paragraphs. That kind of styling breaks the functionality of most readers/devices. Instead, leave the spacing between paragraphs for the user to select via the reader/device settings. |
11-11-2023, 04:38 PM | #60 | |
Resident Curmudgeon
Posts: 74,304
Karma: 129333566
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Non-alpha characters not exporting properly to ePub from InDesign | forlor | ePub | 9 | 07-12-2013 02:02 AM |
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 12:13 AM |
Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 12:19 AM |
Insert Blank Lines Between Paragraphs | Timoleon | Calibre | 14 | 03-22-2009 02:43 PM |
Blank Lines | vivaldirules | Upload Help | 55 | 03-02-2009 03:17 PM |