![]() |
Need Help with Sigil Formatting
Hi! I am a newbie, working on my first epub and using Sigil. I need help finding a few things, like how to number pages, how to insert more blank space between paragraphs on a page which has only three short paragraphs, and how to insert "separators" within a chapter when a new chapter is not called for, but there is a change in scene.
Is there a user guide? Thanks so much - RatherBWriting |
The MR Wiki page has a lot of info for newbies.
I would highly recommend taking a couple hours and learning html and css styling. That will save you tons of effort later. You can also look at some of the books in our library to see how others have accomplished what you are looking for. Also, the Sigil forum has a lot of links that can help you with learning Sigil. |
Yes, there's a Sigil user guide, but you're going to need to ditch the concept of "pages" if you want to use Sigil to create a reflowable epub.
|
Thank you both! I have downloaded the user guide and will read it thoroughly.
I am not a stranger to html, having designed a website for my business (although it was many years ago) and more currently, an author's website. I am puzzled by the simple things that I cannot figure out! Do I not have to arrange page numbering? I want the prologue to use Roman numerals, and the Arabic numerals to begin with Chapter One. Thank you both for your help. RatherBWriting |
Quote:
|
Quote:
Sigil has a TOC (NCX) tool that builds from HTML Headers discovered. My convention is: H3 for all chapter-like sections H2 for Books with Parts or Multiple books I use H1 for the Bundle, otherwise I stick with the highest used You can use h4,h5, h6 for mid levels bearing in mind that some devices hate 3+ level nesting. You can also just place ID for anchors as a landing point. IMHO Just write a section, chapter each as a file, then order them in the book browser, Generate the TOC (NDX) and save (you can save at any time. Do learn to use a CSS linked to each section. Find a couple of EPUB you like the looks of, then examine the code. Sigil make finding the stylein in the CSS pretty easy find the 'style=blal" Right click it: Goto Link or style. Sigil will jump to the first definition (It is possible the Pub uses Cascading definitions, but that is not the most common) |
Thank you for your reply. I may have overstated the "newbie" part. I am no stranger to a style sheet, or to coding in general. The TOC was created with no problems. I have specific questions, such as how to override the css to allow for more space between paragraphs on a specific page of the book. Sigil has been great to use. My epub is nearly finished, but there are a few quirks that remain.
I did not know that an epub does not have "page numbers". That will have to wait until the paperback version! Thank you again for your help. RatherBWriting |
You do not "override" the css to create more space between paragraphs on a specific page (and again... the page you're referring to does not exist. The content you're envisioning as being on the same page could, in fact, be spread across multiple "screens" on a reader's device depending on their personal settings). You change the html to identify the specific paragraphs you want more space in between, and then you create more space between them by applying new styles to those particular elements in your stylesheet.
|
Hi, DiapDealer - thank you for your reply. (And I promise to stop using the word "page".) Your response makes perfect sense! I will take out my textbooks about CSS and figure this out.
I appreciate your help. These things can be quite frustrating, especially when I am 98% finished. RatherBWriting |
If you want certain paragraphs to be more widely spaced, create a css Style with a bigger margin-top value and apply it to the next paragraph.
Don't worry about page numbers in an eBook. Apart from chapter breaks, which guarantee a new 'page' we don't know when the screen will have filled up on any particular device with its own screen size and (user-adjustable) text size. When it comes to preparing a print edition, you'll doubtlessly be working in a page-based program that DOES give control over such things, and which takes care of page numbering automatically. |
example -
Code:
CSS: |
Just remember that an eBook is not a pBook and you cannot always expert the pBook format to work for an eBook. Make the eBook work as an eBook and do not try to duplicate the pBook format exactly.
For example, don't use chapter headers with overly large wasted space or offset text at a smaller size. Don't use paragraph spaces in the eBook as they don't work. Also, have the text full justified. But you only need to specify that once in the <body> class. Also, the main body text should not be given a font size so it an go with the default of 1em. Also, forget line-height as that doesn't work. Don't set a L/R margin. And don't embed fonts unless you have a need. Just trying to duplicate the fonts of the pBook doesn't work. I've seen way too many eBooks make these mistakes and need fixing. Here is a simple CSS that I ended up with after fixing the CSS. Code:
blockquote {Code:
<h2 class="chapter">Chapter One</h2> |
Quote:
Make sure that you are styling your book the way you want the book to look - but keep in mind that some of the opinions expressed in these forums come from people's experiences with different formats (eg really old style e-ink readers vs. new high definition large format tablets.) Make sure you take your target market's devices capabilities and limitations into account... |
Quote:
|
You can do it @Turtle91's way if you like. Easier to just define an alternative paragraph style.
Your EPUB code may be compatible with more devices if you ALWAYS give a <p> tag an explicit style. So define a "p.normal" style as well as a "p.extra_space_above" one. I agree with @JSWolf, white space is much more effective on the printed page than on screen. Don't fall into the trap of trying to make an eBook a fascimile of a well-designed printed page. It ain't going to happen! |
Quote:
I'm not going to argue about whether your opinions are right or wrong - they are your opinions and you are welcome to them. I might even agree with some of them. But you need to be careful when you are telling people that they must follow your opinions, when that is definitely not true. You certainly have experience with certain types of devices - and people would be foolish to disregard the experience of people on these forums. But please don't push your particular style preferences as a requirement. That's why I mentioned that the OP needs to adjust their style choices based on the target device's capabilities. |
Quote:
Quote:
Quote:
Quote:
|
Quote:
I, for one, am perfectly content with teaching someone the technicalities of how to do something (from a coding perspective) I personally don't think they should be doing in ebooks. I'm not the coding-standards/style police. There's no need for us to attempt to turn everyone new we meet into our epub-coding clones. |
Quote:
Quote:
2019: "Problem adding extra lines in text" :D But here's a simple answer: You could do it Turtle91's way, or you could create individual classes: HTML: Code:
<p>This is an example.</p>Code:
p.margintop {Quote:
And just a few months ago—in Post #8 of the same the thread—I already preemptively answered you: Quote:
Quote:
Like others have said, ebooks don't really have "pages". If you already have a Print book fully completed/designed, and you're trying to match "physical page #"<->"ebook page #", then there are plenty of topics discussing RPNs ("Real Page Numbers")... but I'd say that's a relatively advanced topic. |
My goodness. Thank you all for your input! I have spent my lunch hour reading through CSS tutorials online, and totally missed that the "margin-top" setting for the second paragraph would solve my problem. I will give this a try.
I want to thank you all for the helpful advice, links and suggestions, and for the courtesy and patience which you have all shown to a newcomer. RatherBWriting (wouldn't we all) |
Quote:
If formatting is used to try to duplicate the pBook version, then in a some cases, it doesn't work properly in all of those cases. For example, with a Kindle, most people never see embedded fonts because they don't select Publisher Font in the Aa menu. They just use whatever font they are happy reading with. |
As for a section break, I've changed how I do it. I do it with a simple HR
Code:
hr {Code:
<hr/> |
Thank you, everyone! I am very grateful for the information. I have a day job, so unfortunately, this is going to have to wait for a few days before I dive in, but I want you to know that I truly appreciate the help.
RatherBWriting |
| All times are GMT -4. The time now is 10:50 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.