Quote:
Originally Posted by kovidgoyal
You can use lrf2lrs+lrs2lrf and edit the entries manually. Or you can use html2epub and style="height:0pt" for the elements you want hidden.
|
Thanks, I tried that and also font-size: 0pt and color: white to no avail.
But I found a way that worked well enough, not exactly what i wanted, but good enough. In case someone else has a similar issue :
SOLUTION:
It is possible to have multiple lines for a chapter heading/subheading in the book but still have it collapsed to a single line in the table of contents :
('lrfchapter' is just a dummy class that does not exist)
<div class='lrfchapter'>
<h2>CHAPTER X</h2>
<h3>On the road again</h3>
</div>
Can be used togehter with
--no-links-in-toc --add-chapters-to-toc --chapter-regex="lrfchapter" --chapter-attr="div,class,lrfchapter"
This will show up in the table of content as :
CHAPTER X On the road again