Hi!
I'm compiling an ebook from 26 short stories which appeared in a german magazin.
My HTML files contain headlines similar to this:
Code:
<div class="headline">
<h1 id="u094aaa39-0c47-43d1-9343-d5190bf2d74d">Unter allen Wipfeln (1)</h1>
<address class="author">Arno Endler</address>
<address class="published">c't 2014, Heft 1, Seite 192</address>
</div>
When I let calibre (1.48) generate a ToC I get lines like this:
Code:
<li><a href="ct-2014-01.html#u094aaa39-0c47-43d1-9343-d5190bf2d74d">Unter allen Wipfeln (1)</a></li>
But I'd like to have the author added like so:
Code:
<li><a href="ct-2014-01.html#u094aaa39-0c47-43d1-9343-d5190bf2d74d">Arno Endler: Unter allen Wipfeln (1)</a></li>
Is there any way to achieve that?
I already found the ToC generation using XPath, but this did not seem to help as it only allows to select elements and each selected element's text content seems to become an ToC entry. It seems to me there's no way to pick more than one element and somehow style them to an entry.
Am I right or do you have any proposal what I can do?