|
|
Thread Tools | Search this Thread |
04-05-2017, 12:15 AM | #16 | |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
Quote:
I do try the file in various apps and it looks alright so far, but if people ultimately tells me it fails on several platforms I'll have to pay somebody to fix it. |
|
04-05-2017, 01:03 AM | #17 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
May I get back to my initial empty line-question?
I still have a line that I'd like to add some bottom space to (or just add an empty line to, if possible). But it's not a style per se, so there's no option to modify the margin-bottom. It looks like this: <p class="Body-Text-3 ParaOverride-1"><span class="CharOverride-1"> snipped text </span></p> I tried to add some code that I found in this forum:<p class="Ebook"> </p> And it worked -- but I got a very dramatic response from http://validator.idpf.org. I also tried a <br> again, but with the same result... Please let me know if I ask too many questions. EDIT: I think I found a way: I located another chunk of text that had the right amount of space around it (and also had an actual css-style attached to it), so I copied the surrounding code, pasted it around the problem and then added its corresponding style to the chapter, e.g: <link href="css/idGeneratedStyles_6.css" rel="stylesheet" type="text/css" /> That actually seems to work, and it's also accepted by Validator. So I hope it won't be an issue later on... Last edited by Just some guy; 04-05-2017 at 01:33 AM. |
04-05-2017, 04:32 AM | #18 | |
Well trained by Cats
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I have run across (personal use) K4 issues with mis-matched @font and the actual font @font called for font-style Normal, font was Italic (was a display font) Font displayed fine in the editor. Was straight on the K4 until I fixed the @font style I never won getting K4 to use the actual font face (a Google fonts download) |
|
04-05-2017, 04:37 AM | #19 | |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Here is some neat code. body { widows: 1; orphans: 1; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: justify; } p { margin-top: .3em; margin-bottom: 0; text-indent: 1.2em } .noindent { text-indent: 0; } <p class="noindent">Start of the text</p> <p>Some text</p> <p>Some more text</p> <p>Even more text but <i>some are in italics</i></p> Now notice that you are getting a .3em paragraph space without the crud. All you have to do is change the margin in <p> in order to change the space. Last edited by JSWolf; 04-05-2017 at 04:44 AM. |
|
04-05-2017, 05:55 AM | #20 | |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
Quote:
I wonder if I could ask a somewhat related question here ... I had a line of text that included empty spaces, like: "asdfkl sdfkjsdfl," but the spaces disappeared somewhere between InDesign and Calibre. Is there any way of adding empty spaces between two characters? It's not the end of the world if it can't be done; it would just be nice. As a work-around, I tried to change the text color into white, but then I realized I would need two styles within one line, because some characters would need to remain black, and I couldn't figure out how to do that. (Also, I assume that some people might read the book in some kind of reverse 'night-mode' which would expose my 'invisible' characters as white nonsense...) |
|
04-05-2017, 05:59 AM | #21 | |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
Quote:
|
|
04-05-2017, 11:14 AM | #22 | |
Well trained by Cats
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Jon's Stylesheet is plain SIMPLE. (Arnold at Webscriptions (Baen), used a similar one for years) There is a lot to be said about K I S S |
|
04-05-2017, 11:37 AM | #23 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Just to note that if you have questions about ebook formatting, rather than using Calibre's editor, you'd be much better off (ie more people likely to help you) asking them in the "ePub" or "Kindle Formats" forum sections rather than here.
|
04-05-2017, 10:06 PM | #24 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
|
04-05-2017, 10:08 PM | #25 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
Thank you, HarryT. I've learned a lot here, but I'll try the ePUb section, too!
|
04-05-2017, 10:28 PM | #26 | |
null operator (he/him)
Posts: 20,550
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If you want this thread moved there, click the '!' to the right of the 'KARMA' button on your opening post, and leave a message that you'd like the thread moved to the epub forum. BR Last edited by BetterRed; 04-05-2017 at 10:46 PM. |
|
04-05-2017, 11:29 PM | #27 | |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
Quote:
|
|
04-06-2017, 01:08 AM | #28 |
null operator (he/him)
Posts: 20,550
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
That'll be OK, I was worried you might cut and paste your original post in it's entirety.
Sometimes it's better to start separate threads for different questions, multi-threaded threads can be a bit hard to follow if you're not involved in the conversation, especially for those who find the thread via a search years later. BR |
04-06-2017, 10:00 PM | #29 | |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: none
|
Quote:
Awesome Gertrude Stein quote, btw. |
|
04-08-2017, 04:29 AM | #30 |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's not that you should not have asked the second question here. It's that you should have started a new message for the second question.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there an easy way to increase the letter-spacing in a font? | doubleshuffle | Workshop | 6 | 07-12-2016 03:40 PM |
blank lines between paragraphs | franklekens | Kobo Reader | 71 | 01-26-2015 12:52 PM |
Spacing between paragraphs not converting | beccas716 | Conversion | 4 | 10-11-2013 10:25 AM |
Should there be any empty lines or paragraphs | fructal | Sigil | 3 | 07-13-2012 04:07 AM |