06-12-2020, 11:40 PM | #46 | |
Grand Sorcerer
Posts: 5,286
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
Isn't the existence of multiple tools that automatically map headers into TOC entries just a coincidental fluke? |
|
06-13-2020, 12:19 AM | #47 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
So, Jon finding two books that use p for headings isn't less statistically significant than a search showing that 93% of nearly 8,000 eBooks did use headings? ??? There's nothing "coincidental" about tools using headings--that's what they are meant to do. They are, again, hierarchal. Ever use Word? Ever use Word's built-in Outline View? (Which has existed since long before eBooks?) How does that work? By the use of heading styles, which creates a hierarchy, which you use a) for outlining and structure and b) to create--TOCs. There's not one damned thing coincidental or flukey about it. That's akin to saying that pregnancy is a coincidental flukey outcome around sex. Right? Or have I misunderstood your post? Hitch |
|
Advert | |
|
06-13-2020, 01:04 AM | #48 |
Evangelist
Posts: 482
Karma: 2267928
Join Date: Nov 2015
Device: none
|
ToCs are created manually, as the text content of the header and the ToC entry is different.
Headings are not used for ToCs as each header contains several paragraphs, with different formatting and positioning. Only primitive and amateuric books can use HTML built-in styles. |
06-13-2020, 02:30 AM | #49 | |||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Moreover, both W3C and DAISY recommend the use of h1..h6 tags: Quote:
Quote:
|
|||
06-13-2020, 04:13 AM | #50 | |
Resident Curmudgeon
Posts: 74,107
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
06-13-2020, 04:22 AM | #51 | |
Resident Curmudgeon
Posts: 74,107
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
h? is used by some programs such as Sigil and Calibre for generating the ToC. You can still edit the ToC after it's generated to how you want. But the main thing is that you have a ToC with the chapter headers to start from without having to fully build a ToC by hand. There are defaults an using them is not a problem if that's what you want. For example, using the default font size of 1em for the body text. Using h? can have a multi-layer ToC generated automatically if the code is setup correctly. |
|
06-13-2020, 10:08 AM | #52 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
If you mean that some books have, for example, a chapter number that's left-aligned and then a heading (title) that's centered, and then an epigram that's something else, that's design and layout. Not "a" heading. If the designer who does that, does it, fine--but that doesn't mean that the heading style/level shouldn't be properly applied. And yes, that designer might then end up having to manually create his/her TOC...but you're completely missing the point. Conflating DESIGN with structure is just muddying the waters. Hitch |
|
06-13-2020, 11:58 AM | #53 | ||
Grand Sorcerer
Posts: 5,286
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
Quote:
|
||
06-13-2020, 01:18 PM | #54 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
And thus began every horrible conversation, between every enraged Dad and his encumbered daughter, ever....
Quote:
Hitch |
|
06-13-2020, 01:34 PM | #55 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
06-13-2020, 09:01 PM | #56 | |
Well trained by Cats
Posts: 29,832
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
H tags are perfectly proper to label chapter SECTIONS. What we have is a whole bunch of people that 'just get it done looks' and throw out the possible use of automated tools that generate TOC |
|
06-13-2020, 11:35 PM | #57 |
Evangelist
Posts: 482
Karma: 2267928
Join Date: Nov 2015
Device: none
|
|
06-14-2020, 02:31 AM | #58 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
You're hair-splitting, simply to try to win the argument that for some reason, heading elements--it's even their name, mind you--should be paragraphs. Hell, why not divs, while you're at it? Blockquotes? Why bother to use any standardized elements or CSS????
A chapter number is just that--the number. The chapter title, generally, is the heading. An epigram is just that--the epigram. Simply being grouped together, at the top of a given page, doesn't make all the elements "the heading." I mean, do the first two data rows of a table qualify as "heading rows" just because they're NEAR the heading? The chapter number can either be part of the heading--or not. Some people can and do have chapters like: 01. The Beginning Some have them like so: 01 The Beginning And some have them in other layouts. When, as a designer, you choose to separate your elements with a line (or however), then it's up to you to figure out how you wish to build your TOC. You're conflating that Sigil built-in TOC-making ability, with the functionality of headings as structural elements. If Jane the bookmaker wants to put her chapter number at the right-hand margin and her chapter title centered, that doesn't mean that some piece of software is meant to automagically compensate for the design decision. Nor does that choice abrogate the idea that the bloody heading is structural. Quote:
I mean...you're not using Sigil's built-in heading classes for styling, are you? (I've seen people do that and a loooong time ago, when Cap was 'learnin' me" the ropes, I originally started out, in my PG-bookmaking days, trying to use heading styles as graphic styles, rather than as structural elements, but I thought that the difference and distinction were fairly well understood now.) The CSS determines the styling! And as I said, whether you have p's, div's or headings there for the chapter head, the CSS would be exactly the same to "harmonize" it. "Prohibiting top space, page break before..." I absolutely don't understand what you're talking about here. YOU decide the CSS. Why would you need more or less CSS for a heading than a paragraph than a div? While there are some nesting restrictions to choose from between those three, in reality, you could, if you really wanted to (NOT saying that this would be a good idea!!) use those interchangeably and make them all look and work exactly the same. In terms of appearance, I mean. So...what are you talking about? Seriously. I'm trying to understand what you're saying. Hitch |
|
06-14-2020, 06:30 AM | #59 | |
Resident Curmudgeon
Posts: 74,107
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I use CSS to define <p> and I have <p> set to have no paragraph spaces and an indent of 1.2em. I could not do any of that without CSS. Your <div> that you like so much cannot be properly styled without CSS. Without CSS, your <div> has no paragraph space and no indent making the eBook rather difficult to read. You don't need to use <h?> for your chapter header, but you then will have more difficulty making the ToC. The tools that generate the ToC based on <h?> won't work. Also, an eBook without CSS will look terrible and your way of <div> instead of <p> will make it unreadable. Given you don't use <h?> for the chapter header and you don't like CSS, your chapter headers won't look like chapter headers. You'd be better off saving your eBook as text and reading the text file. |
|
06-14-2020, 09:55 AM | #60 | ||
Evangelist
Posts: 482
Karma: 2267928
Join Date: Nov 2015
Device: none
|
Quote:
Quote:
Last edited by Sarmat89; 06-14-2020 at 10:01 AM. |
||
Tags |
semantic markup |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Span Span Span Sigil cleaning up indesign | blackest | Sigil | 31 | 12-06-2017 10:16 AM |
Span Span Span Span | MULTIVAC | ePub | 7 | 12-06-2014 08:58 AM |
Nested Span? | Turtle91 | ePub | 4 | 05-20-2013 02:47 PM |
span in span: is this problematic? | tbuyus | ePub | 8 | 03-31-2013 08:01 AM |
Remove <br /> together with span, and only span | Razzia | Recipes | 3 | 05-30-2011 06:55 PM |