![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 12048
Join Date: Feb 2014
Device: kobo aura hd
|
Sigil style and page break
Hi Guys!
I have just formatted my forst epub in Sigil, it is a great program I can say ![]() 1. I have a couple of things I dont get, where can I check the default style sheet (if I do not add a new one to styles) and modify it? 2. where could I get a full style css with all of the parameters which are necessary for a html section? 3. how could I insert page breaks inside chapters? Thx Cheers |
![]() |
![]() |
![]() |
#2 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,723
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Since ebooks are dynamically displayed page breaks are usually not required. However, you can force page breaks by assigning a style that contains the page-break-before or page-break-after properties. |
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The general consensus is that it would be better to have each chapter as a seperate XHTML file. You can easily split a file in Sigil.
Each XHTML file will start on a new page while reading and makes editing a lot easier. Also, older readers have a XHTML filesize limit of around 285k. Above that number the file will not load. |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
http://web.sigil.googlecode.com/git/...d_merging.html |
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 602
Karma: 1712372
Join Date: Feb 2013
Location: germany
Device: PocketBook Touch
|
Why inside a chapter?
You must forget the most things about paper printed texts. Ebooks are dynamik. You don't know the size of the chosen font, and not the sitze of the display. So you don't know how the text looks in the realitiy. (Your personal reader with the current configuration is not the whole world.) Obligatory page brakes between paragraphs are in ebooks a no go. (Wo don't speak about page breaks between chapters.) |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
If you must have fixed layout and exact page breaks, then epubs are not for you. You need a different format.
|
![]() |
![]() |
![]() |
#7 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 12048
Join Date: Feb 2014
Device: kobo aura hd
|
Thx guys, I will do css thing
The pages break is needed cause e.g. usually at the beggining of the book there is the title, several data like isbn etc, introduction, couple of recommendations from differetnt people and things like that. I want to have this on different pages, currently they are just one after the other and this way the first couple of sides are a bit "crowded". Or shall I place these things also in different files? |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I usually put that in different files, just be consistent.
|
![]() |
![]() |
![]() |
#9 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 602
Karma: 1712372
Join Date: Feb 2013
Location: germany
Device: PocketBook Touch
|
Quote:
This special pages (cover, titlepage etc.) at the beginning of a book are standard. It's the same as in printed books. And yes, most ebooks use extra files for them. It's easyer to handle, when you seperate the metainformations and the text part. Hint: Take an ebook you realy like (the layout) an open it with the editor. So you can see how it works. |
|
![]() |
![]() |
![]() |
#10 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 12048
Join Date: Feb 2014
Device: kobo aura hd
|
Actually currently I do not understand something again.
I have the ebook's style like this for every html page: Quote:
Is this okay or is it better if I have a style sheet? Cause this was it is really not needed. |
|
![]() |
![]() |
![]() |
#11 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
There is nothing wrong with doing it that way, but it is easier to look at and type if you make a class in your stylesheet something like
.parastyle {font-family: 'Times New Roman', serif; font-style: italic; margin: 0pt; text-indent: 0pt; padding-left: 195pt;"} and call up with <p class="parastyle"> If this is what you do for every paragraph, you can redefine paragraph in the stylesheet and then you just need <p>. If this is for your private use, then specifying Times New Roman is fine. If it is not just for you, then Times New Roman is a proprietary font for which you could pay a lot of money to use, and which is not found on every e-reader. |
![]() |
![]() |
![]() |
#12 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 12048
Join Date: Feb 2014
Device: kobo aura hd
|
ah thx for the additional times new roman info
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Style poetry - line break on verse | ramsaa | Sigil | 15 | 10-22-2013 04:28 PM |
Chapter break in Sigil 0.6.0? | Shortlass | Sigil | 7 | 11-03-2012 12:48 PM |
Break Document at Paragraph Style | BatGrfx | Writers' Corner | 2 | 09-10-2011 02:46 PM |
Sigil Style Sheets | crutledge | Sigil | 3 | 10-06-2010 08:48 AM |
Sigil et la feuille de style | roger64 | Software | 3 | 03-30-2010 09:23 PM |