Thread: ToC renumbering
View Single Post
Old 01-27-2012, 03:48 PM   #18
Hellmark
Wizard
Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.
 
Hellmark's Avatar
 
Posts: 2,592
Karma: 4290425
Join Date: Jun 2009
Location: Foristell, Missouri, USA
Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3, Kobo Libra 2
Quote:
Originally Posted by DiapDealer View Post
The ability to edit the NCX file manually has not been changed in v0.5—if that's what you're referring to.
No, and I have been using that to make due.

Quote:
Originally Posted by meme View Post
What exactly do you mean the TOC editor has been replaced? What exactly were you doing before, on what version (I haven't used the old versions much so don't know what to compare the new one to).

If there are features that you want, then if, when you ask for them, you provide more details it might help get them implemented.

For instance, it seems like renaming the entry in the TOC is something that people want. At the moment this can be done by editing the toc.ncx file directly. Or if you generate from headings, then you can put a title value in your heading tag to show the title in the toc instead of the text in the heading. And of course in generating headings you can select which ones to include (0.5.0 even includes an extra drop down that lets you select/unselect based on heading level automatically).

I assume, but I'm only guess, that what you want is the ability to select the TOC entry in the active TOC display and to rename it there without going into the toc.ncx file. If so, that's something I can look into. Though it opens the question of whether or not just the toc.ncx file should be updated, or if the element should have its title value changed as well for consistency (which would also keep generate from headings in sync).
I don't remember which version, but an older version I used had a ToC Editor, that would pop open a window, and add/remove entries, rename entries, view nesting levels, etc. I found a copy I still had of 0.2.3, and that version had the ToC Editor I'm talking about.

Window was pretty simple, Was a nested tree list view of the every bit of text that was set as a header, nested by size, and a checkbox to the right. Check boxes were in the ToC, and unchecked boxes were not. There was also a checkbox at the bottom of the window for viewing only ToC entries, so if you had that checked, everything that wasn't in the ToC was filtered out. Also, if you double clicked on an entry, you could rename that entry, without modifying the actual header.

While I seem to be mistaken, as I was thinking that there was a way to add a ToC entry without creating a header, it was far more serviceable than the Generate ToC from Header's option we get now. You kinda get the window in 0.4.x and 0.5.0, when you get the Header Selection window after you get the Generate ToC button. However, that window doesn't give you the option for renaming. Also, in my opinion it is slightly less intuitive tose, especially if you do not have the ToC view up normally. For instance, if I want to add or drop a ToC entry, with the older editor, I'd click on ToC Editor, or press F7, and just hit the check box. Now, I have to open ToC View, click Generate ToC, select those I want to be selected, and then hit ok. If you already have a ToC, and you're wanting to edit it, you may not always think that Generating a new one is what you need to do. Plus, with the loss of renaming, that has to be done by editing toc.ncx.
Hellmark is offline   Reply With Quote