toc.ncx navpoint content=src empty
Hi,
Thanks very much for your reply. The more I look at the various pml files, I can see that many never use \x or \X* at all to make chapters. It looks like a real pain.
I have access to the script which does the pml to html conversion. Please think about allowing the use of a "sigil only marker" that does not appear in the text.
For example, right now I have modified the script to output sigilChapter breaks (see below) properly un-nested (so that they reside just in the <body> tags) which makes for easy points to split the html file right in the html file itself.
div>
<hr class="sigilChapterBreak" />
</div>
These are all properly recognized when reading the html file into Sigil and so the work of separating the html into chapter size pieces is already done automatically for me. This saves me mountains of time manually editing the book just to place chapter breaks.
I could easily convert these \C*="text" to almost anything that Sigil would like as long as it would not show up in the text.
Perhaps:
1. a comment formatted especially for sigil
<!-- sigilToCEntry "text" -->
or
2. an empty span formatted especially for sigil that is wrapped around a comment that has the label text
<span id="sigilToCEntry0001"><!-- The Chapter Title --></span>
or just about any idea you might have to augment (not rewrite or replace) the <h*></h*> toc finding routines with something specific for sigil, that will not mess up regular html browsers or other conversion programs.
Please let me know if that is something you might consider for a future release.
Thanks,
Kevin
|