Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-21-2020, 04:48 PM   #46
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by phillipgessert View Post
That’s what I meant by isolate them first. That’s exactly what I do. I think this is a situation where we talked about it so long that the context of my original comment got lost. The actual solution is to tie a ribbon around my finger, and my initial comment was made in case others need a ribbon too. It’s not actually that big a deal.
If you use Calibre, Diaps Editing Toolbag will really help turn those spans into <b>, <i>, and <b><i>.
JSWolf is offline   Reply With Quote
Old 07-21-2020, 07:22 PM   #47
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Thumbs up

Quote:
Originally Posted by JSWolf View Post
If you use Calibre, Diaps Editing Toolbag will really help turn those spans into <b>, <i>, and <b><i>.
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.
phillipgessert is offline   Reply With Quote
Advert
Old 07-21-2020, 08:16 PM   #48
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by phillipgessert View Post
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.
AGGHGHGHGHGHGHGGG!!! SHHHHHHHHH!!!!! Stop the madness before he curmudges again!

Hitch
Hitch is offline   Reply With Quote
Old 07-21-2020, 08:32 PM   #49
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by phillipgessert View Post
That’s what I meant by isolate them first. That’s exactly what I do. I think this is a situation where we talked about it so long that the context of my original comment got lost.
Your advice was perfectly fine. Pandoc is an okay tool.

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:
Sun, 26 Jul – 17:15 PM | John MacFarlane — UC Berkeley, Keynote address: Pandoc for TEXnicians

I will give an overview of the document conversion program pandoc, with an emphasis on how it might be useful to people who are already comfortable using LATEX to prepare documents. In the first part, I’ll discuss the use of pandoc to convert between LATEX and other common formats, including Microsoft Word docx and HTML. In the second part, I’ll give some reasons why even a seasoned TEXnician might want to consider writing documents in pandoc’s extended Markdown instead of LATEX, and I’ll teach some tricks that can be used to recover the tremendous power and flexibility of LATEX in this simpler idiom.


Quote:
Originally Posted by Hitch View Post
Quote:
Originally Posted by phillipgessert View Post
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.
AGGHGHGHGHGHGHGGG!!! SHHHHHHHHH!!!!! Stop the madness before he curmudges again!
It was already settled last month. The thread to end all threads!

<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.
Tex2002ans is offline   Reply With Quote
Old 07-21-2020, 08:38 PM   #50
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
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.
phillipgessert is offline   Reply With Quote
Advert
Old 07-21-2020, 08:43 PM   #51
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Whoops, you responded too quickly.

Make sure you check my previous post's edit. I added a pandoc thing you might be interested in.

Quote:
Originally Posted by phillipgessert View Post
Lol. I remember lurking this.
Sneaky, very sneaky.
Tex2002ans is offline   Reply With Quote
Old 07-21-2020, 09:07 PM   #52
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
delete post
JSWolf is offline   Reply With Quote
Old 07-21-2020, 09:08 PM   #53
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by Tex2002ans View Post
Whoops, you responded too quickly.

Make sure you check my previous post's edit. I added a pandoc thing you might be interested in.



Sneaky, very sneaky.
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!
phillipgessert is offline   Reply With Quote
Old 07-21-2020, 09:17 PM   #54
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by phillipgessert View Post
Thank you! [...] I am glad I participated in this discussion!


There's also one other talk that'll be of interest to the <i>/<em> people. I'll add it as a post in that topic.
Tex2002ans is offline   Reply With Quote
Old 11-11-2023, 12:04 PM   #55
TheoHobbes
Junior Member
TheoHobbes began at the beginning.
 
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.
TheoHobbes is offline   Reply With Quote
Old 11-11-2023, 01:04 PM   #56
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by TheoHobbes View Post
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.
If you have paragraph spaces, you want to get rid of them. They make for a terrible reading experience.
JSWolf is offline   Reply With Quote
Old 11-11-2023, 03:18 PM   #57
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by TheoHobbes View Post
You do not need to use Calibre, Sigil, Latex, CSS, or rock, paper, and scissors to fix this.

Spoiler:
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.
You did notice that this thread was started in 2009 and the last post before your post was in July 2020?

Necroposting is generally a lousy idea.
DNSB is offline   Reply With Quote
Old 11-11-2023, 03:30 PM   #58
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by TheoHobbes View Post
You do not need to use [...] rock, paper, and scissors to fix this.

Create your Word file as usual. Don't add extra styles.
Hey, TheoHobbes. Welcome to MobileRead.

Quote:
Originally Posted by DNSB View Post
You did notice that this thread was started in 2009 and the last post before your post was in July 2020?

Necroposting is generally a lousy idea.
But that was 14 years ago! The original poster has probably grown old and retired by now... all because they were anxiously waiting at their computer for an answer to their InDesign empty paragraphs problem!

- - -

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.
Tex2002ans is offline   Reply With Quote
Old 11-11-2023, 03:43 PM   #59
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,097
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.
Turtle91 is offline   Reply With Quote
Old 11-11-2023, 04:38 PM   #60
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Turtle91 View Post
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.
Kindles, Kobos, and nooks do not hve settings to adjust paragraph spaces. That said, IMHO, it's best not to have them. If an eBook I want to read has them, I will rmeove them as they are really annoying.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:31 PM.


MobileRead.com is a privately owned, operated and funded community.