![]() |
![]() |
![]() |
![]() |
![]() |
HTML
Previously (and also until now, unless -pi html showTitle yes has been specified), this information was just converted to (invisible) head/title and head/meta HTML elements.
TeX, PS, PDF
aptconvert -pi html css test.css test.html test.txt
When running the above command, if test.css already exists in current directory, it is overwritten by an empty file.
HTML
Another real world example is XMLmind XML editor - User's Guide. Download it from http://www.xmlmind.com/xmleditor/documentation.shtml#source.
APT format
RTF
HTML
PS
With these PIs it is now possible to use pdflatex or dvipdfm rather than dvips+ps2pdf to generate PDF.
DocBook
In XML mode, -pi docbook publicID default is -//OASIS//DTD DocBook XML V4.1.2//EN.
Validated the SGML and the XML generated by aptconvert using James Clark's sp.
Note that specifying -pi docbook systemID URL|file is required in order to generate valid DocBook/XML documents.
If latex.resizegraphics is set to yes, graphics too large are automatically shrinked to accommodate the page size. Default: no.
If the document begins with a title block and if the author sub-block is not explicitely specified, an author sub-block is created from the value of the author meta, if any.
Therefore it is possible to specify once for all that you are the author of all the documents your write by adding, for example, the following lines into your .aptconvertrc or aptconvert.ini:
author=Joe User\n\ juser@incredible-widgets.com
Latex is not supposed to find errors but this sometimes happens with special characters such as \0 (in fact, the author intended to type \\0) or the ``power of two'' Latin-1 character (a bug in the inputenc package?).
First release.