|
|
#1 |
|
Junior Member
![]() ![]() Posts: 3
Karma: 110
Join Date: Jan 2014
Device: Kindle paperwhite
|
How to insert paragraph separators
Hi all, I'm trying to find a way to insert separators into e-books created with the converter (from txt files, mostly into .mobi format).
I have found one way of doing it: Add a line that only contains this: ---------- This is converted into a continuous horizontal line, which is fine for me. But there is a lot of wasted empty space after the line. Like this: ![]() I would like to pack text more tightly in order to get more text on the screen. So, is there any way to generate a similar horizontal line or other decent-looking separator element that is not followed by what is basically a blank line? |
|
|
|
|
|
#2 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
IMHO Paragraph Top (and bottom) Margins are the way to adjust the whitespace To code a ( device robust) 74% width HR, 1/2em whitespace (in book editor) Code:
usage: <hr class="hr74" />
Stylesheet: .hr74 {display block; margin: 0.5em 12%; text-align: center}
|
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() ![]() Posts: 3
Karma: 110
Join Date: Jan 2014
Device: Kindle paperwhite
|
Thanks.
Right now all I do is run this in the console: ebook-convert.exe "inputfile.txt" "outputfile.mobi" [+author, title, language] Ideally, I need a solution that involves just adding some command line options. I had a quick look at the documentation at http://manual.calibre-ebook.com/cli/ebook-convert.html The --remove-paragraph-spacing option seems to do the trick. I don't have my kindle at hand right now, but I think it will look OK. Maybe I will use --remove-paragraph-spacing-indent-size 0 to get rid of indents as well. BTW if I decide I want some spacing, just less than the original, am I out of luck? Because I can't see a command line option to specify paragraph spacing, just to eliminate it. |
|
|
|
|
|
#4 |
|
Junior Member
![]() ![]() Posts: 3
Karma: 110
Join Date: Jan 2014
Device: Kindle paperwhite
|
Update: --remove-paragraph-spacing --remove-paragraph-spacing-indent-size -1 gives exactly the output I was looking for.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| regex to add books; filenames with only underscores as separators | anandkarthikeyan | Library Management | 8 | 01-15-2014 12:46 PM |
| Can't insert SD card | channelswimmer | Barnes & Noble NOOK | 1 | 07-08-2013 04:50 PM |
| 0.6 best way to insert hyperlinks?? | phossler | Sigil | 16 | 11-21-2012 10:36 AM |
| Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 01:43 AM |
| Insert a Picture? | MickeyC | Feedback | 6 | 06-13-2011 01:39 PM |