First of all, thank you HUGELY for WikiText. I've used it to create documentation to go along with the software I'm sending to the ISS for astronauts to use. Very cool.
Unfortunately they may prefer to read their documentation in a pdf format, and I'm having trouble figuring out how to generate a table of contents from WikiText to be included in the pdf help.
Here are my ant tasks for the pdf, pretty standard:
<target name="generate-pdf" depends="generate-xslfo" description="Generate pdf from wikitext source">
<exec executable="${fop.home}/fop">
<arg value="${basedir}/../${help_path}/${documentation_filename}.fo"/>
<arg value="${basedir}/../${help_path}/${title}.pdf"/>
</exec>
</target>
Is this supported? Any suggestions? I've found some suggestions here that indicate going through docbook as an intermediate format but I would like to avoid that ... http://www.peterfriese.de/advanced-wikitext/#high_2