This is the mail archive of the docbook-tools-discuss@sources.redhat.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Graphics image question


On Sat, 20 Jan 2001, Peter Toft wrote:

> On Sat, 20 Jan 2001, Stephen Wilhelm wrote:
>
> >
> > Hello everyone.  I have a DocBook document that has some images in it.  I
> > use the Cygnus tools to publish the SGML sources.  Now, db2html does a
> > great job, but db2ps and db2pdf gives some LaTeX errors about gif images
> > not being supported.  I switched to jpeg images, but the resulting
> > Postscript and PDF files look absolutely horrible (in one case, each pixel
> > of the image was rendered as a 50 pixel block, which is obviously
> > unacceptable).
> >
> > So, does anyone know if there is anything I can do to get gif's or jpeg's
> > working?  If not, is there another image format that I should consider?
> > The only thing I would require from another format would be that it must
> > work with web browsers as well (so no eps files).
>
> To my knowledge db2ps is the show-stopper - I only eats
> .eps-files.

UPS; to get you there you also need to include images
like this:

<figure id="ma7lang-fig" float="1">
<title>YOUR FIGURE TITLE</title>
<graphic fileref="YOUR_FILENAME.&magic;" SCALE="60"></graphic>
</figure>

SCALE can be dropped - but nice in ps/pdf-output.


-- 
Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto

"You don't win a battle by asking, `Will we win?'
You win it by doing your best to win" - Richard M Stallman

LinuxKonference i København: http://LinuxForum.dk/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]