View Single Post
Old 01-31-2017, 07:12 AM   #12
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Quote:
Originally Posted by davidfor View Post
Well, if he wants in inline ToC, he should actually state that. I could only guess that is what he wants. And if an inline ToC is what he wants, he probably should just use the built in tool to generate it.
Proper nomination of a matter seems to me particularly important here. So, the built in tool to generate a table of contents is the ToC, and there is a entry list in the File Browser, and there is a directory in the File Preview.

That would be my suggestion!

In these books the ToC is of less help, because of the sheer amount of headlines. The ToC, shown in my Tolino ereader includes about 80 pages, 8 entries per page. For navigation in the book (in the ereader) I need other instruments. I got an idea. You too?

Quote:
Originally Posted by theducks View Post
IIRC the TOC tool will generate additional anchors (if needed) when using H# tags as markers. (I prefer the per file method, so the filename is sufficient)
I practiced to generate anchor (ID's), a little detour, but works fine. Per file method with filename, do you mean so:
Code:
Instead of
<a href="xyz.html#uCZEvuprkBTfz9FrYC7Blz5">Title</a> 
to use
<a href="xyz.html#Title">Title</a>
Quote:
Now if you are desiring an active jump to HTML TOC, you will need to code that by using existing content as the key, you can calculate targets with REGEX
I think, I understand quite well what you mean. I thought yesterday about such a regex. Complicated thing! Once later, I will be able to formulate such one. (Just for fun, I mean!)
Quote:
You can always pad numeric only (42) values with an alpha prefix (LUE42) to keep things valid
??? LUE42??? (I googeled, found nothing.)

Last edited by chaot; 01-31-2017 at 07:17 AM.
chaot is offline   Reply With Quote