From: Tony G. <Ton...@Su...> - 2006-07-02 14:18:41
|
Miko=C5=82aj Habdank-Wojew=C3=B3dzki <me...@wp...> writes: > My name is Mikolaj Habdank and I am new to xmlroof, and docbook. Welcome to xmlroff and the xmlroff-list. > I'v already created my firs book. I use xsltproc to generate fo fil= e and then xmlroff to generate pdf file. Everything is ok. But i want= to add two things: You can go straight from XML to PDF using xmlroff, since xmlroff can = do the transformation (using libxslt). > 1) I want to be able to add mathml and svg files which will be trns= ormed to glyphs not to bitmaps in pdf file. I was thinking about SVG support just today. I was trying the DocBook testdocs tests with xmlroff today, and I was= reminded about SVG then, too, since the testdocs includes some SVG samples. > 2) I want to create svg file. > Is it possible? Is there any documentation which can help me to use= mathml with docbook? You'll have to ask on the DocBook mailing list to find out about usin= g MathML with DocBook. Cairo (http://www.cairographics.org/) has long been the best option f= or supporting SVG, although the SVG support was "experimental". Since this is the day for SVG, I just checked the Cairo website and f= ound that Cairo 1.2 was released *yesterday*. Cairo now supports real (i.e., n= o longer "experimental") SVG, PDF, and PostScript backends. Furthermore, but unrelated to SVG, Cairo 1.2 supports per-page sizing= of pages in both PDF and PostScript. Being able set the size of individual pa= ges in PostScript is enough to make it worthwhile to use Cairo 1.2. I will be downloading Cairo 1.2 and seeing how well it works with xml= roff. The previous version of Cairo that I tried produced PDF but with over= sized text and its PostScript output was just bitmap images of pages, and I= didn't try its experimental SVG support. Adding SVG output may be as "simple" as adding another FoDoc subtype = (or may even be handled by the current FoDocCairo). Getting SVG from the inp= ut XML into the SVG output as SVG will take some more work. At this point, = I'm not sure what would need to be done. Regards, Tony. |