OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: LaTeX equation as figure in DocBook XML


On Mon, 2003-01-06 at 13:51, Paul A. Hoadley wrote:
> Hello,
> 
> I want to include some equations as figures in a DocBook document.
> >From my research I gather there are several ways to solve this
> problem, but I am constrained by wanting to use XML source, then via
> XSL-FO to PDF with XEP, so this rules out any use of TeX within the
> toolchain itself.
> 
> I am reasonably happy with using PNG as the image format (XEP seemed
> to _almost_ accept EPSI, but there was no output) but my initial
> experiments have produced mediocre results.  I have tried:
> 
> LaTeX -> DVI (with LaTeX, using \pagestyle{empty})
> DVI -> PS (with dvips)
> PS -> PNM (with convert)
> PNM -> PNM (with pnmcrop to get the equation alone)
> PNM -> PNG (with pnmtopng)
> 
> The image quality is mediocre, and too small.  There would seem to be
> a number of points in the chain where I could try to increase the
> image size, and I will go on to try GIF as a format to see if the
> resulting bitmap is better.
> 
> I have a feeling others may have previously invented this wheel --
> what do people recommend in this setting?

The best results can be obtained by keeping the original
images in EPS format for PS output and then generate
PDF images for PDF output. You can generate PDF images
with the epstopdf utility, which comes with the tetex
distribution.

-- 
Giuseppe Greco
Strada Regina 40
6928 Manno (TI)
Switzerland

Mobile: +41 (0) 76 390 60 32
Email : giuseppe.greco@bluewin.ch



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC