|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2012
Device: iPad
|
Streamlining Blank Lines in InDesign
|
|
|
|
|
|
#2 | |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 501
Karma: 1169999
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
Quote:
I am not sure to understand correctly your problem (a piece of the text code will help), but why don't you just define in your CSS a default margin for <p>'s, and a new <p> class "bigSkipBefore", and you S&R your "[blankline]" marker with <p class="bigSkipBefore"> ? Last edited by AlPe; 08-24-2012 at 12:45 PM. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 765
Karma: 1144108
Join Date: Feb 2008
Device: Sony PRS-600, Fujitsu Stylistic ST-4121
|
Rework your InDesign styles so that there is no need for blank paragraphs and remove them.
|
|
|
|
|
|
#4 |
|
Enthusiast
![]() Posts: 35
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
|
InDesign is the best option for me to create epubs. It creates very clean code if used correctly. Not sure what AIPe's problem is with it. Maybe he/she could elaborate.
There is definitely a way to do the search/replace with GREP for this but I'm not even sure you need GREP since you've marked it so well. Just replace all instances of [blank line] with a nonbreaking space (and a hard return before or after to put it on it's own line if it isn't already). Use the special character drop-down to the right of the Change To field. All paragraphs that contain a nonbreaking space are valid in epub and show as a blank line. That would be the easiest way. If you don't want to use nonbreaking spaces, another way would be to use a script that looks for a style and then changes the style for the paragraph after it based on your input in a dialog box. To use this, you would change all the blank line paragraphs to a "blank line" style. Then use the script to find all of that style and change the one after it to a new style that includes some extra space before. The script is here. It costs $39. There's a free one out there that does the same thing but the site where I got it is giving a warning message about malware so I don't want recommend it right now. Also, www.indesignsecrets.com is a great source for using InDesign to make epubs. They have an epub forum and there are quite a few experts there who have helpful advice. One of the sites creators did a great InDesign to ePub video on Lynda.com. Her name is Anne-Marie Concepcion. She posts here occasionally.
__________________
Amy Gilbert Book Designer www.illuminated-pages.com |
|
|
|
|
|
#5 | |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 501
Karma: 1169999
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
My apologies in advance for the off-topic.
Quote:
But I agree that anyone should maximize her or his own objective function, and, you know, studying is harder and requires much more time* than just paying Adobe. * In my opinion, InDesign is not really a time-saver, because one should also count the time spent looking for the "hacks" needed to make InDesign produce what you want... Last edited by AlPe; 08-26-2012 at 02:28 PM. |
|
|
|
|
|
|
#6 |
|
Enthusiast
![]() Posts: 35
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
|
I also apologize for the off-topic post. This is in response to the post above:
Maybe what makes InDesign so ideal for me is that I (a) already have it so it doesn't cost me "hundreds of dollars" and (b) must do a print edition of almost every book I do anyway so I need to set them up in a page layout program to get the professional level typography I need. I don't "hack" InDesign to get it to do what I want but I do use a text editor when I'm all done to tweak the code. InDesign gets me 90% of the way there. It really speeds up the process. You do not need to pay for scripts to do regex S&R. InDesign has it built in. Not sure what you are talking about there. I've never bought a script for InDesign. There are hundreds of free ones out there and new ones popping up all the time to automate various processes. There are even a few people on forums that write custom ones for other users. It's a great community out there.
__________________
Amy Gilbert Book Designer www.illuminated-pages.com Last edited by amyg; 08-26-2012 at 08:02 PM. |
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Kindle for Mac 1.10.1
|
Thanks for thread. I have InDesign, and recently acquired Calibre as translation device for Kindle, which I downloaded as a test reader for things I write. So far "translation" is a murky sea, and I'd love success stories (if indeed such there be) as to inexpensive authoring software that makes layout less of a shoot-in-the-dark. My stuff is heavily dependent on precise placement of graphics and page breaks, which must be as carefully timed as the words I use.
|
|
|
|
|
|
#8 | ||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,795
Karma: 3644259
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
|
Quote:
Quote:
Note that Kindle, except the Kindle Fire, does not support ePub at all and Kindle mobi format has less control. Kindle Fire uses an ePub and then compiles it into KF8. PDF is still your best bet, but for Kindle you need to create a custom size page in indesign so it will look ok. Dale
__________________
Dale DePriest http://pages.suddenlink.net/dalede or http://daledepriest.wikispaces.com currently using an EZ Reader or a Literati or my iPad. Last edited by DaleDe; 08-29-2012 at 06:07 PM. |
||
|
|
|
|
|
#9 | |
|
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,694
Karma: 7585206
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook
|
Quote:
__________________
Everything in moderation.... except chocolate... and circumvention. |
|
|
|
|
|
|
#10 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2012
Device: iPad
|
Thanks for the feedback, everyone! The reason I needed additional 'blank lines' is because the novelist marked certain passages with additional space between them, and I was trying to preserve that (obviously line breaks are non-functioning, but I made progress with paragraph styles).
|
|
|
|
|
|
#11 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,669
Karma: 14544758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Quote:
Code:
.spacebreak {
margin-top: 2em;
margin-bottom: 0;
text-indent: 0
}
Code:
<p class="spacebreak">The start of the next section</p>
__________________
|
|
|
|
|
|
|
#12 |
|
Enthusiast
![]() Posts: 35
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
|
It should be pointed out that simply having blank space between paragraphs on an ebook will not sufficiently signify to the reader that there is a scene break if it happens to fall on a page break. You might consider having some characters there to indicate this instead of just blank space. Take a look at some professionally-published books to see how they've accomplished this. Sometimes it's 3 asterisks or bullets or tildes. The reason for this is that you can never know where the pages will break.
Also, realize that in novels, the paragraph after the blank space should not have the first line indented. JSWolf's example has it right (text-indent: 0).
__________________
Amy Gilbert Book Designer www.illuminated-pages.com |
|
|
|
|
|
#13 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,669
Karma: 14544758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Quote:
__________________
|
|
|
|
|
|
|
#14 | |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,196
Karma: 2508097
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
[QUOTE=amyg;2204668]It should be pointed out that simply having blank space between paragraphs on an ebook will not sufficiently signify to the reader that there is a scene break if it happens to fall on a page break.[quote]
It is, if the space is done with margin-top instead of margin-bottom. At least if the reader is compliant and does not throw away margins after a soft pagebreak... Otherwise, it can be done with a fixed-height <div> and page-break-after: avoid. Quote:
|
|
|
|
|
|
|
#15 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,669
Karma: 14544758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
But, in a pBook, they use a marker t show the section break (other then space) if the section break is at the end of the page. You cannot do that for an eBook. so the non-indented paragraph is what works.
__________________
|
|
|
|
![]() |
| Tags |
| blank line, epub, indesign |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blank Lines in MOBI-Conversion | ulrichbi | Conversion | 3 | 01-19-2012 04:50 AM |
| Blank Lines | jreidu | Workshop | 2 | 07-20-2011 05:11 AM |
| Exporting epub with InDesign: I lose blank lines! | tibiafry | ePub | 19 | 12-15-2010 07:21 PM |
| Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 12:19 AM |
| Blank Lines | vivaldirules | Upload Help | 55 | 03-02-2009 03:17 PM |