View Single Post
Old 12-02-2022, 03:31 PM   #3
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,598
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Pargeo View Post
Hello,

I use Sigil to fine tune epubs created from MS Word documents using Pages.
Normally I create an epub without cover and without TOC & embedded fonts and then add this in Sigil if needed.
The only thing I cannot achieve is to create an 'inline' TOC (i.e. a TOC that appears as a normal text in front / at the end of the book - not sure I've used a correct term) without line numbers.
The TOC accessible through a TOC button does not contain any numbers, but the former does contain them and I don't want them! How can I make Sigil not to insert them in its TOC, without using ol list-style-type: none code in the stylesheet (I may need an ol working properly in my book).
Sigil's default, empty Epub3 should show you how to style a NAV document (required by epub3 and also required by spec to be a list), so that the numbers are hidden.

Quote:
Originally Posted by Pargeo View Post
without using ol list-style-type: none code in the stylesheet (I may need an ol working properly in my book).
Using "list-style-type: none" is the proper way to do it. There's no reason that it would have to hide the numbers in every ordered list throughout your entire book. That's why Sigil's default is to create a sgc-nav.css file that is only linked to the NAV and not all xhtml files.

You could also inline "list-style-type: none" in the header of the NAV to limit its influence.

Last edited by DiapDealer; 12-02-2022 at 03:34 PM.
DiapDealer is offline   Reply With Quote