View Single Post
Old 01-03-2017, 07:23 AM   #10
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
To all!
Maybe we misunderstood ourselves here.

There is that quasi-automatically configured and clickable ToC from calibre.
In addition I will install here even several Indexes (List of contents). For the sake of clarity.

Calibre ToC had in Tolino before 55, now 15 pages, each with 8 entries. (55 pages with all headings, 15 only h1, h3 & h3). Also reduced 15 pages are a lot, which makes the overview difficult. Therefore several list of contents, clickable without page numbers. You convinced me!

Quote:
Originally Posted by jhowell View Post
Looking at your code, I think that you need add a "clear: both" after each left/right pair for this to work properly.
Sometimes things get mixed. Fact is that I've got some code (obviously not the above one) before in the calibre File Preview displayed correctly. Above code has an additional error: the identical id = "textbox".

HTML
Quote:
<h3>Index</h3>

<div id="textbox1">
<p class="alignleft">Subtitle A</p>
<p class="alignright">10</p>
</div>
<div style="clear: both;"></div>
<div id="textbox2">
<p class="alignleft">Subtitle B</p>
<p class="alignright">20</p>
</div>
<div style="clear: both;"></div>
CSS as above.

Now it works also in Tolino, but with 2 empty lines between each entry. Unacceptable!

Quote:
ETA: A word processor is a better tool for book authoring in general. An ePub editor is better used for tweaking after conversion from an authoring format.
I use gedit and LibreOffice. Better choice!? (Linux fan)

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