Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-04-2014, 02:49 PM   #1
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Using heading styles for title page

Apart from their not being elegant, is there any downside to using <h1>, <h2> etc heads on the title page? I appreciate that they will then be inhaled into the virtual table of contents, but it's a matter of seconds to get them out of there. At the present I have a parallel set of styles for the title page and for the occasional heading that doesn't have to be in the TOC, but life would be easier without that accretion.
Notjohn is offline   Reply With Quote
Old 07-05-2014, 11:55 AM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
h1 and h2 are definable to make them appear however you want them to be. They will be at the top of the hierarchy of the book, so if you are using them just for display why don't you just define a couple of classes which do what they do without confusing what is important in the order of the book.
mrmikel is offline   Reply With Quote
Advert
Old 07-05-2014, 06:44 PM   #3
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
I tossed this same issue over in my mind for several months before deciding that it would probably be cleaner to make a special style sheet *just for* the title page, that was only used in that one place. Likewise, there could be a special stylesheet for the cover, the copyright page, a colophon page, for a library of congress card suggestion, etc., to be used only if needed. If you make each of the sections (cover, title, copyright, text chapter) separate files in the epub, there's no requirement that the stylesheets don't conflict with each other, since they're used in only one place. The major stylesheet would cover (separately) the traditional headings, chapters, paragraphs, white space of the main part of the book without concern for the head material. Seems like a good division of labor to me.
signum is offline   Reply With Quote
Old 07-05-2014, 07:02 PM   #4
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,466
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Notjohn View Post
Apart from their not being elegant, is there any downside to using <h1>, <h2> etc heads on the title page? I appreciate that they will then be inhaled into the virtual table of contents, but it's a matter of seconds to get them out of there. At the present I have a parallel set of styles for the title page and for the occasional heading that doesn't have to be in the TOC, but life would be easier without that accretion.
nj:

Don't forget, styles are NOT about how they look, really; they are structural. When you use styles, think about what something IS, not what it looks like.

If you don't intend to use the title page as part of your book's structure, then you should indeed continue to use the parallel styles--it's the better and cleaner way to do it. And remember, while you think of it being "seconds to get them out of there," it's not, really--that won't come out of the NCX, and will indeed affect how the NCX displays (or doesn't) in various devices. If you use an ePUB with that in it for mobi-creation, you could run into display issues on those devices/readers that use the NCX for the displayed MOBI, rather than the toc.html.

FWIW.

Hitch
Hitch is offline   Reply With Quote
Old 07-08-2014, 01:24 PM   #5
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
I was afraid of that!

Thank you all.
Notjohn is offline   Reply With Quote
Advert
Old 07-09-2014, 06:16 AM   #6
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Signum, I like your idea, if for no other reason than it avoids making inadvertent changes which you are editing the main stylesheet.

When you edit the title page stylesheet, you know that that is the only place that will be affected. Likewise, the main stylesheet won't affect the title page. You can also put in more extravagant paragraph spacing, etc.
mrmikel is offline   Reply With Quote
Old 07-09-2014, 01:16 PM   #7
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
You said it better than I could. In system design, this is called "uncoupling," to reduce unintended side effects among different parts of a system. In this case, using only a single stylesheet for everything couples them together. Changing the stylesheet changes everything. Using separate stylesheets uncouples changes done in one part from affecting other parts.
signum is offline   Reply With Quote
Old 07-25-2014, 10:46 AM   #8
zonker
Member
zonker began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2014
Location: Italy
Device: kindle
couldn't you also use class to avoid "side effects"? for example "div.title" or "p.colophon"?
zonker is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Docx to mobi (Extra space over the heading/title) zonoiko Conversion 0 12-04-2013 08:04 PM
Modifying H1-H6 Heading Styles townsend Sigil 13 05-05-2013 05:17 PM
Heading 1 page break not recognised moonwatcher Calibre 3 01-19-2013 08:32 AM
Keyboard shortcuts for heading styles? Tryphan Sigil 4 09-26-2011 06:54 AM
Styles for book title and highest level sections amoroso Sigil 12 07-26-2010 10:41 AM


All times are GMT -4. The time now is 10:21 AM.


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