|  04-29-2016, 01:00 PM | #1 | 
| Fanatic            Posts: 514 Karma: 2954711 Join Date: May 2006 | 
				
				Why is it so hard to preserve blank lines?
			 
			
			I don't know why it is, but many of the e-book reading apps I've tried lately lose track of the blank lines I separate sections with in e-book files I create. Moon+ loses them, and Freda, and Bookviser Reader. Yet apps like Kobo and Nook don't have any trouble keeping them; ditto Google Play Books and iBooks. What's up with that?
		 | 
|   |   | 
|  04-29-2016, 01:18 PM | #2 | 
| Just a Yellow Smiley.            Posts: 19,161 Karma: 83862859 Join Date: Jul 2015 Location: Texas Device: K4, K5,  fire, kobo, galaxy | 
			
			How are you coding the line breaks and I think you posted in the wrong section.
		 | 
|   |   | 
|  04-29-2016, 02:31 PM | #3 | 
| Fanatic            Posts: 514 Karma: 2954711 Join Date: May 2006 | 
			
			By making them separate sections in Scrivener.  And I couldn't find any other forum that talked about e-reader apps from multiple platforms in one place (as this happens across both Windows and Android apps), so I figured "general" was the place to go. | 
|   |   | 
|  04-29-2016, 03:40 PM | #4 | 
| Just a Yellow Smiley.            Posts: 19,161 Karma: 83862859 Join Date: Jul 2015 Location: Texas Device: K4, K5,  fire, kobo, galaxy | 
			
			Ask in the writer's corner.
		 | 
|   |   | 
|  04-29-2016, 03:52 PM | #5 | 
| Fanatic            Posts: 514 Karma: 2954711 Join Date: May 2006 | 
			
			What would writers know about how e-reader programs are coded?
		 | 
|   |   | 
|  04-29-2016, 04:00 PM | #6 | 
| Just a Yellow Smiley.            Posts: 19,161 Karma: 83862859 Join Date: Jul 2015 Location: Texas Device: K4, K5,  fire, kobo, galaxy | 
			
			You said books you created so I assumed you were a writer. And because many writers use the program you mentioned. Let me yell for a geek or three that know more than I do. | 
|   |   | 
|  04-29-2016, 05:04 PM | #7 | 
| Resident Curmudgeon            Posts: 80,742 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			Because Kobo and Nook respect the CSS. Those other programs mentioned do not. Plain and simple.
		 | 
|   |   | 
|  04-29-2016, 05:41 PM | #8 | 
| Bookaholic            Posts: 14,391 Karma: 54969924 Join Date: Oct 2007 Location: Minnesota Device: iPad Mini 4, AuraHD, iPhone XR + | |
|   |   | 
|  04-29-2016, 06:22 PM | #9 | 
| Wizard            Posts: 3,168 Karma: 37800000 Join Date: Jan 2010 Location: Walton-on-Thames, Surrey, England, UK Device: Kindle Keyboard 3G, Kindle Fire 2, NOOK ST, Kindle HDX, Fire 7" | 
			
			Since you are talking about ePub the ePub forum might do ?
		 | 
|   |   | 
|  04-29-2016, 06:37 PM | #10 | 
| 350 Hoarder            Posts: 3,587 Karma: 8281267 Join Date: Dec 2010 Location: Midwest USA Device: Sony PRS-350, Kobo Glo & Glo HD, PW2 | 
			
			I got in the habit of adding a line that reads <p> </p> where I want a space and to make sure that space will not be removed, and everywhere I've seen, including Moon+ Reader Pro, it seems to work.   Moon+ has a setting to disable CSS, make sure that is not checked, maybe that's your only problem. Edit: Just wanted to add that my version of Moon+ Reader Pro is 3.5.0. Last edited by Ripplinger; 04-29-2016 at 06:53 PM. | 
|   |   | 
|  04-29-2016, 06:40 PM | #11 | 
| Evangelist            Posts: 407 Karma: 1096520 Join Date: Dec 2009 Device: back to x51v | |
|   |   | 
|  04-29-2016, 07:40 PM | #12 | 
| No Comment            Posts: 3,240 Karma: 23878043 Join Date: Jan 2012 Location: Australia Device: Kobo: Not just an eReader, it's an adventure! | 
			
			I put in something like: <p class="centre">* * *</p> or <p class="centre">———</p> since this is targeted at an ereader, this covers the situation where the 'blank' line is at the top or bottom of the page. The mdash method has the additional feature of not interfering with the existing asterisk scene breaks in the book. | 
|   |   | 
|  04-29-2016, 09:25 PM | #13 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | |
|   |   | 
|  04-30-2016, 02:08 AM | #14 | 
| Wizard            Posts: 4,520 Karma: 121692313 Join Date: Oct 2009 Location: Heemskerk, NL Device: PRS-T1, Kobo Touch, Kobo Aura | 
			
			It does not depend on Scrivener itself, but more how the blank line is coded into the ePUB. That can be done in various ways. The purists will insist you use margins to create a blank line and although they are correct, your reading program need to honor the stylesheet in order to represent it (btw, a reading program that does not honor stylesheets is a broken program in my book...). Another much used method is the empty paragraph. However, a lot of readers and reading programs will discard real empty paragraphs or paragraphs with only a space inside it (e.g. <br /> or <p> </p>. That is why you need to enter a special space inside it to work in all cases: <p> </p>. So, perhaps Scrivener has an output option for this, otherwise you need to check how it is put in the code and correct it there. | 
|   |   | 
|  04-30-2016, 06:25 AM | #15 | |
| Addict            Posts: 310 Karma: 2025434 Join Date: Oct 2009 Device: Lumia 950 Phone | Quote: 
 If you don't want to start messing about with margins, then probably your best bet is to use the Freda settings: line break after para = no force indent = yes remove blank lines = no This should mean that any place you actually insert a line break (element "<br>") in your file, you will see a line break. Paragraphs will not have space inserted between them, but the first line of each paragraph will be indented. Do let me know how you get on, and by all means send me some sample files and style sheets, if you'd like me to check what exactly Freda is doing with them, and to fix the program in any places where it is doing the wrong thing. | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| blank lines between paragraphs | franklekens | Kobo Reader | 71 | 01-26-2015 12:52 PM | 
| Blank Lines In Code | SeaCanary | Sigil | 3 | 01-22-2014 08:51 PM | 
| Blank Lines | jreidu | Workshop | 2 | 07-20-2011 05:11 AM | 
| 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 |