10-01-2016, 08:20 PM | #16 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I know you know this, Hitch, I just wanted make sure all participants understand. Auto-generation using h tags is not the only Sigil method for creating/editing a working ToC. It seems not everyone is aware of this. Last edited by DiapDealer; 10-01-2016 at 08:25 PM. |
|
10-01-2016, 09:22 PM | #17 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
DiapDealer said:
You DO know that you can create and edit the ncx (or nav in an EPUB3) using Sigil's TOC editor, right? The proper header structure is only necessary if you want to generate the NCX (or nav) automatically. But just like calibre, there's a ToC editor you can use in Sigil. You can certainly create the doc TOC and a Logical TOC(Device toc) using Sigil -- you can even create a multi-level doc TOC. You can also do the same in Calibre -- except you do not have to mark your headers with a heading style first -- in Calibre you just choose a page for each TOC header. DiapDealer said: You DO know that you can create and edit the ncx (or nav in an EPUB3) using Sigil's TOC editor, right? The proper header structure is only necessary if you want to generate the NCX (or nav) automatically. But just like calibre, there's a ToC editor you can use in Sigil. The majority of ebooks out there are epub 2. And would you really expect an indie author to know how to manually and safely format his toc.nx or content.opf? That's a wide assumption and a bad road for any indie author to take (I'm not talking about developers here). And if you manually edit the xml within say the toc.ncx then Sigil does not automatically update the content.opf sections for epub 2 ebooks. If you use Calibre and if you do manually change the formatting in the toc.ncx or the content.opf then it automatically gets updated everywhere in the epub whenever you click Calibre editor's OK button. I love Sigil dearly, but for both TOC creation and XML editing, I prefer the Calibre way because its easier and faster. My hat off to Kovid Goyal for developing such a useful editor. Last edited by slowsmile; 10-01-2016 at 10:01 PM. |
Advert | |
|
10-01-2016, 09:43 PM | #18 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
DiapDealer said:
I know you know this, Hitch, I just wanted make sure all participants understand. Auto-generation using h tags is not the only Sigil method for creating/editing a working ToC. It seems not everyone is aware of this. Exactly right -- there is more than one way of creating/editing a working TOC in an epub -- I agree with you entirely. But from what she has already posted on this thread, I'm not sure that Hitch would agree with you though. According to her -- the ONLY way you can create a workable TOC is by using html heading tags. And if anybody sincerely believes that using named paragraph styles for all the headers in your Kindle ebook is not possible -- please have a look at an ebook of mine on Kindle that does not contain a single heading style(ie h1, h2, h3 etc) in it: Kalapati Last edited by slowsmile; 10-01-2016 at 09:55 PM. |
10-01-2016, 09:46 PM | #19 | |||
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Quote:
Last edited by DiapDealer; 10-01-2016 at 09:52 PM. |
|||
10-01-2016, 09:49 PM | #20 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
She didn't say that, and it's simply not true. It's the recommended way, but Sigil will allow you to easily create a ToC without a single h tag being present (if you so choose). It's what I've been trying (and obviously failing) to explain for several posts now.
|
Advert | |
|
10-01-2016, 10:15 PM | #21 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
JSWolfe said:
Me,I care about the code because if the code is a real mess (I'm looking at you Phoenix Pick) then it's not as easy to make changes. Yes, I do make changes because publishers think they know how to format when really, they don't. They do the same sort of stupid shit that needs fixing all the time. That's right on the mark. And since publishers will never tell you their innermost formatting secrets -- which is perhaps fair enough -- then its up to indie authors/developers to find out and broadcast their own solutions in order to help other authors still struggling with these formatting issues. Last edited by slowsmile; 10-01-2016 at 10:18 PM. |
10-01-2016, 10:26 PM | #22 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
Hitch....No, I'm not going there again with you because there's no point in regurgitating old immovable ground. I've already provided the reasons and the evidence for using named paragraph styles rather than html heading styles on this thread. That should be good enough for all the other posters to individually makeup their own minds on this issue.
Bill Last edited by slowsmile; 10-01-2016 at 10:35 PM. |
10-01-2016, 11:04 PM | #23 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
DiapDealer said:
If you use Sigil's Tools->Table Of Contents->Edit Table Of Contents you will find a dialog that allows you to do the same thing. Create/edit/delete your ToC headings (nest them, unnest them if you like), point them to the page (or ID) you want them to be linked to, click "OK" and Sigil updates the underlying code in the EPUB automatically. Badabing badaboom. You may "prefer" doing it calibre's way, but I'm getting the distinct impression that's only because you don't know there's a similar functionality within Sigil. I appreciate your concern but please trust me, I've been using Sigil and Calibre for about 7 years -- I really do understand how to create and generate a TOC in Sigil. But I think you may have missed my point. So here it is again. Before you can create any doc TOC or Device TOC in Sigil you must first mark all your epub main headings that will be displayed in the TOC with an html header style(usually h1 or h2). In Calibre you do not have to use html header styling to mark out your TOC. All you do is click a button to select the page, name the TOC item and the TOC item link to that page is automatically created in Calibre. So the way Sigil and Calibre create their TOCs is completely different. Last edited by slowsmile; 10-01-2016 at 11:32 PM. |
10-01-2016, 11:22 PM | #24 | |
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:
It had to be you, because nobody else would state the rigamarole about heading styles and the LITB as fact, or that "everybody knows" or any of that. It's simply incorrect, just as was your repeated heated statements about DPI. Remember that? I pointed you to myriad books of ours, on Amazon, using heading classes, that look perfectly fine in the LITB. If your theory is right, then ALL of our books should look WRONG in the LITB. But they don't. So, very simply, how do you explain that? And lastly--for the VERY LAST TIME--I never, ever said that you could "only" build TOC's in Sigil using heading classes. That would be wrong. In fact, we don't use Sigil's built-in automagic TOC maker. We make them ourselves. I do, absolutely, use the automagic NCX maker when we are using Sigil. As we use other methods, including Epsilon, THOSE NCX & TOCs are all written by hand. So, for the final time on this topic: the only person who INSISTS that if you use heading classes, that the LITB will come out poorly or incorrectly, is YOU. Just as you were 100% incorrect about the DPI/Images issue, you are wrong about this. Period. Yes, sure, maybe it happened To. You. That doesn't mean that it happens to other people. Hitch |
|
10-02-2016, 12:51 AM | #25 | |||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
where Calibre has the Generate functionality folded into a button in the "Edit Table of Contents" tool. Quote:
Last edited by Tex2002ans; 10-02-2016 at 01:10 AM. |
|||
10-02-2016, 02:09 AM | #26 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
@slowsmile:
As Hitch has already pointed out, your idea that the use of headings, as opposed to paragraph styles, creates problems, is plainly wrong. I.e., by using presentational markup instead of semantic markup you're not only shooting yourself in the foot you're also not following best practices. Quote:
However, it's much easier to use the GUI for this. |
|
10-02-2016, 04:19 AM | #27 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Good code means less potential problems with programs/apps and/or Readers. I've read of people having problems with some Readers because of some eBook. That's because the code inside is either a mess and/or it's not valid. I've never had an issue like that because I make sure the code is valid. It takes very little time to validate. One thing I don't get is why most eBooks are made with most paragraphs being like <p class="tx"> when you don't need that class because you can easily define the p class for the most common use? Also, who decided that using up at least 14% of the screen for a chapter title is a good idea? I could go on, but you get it so I'll stop here for now. |
|
10-02-2016, 06:16 AM | #28 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
10-02-2016, 06:17 AM | #29 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
As a legacy from the years when I use H1 etc to size the entries on my title page, I ended with H2 as my go-to style for chapter headings. So I have no H1 headings at all.
Is that ever going to come back and bite me? Great discussion. Thanks, all! |
10-02-2016, 06:48 AM | #30 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
And most books have this weirdness: they start AFTER the chapter head on that first text page. (I know that your books don't, but you aren't formatting most of Amazon's e-books.) Here is the top Kindle best-seller this morning: https://www.amazon.com/gp/product/B01CGBC7BK You don't see the chapter title unless you scroll up. Perhaps it was, as you suggest, outsourced to a third-world country. But here's the funny part: it's from an Amazon imprint. While I was writing this, another book moved to the top: https://www.amazon.com/gp/product/B01DNJMO80/ and it too skips the chapter title. And of course there's still a subset of books that open at the cover. So Amazon isn't even being consistent in its New Look. |
|
Tags |
toc creation, window resizing |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
p.Heading3 is ignored when generating ToC? | Panel | Calibre | 2 | 03-28-2016 05:52 AM |
Problem generating TOC | ronin712 | Calibre | 11 | 09-06-2015 11:53 PM |
Help generating TOC | Diabolikul | Conversion | 3 | 01-26-2012 10:42 AM |
TOC - Kindle - Not Generating | superted | Conversion | 2 | 05-15-2011 07:28 AM |
Trouble generating a TOC | foghat | Calibre | 2 | 05-07-2010 06:00 PM |