Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-06-2025, 05:47 PM   #1
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
1,000% a newbie

It's my first time trying this, and I'm stuck at one spot.

I am following instructions to creat a CSS, where I inserted this:
img {width: 100%;}
h1 {page-break-before: always;}

Next, I'm supposed to insert it in the <head>

And this is where I'm kinda lost because it's not working. Is it supposed to look like this:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<link href="../Styles/Style0001.css" rel="stylesheet" type="text/css"/>

<title></title>
</head>


I'm thinking not since the damn thing doesn't work.

I just want each chapter to start on a fresh page.

Can someone help?

Thanks

I am following this instruction:

Otherwise you can right-click on the Styles folder in the Book Browser pane and Add Blank Stylesheet. In the CSS file I put the following:

img {width: 100%;}
h1 {page-break-before: always;}
LordP is offline   Reply With Quote
Old 05-06-2025, 06:13 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,417
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The best way to have each chapter to start on a new page is to put each chapter in it's own file (chapter01.xhtml, chapter02.xhtml, ...).

As for linking the stylesheet to the html files? Select the html files, right click, click on Link stylesheets, check the box(es) beside the stylesheet(s) you want to link and click okay. Much easier than manual and error prone typing.
DNSB is offline   Reply With Quote
Advert
Old 05-06-2025, 07:14 PM   #3
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 455
Karma: 65460
Join Date: Jun 2011
Device: Kindle
@LordP, speaking to @DNSB's point about dedicating a new html/htm/xhtml file to each chapter, earlier versions of Sigil allowed the user to insert a kind of bookmark (<hr class="sigil_split_marker" />) into the html files and then Sigil would split all the files at the marker when you asked it to (by selecting "Split at Marker" from the Edit dropdown menu, or via keyboard shortcut).

I usually organize all the heading hierarchies first, and then split them using a regex search/replace that recognizes where to insert the split marker.

it looks like this:

Code:
Search:
(?<=</p>|</h[1-9]>)\s*<h([12])

