Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Generating toc in pdf via WikiText and xslfo and fop
Generating toc in pdf via WikiText and xslfo and fop [message #892596] Thu, 28 June 2012 12:47 Go to previous message
Tamar Cohen is currently offline Tamar Cohen
Messages: 68
Registered: July 2009
Member
Hi Mylyn-world --

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-xslfo" description="Generate xslfo from wikitext source">
<wikitext-to-xslfo markupLanguage="TracWiki"
targetdir="../${help_path}"
title="${title}"
version="${help_version}"
author="${author}">
<fileset dir="${basedir}/..">
<include name="${help_path}/*.tracwiki"/>
</fileset>
</wikitext-to-xslfo>
</target>

<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

thanks

Tamar
 
Read Message
Read Message
Previous Topic:embedding Mylyn WikiText MarkupViewer
Next Topic:Review for Eclipse (R4E) 0.11.0 is now available
Goto Forum:
  


Current Time: Wed May 22 14:36:47 EDT 2013

Powered by FUDForum. Page generated in 0.01671 seconds