https://bugs.documentfoundation.org/show_bug.cgi?id=114164

--- Comment #8 from lbartolome <lbartol...@gmail.com> ---
(In reply to Miklos Vajna from comment #2)
> Can you provide a sample EPUB that has this feature? Our current
> table-of-contents lists the XHTML files inside the EPUB, and we split the
> XHTML files on heading 1 paragraphs.
> 
> So listing heading2, etc. in the table-of-contents would either require some
> kind of link not only to the XHTML file, but also a bookmark inside that
> file, or would mean more split (even on heading 2, etc), which is also
> unwanted.
> 
> So the first step here would be to find out what EPUB markup is desired to
> have this.

Miklos, this might be a useful way to handle it, they included an id for the
desired headers instead of adding bookmarks. With the extension you can also
select if you want page breaks at header levels different than 1 or not.
<!-- This file was converted to xhtml by Writer2xhtml ver. 1.6.1. See
http://writer2latex.sourceforge.net for more info. --><head>
    <title></title>
    <link href="../Styles/styles1.css" rel="stylesheet" type="text/css"/>
  </head>
  <body dir="ltr">
    <h1 id="toc0">Ñsjdna</h1>
    <p class="Textbody">&#160;</p>
    <p class="Textbody">&#160;</p>
    <h2 id="toc1">i&lt;ksjdas</h2>
    <p class="Textbody">&#160;</p>
    <h3 id="toc2">i&lt;sjdasd</h3>
    <p class="Textbody">&#160;</p>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to