Replace:
<hr class="sigil_split_marker" /><h\1
[It is looking for closing <p> or <h#> elements that are followed by either an <h1> or <h2> element, and inserting a split marker between them. Depending on how/where you like to creat pagebreaks, you may want to tweak this a bit for your needs.]

Can someone confirm that the "Insert Split Marker" functionality still exists in Sigil 2.xx?
ElMiko is offline   Reply With Quote
Old 05-06-2025, 08:08 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,417
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ElMiko View Post
Can someone confirm that the "Insert Split Marker" functionality still exists in Sigil 2.xx?
Yes, Split at Markers/F6 functionality still exists. Insert Split Marker does as well but I've never used it since using regex to insert the split marker is a lot easier than scrolling through the epub looking for places to split.
DNSB is offline   Reply With Quote
Old 05-06-2025, 08:13 PM   #5
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Oh Dear.

So much.

It will take me a day or two to get through this.

You guys know what you are saying, whereas I have to do searches to understand what you are saying.

My bad, I thought it was a simple enough question.

For example: As for linking the stylesheet to the html files? Select the html files, right click, click

I only have one HTML file.

Maybe if I had posted this link it would have been a better explanation of what I was trying to do:

https://robcubbon.com/create-kindle-...d-using-sigil/

Thanks for the tips. I will research this.
LordP is offline   Reply With Quote
Advert
Old 05-06-2025, 08:34 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,417
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
For one thing, any guide that mentions Book View is referring to older versions of Sigil (just looked at your link and it's from 2014). I seem to remember that Book View was removed 6 years ago and replaced by Page Edit after Sigil 0.9.14.

If you only have one HTML file, just right click on it and follow Link Stylesheets.

Perhaps I should ask what version of Sigil you are using? Hopefully, 2.4.2 at least.
DNSB is offline   Reply With Quote
Old 05-07-2025, 06:38 AM   #7
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Yes, I'm using v2.4.2

I tried what you said about following Link Stylesheets, and that worked great.

Now I have to figure out why everything is double spaced. ***Never mind, I forgot to remove all the " & # 160; ", the epub looks OK now.***

How does one actually make the epub? I have been using "Save As" but I'm not sure if it's the correct way to do it.

Thanks for the help.

One more thing. Can you suggest a different guide? Something a bit more recent?

Last edited by LordP; 05-07-2025 at 06:43 AM.
LordP is offline   Reply With Quote
Old 05-07-2025, 07:32 AM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,540
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I'd suggest "Quick and dirty ePub tutorial (version 3) by Pablo" but it too suffers from the drawback of beibng based on an older Sigil version,

See either https://wiki.mobileread.com/wiki/Pablo or https://www.mobileread.com/forums/sh...d.php?t=130390
PeterT is offline   Reply With Quote
Old 05-07-2025, 07:40 AM   #9
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by PeterT View Post
I'd suggest "Quick and dirty ePub tutorial (version 3) by Pablo" but it too suffers from the drawback of beibng based on an older Sigil version,

See either https://wiki.mobileread.com/wiki/Pablo or https://www.mobileread.com/forums/sh...d.php?t=130390
Thank you. I'll try those.
LordP is offline   Reply With Quote
Old 05-07-2025, 08:32 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by LordP View Post
How does one actually make the epub? I have been using "Save As" but I'm not sure if it's the correct way to do it.
You are always making the epub. Saving is the way you name/keep it. It will automatically use "Save As" the first time so you can name it. After that, you'd only need to use Save As if you want to keep different versions of the same epub.
DiapDealer is offline   Reply With Quote
Old 05-07-2025, 08:37 AM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm also disappointed that no one has mentioned the obvious Sigil User Guide.
DiapDealer is offline   Reply With Quote
Old 05-07-2025, 11:36 AM   #12
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by DiapDealer View Post
You are always making the epub. Saving is the way you name/keep it. It will automatically use "Save As" the first time so you can name it. After that, you'd only need to use Save As if you want to keep different versions of the same epub.
I have tried this so many ways that I was a bit lost.

I'm importing a DOCX document and it works just as you have said. I don't remember what else I tried - I think I tried an online conversion to HTML...maybe.

I like the Sigil manual you indicated, is it downloadable as a PDF?
LordP is offline   Reply With Quote
Old 05-07-2025, 02:00 PM   #13
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by LordP View Post
I like the Sigil manual you indicated, is it downloadable as a PDF?
Why is it that everybody's first question about a manual for an EPUB editor, is if there's a PDF version.

But no. It's not currently available in PDF. It IS available as a an EPUB, though. You can probably find a trivial way to convert it to PDF.

There's a big green button to download the latest User Guide in EPUB at the following location: https://sigil-ebook.com/sigil/guide/
DiapDealer is offline   Reply With Quote
Old 05-07-2025, 05:51 PM   #14
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by DiapDealer View Post
Why is it that everybody's first question about a manual for an EPUB editor, is if there's a PDF version.

But no. It's not currently available in PDF. It IS available as a an EPUB, though. You can probably find a trivial way to convert it to PDF.

There's a big green button to download the latest User Guide in EPUB at the following location: https://sigil-ebook.com/sigil/guide/
I have a huge 32" 4K HDR Monitor, and I can switch programs with the greatest of easy (because I built my own PC) - PDFs are a snooze for my system while running all sorts of other programs like MS Word & Sigil &&&&.

And yes, I can convert it, but the download was not apparent from the first link.

Frankly, I'm 75, retired, and bored. I was inspired by this place: https://bbebooksthailand.com/samples.html

The site has downloadable samples & CSS samples.

I honestly didn't realize how beautiful ebooks could look!!

I'm the guy who wrote a technical manual of over 600 pages for the company where I worked as tech support manager --- ALL in MS Word. In one document. Most of the content was not mine, but, man, it was a huge struggle, and I was very proud when I got it done, and it looked great.

I want to do the same for ebooks.

I have almost all the time in the world.

Thank you to everyone.
LordP is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spotify valued at $4,000,000,000 USD Top100EbooksRank Lounge 1 05-28-2012 02:06 AM
'The Help': 1,000,000 copy seller on Kindle RockdaMan News 61 08-23-2011 03:38 PM
Race to 1,000,000...pages read... snipenekkid General Discussions 16 03-05-2011 02:36 PM
2,000,000 free e-books from the 4th Annual World eBook Fair Sonist Deals and Resources (No Self-Promotion or Affiliate Links) 4 07-15-2009 11:31 PM


All times are GMT -4. The time now is 01:27 AM.


MobileRead.com is a privately owned, operated and funded community.