doxia-site.fml.faq.fml Maven / Gradle / Ivy
How to handle style in the APT markup language?
APT doesn't currently support style. It is in the roadmap.
How to export in PDF?
There are two modules available that can be used to generate pdf output: an
iText module
that uses the
iText framework, and a
FO module,
that can be used e.g. in conjunction with
Apache FOP to generate a pdf.
Unfortunately, the iText team has discontinued the XML to PDF functionalities, so probably
only the fo module is going to be supported in the future.
A pdf plugin for m2 is currently in development in the Doxia sandbox. You can get the source
here.
Is it possible to create a book?
Doxia also has a fairly simple tool for writing books. It comes complete with a Maven plugin
to produce PDFs, LaTeX documents and Xdoc for direct integration in your Maven site.
The Doxia Book code
is still limited but fully functional.
Why XML based sinks don't generate nicely formatted documents?
We decided to keep pretty printing out of the core modules. So, XML based sinks like Xdoc or XHTML are
intentionally unformatted. You could always do this after the document generation or directly
by creating a specialized end-user sink (see DOXIA-255).
Where are the Maven Doxia XSD schemas for Xdoc and FML files?
The Xdoc XSD is located here and
the FML XSD is located here.
Your favorite IDE probably supports XSD schema's for Xdoc and FML files. You need to
specify the following: