From: Nico <nic...@li...> - 2004-10-27 23:03:22
|
On Wed, 27 Oct 2004 21:58:36 +0200, Wolfgang Jeltsch <wol...@je...> wrote: > Am Mittwoch, 27. Oktober 2004 20:38 schrieben Sie: >> Hello, >> >> Here is the result by using dblatex (http://dblatex.sourceforge.net). If >> you are interested in using this db2latex clone please tell me if you >> have >> special wishes. > > Hello, > > dblatex evolved from db2latex, right? Yes, exactly. > > What are the exact differences between these two? Mainly the differences are the followings: * The transformation process is encapsulated into dedicated scripts (dblatex and some perl scripts). In the other hand db2latex is quite similar to the HTML XSL transformation by explicit call to the XSLT. * The LaTeX style is not embedded into the XSL transformation but by specific latex stylesheets. AFAIK in db2latex the latex style is specified by some XSL parameters. In dblatex very few parameters are supported. * db2latex is a pure XSL transformation. Since I need quite complex tables dblatex uses some perl scripts to translate DocBook tables to LaTeX tables. * A perl script is used to transform the "special" latex characters (e.g. "~", "\"). The purpose is to be quite faster than a conversion done by XSL. * In dblatex the source code does *not* contain document tags that could be extracted automatically. I consider that mixing code and documentation really makes code unreadable (especially in XML) and I actually don't think that mixing both makes documentation maintenance easier. Anyway that has no consequences on the transformation by itsef ;-) * The MathML 2.0 translation is directly taken from xsltml (http://xsltml.sourceforge.net) by Vasil Yaroshevich, which is quite good and complete. * dblatex tries to convert on the fly the graphics of the document (e.g. fig or eps -> pdf). I'm sure that there are other differences but I don't know the latests db2latex changes enough to trace them. Regards, BG |