This is a javadoc doclet - a plugin for the javadoc tool. This doclet produces output suitable to be included into LaTeX documents. This version is based on TexDoclet from Gregg Wonderly. A lot of the code was rewritten and changed to support a separation from content and layout. The sourcecode is also cleaner than the original.
- Commonly used html tags are converted into latex equivalents.
- Layout is defined by a set of macros outside the tool. This allows you to easily adapt to your own style/document without the need to touch the tools output.
-
Produce the latex documentation by calling the doclet. Usually this works like this on the commandline:
javadoc -docletpath texdoclet.jar -doclet org.wonderly.doclets.TexDoclet my.cool.package
This should produce a file docs.tex
-
You may test the generated output by copying preamble.tex into the current directory and compiling it with pdflatex (preamble.tex includes docs.tex)
-
Copy the definitions inside preamble.tex into the preamble of your own latex document. Adapt the macros to your style and language needs. Use \input{docs.tex} inside your document to include the generated documentation.
Matthias Braun [email protected]