Re: ver 4.0 docs
- Posted by ne1uno Aug 30, 2008
- 1283 views
the change from [123] to _123_ in the name= links, alas, does not make the autogenerated toc in htmlhelp any better.
What's the problem? Something I can do in creole?
I had hoped/assumed htmlhelp was using a combination of the name= links and Hn headers to create the toc. maybe is just the headers. I'll probably post process the htmlhelp generated toc using the links & matching text from the creolehtml generated index.html.
thanks for the offer though.
the generated toc does look pretty good now, except for the missing #link problem. you can at least get to the top of each page. all the doc fixups in the past few weeks and unchecking binary toc helped.
I did add one macro to give each page a title so that found topics in the CHM search tab have a little human readable context.
~@ line 267 kan:setValue(lData, "thistext", lThisText) --title for chm
this has an adverse side effect that you can't jump to the exact section, but the other way you would often see topics like Notes: Comments: Eample1: with no context. this CHM may never make it out of alpha.
a posiible bug alert. around 4560 in creole.e lFrom += length(lPluginResult - 2) should probably be length(lPluginResult) - 2 appears in two places. seems to work the same either way with the unresolved's.