This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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

Re: Re: DOCBOOK: Efficiently including images in DocBook


On Sun, Oct 08, 2000 at 09:03:45PM +0100, Sebastian Rahtz wrote:
> Nik Clayton writes:
>  > Can you provide me with pointers where I can find out how to change the 
>  > default?  I'd hoped to be able to use the same .png files in the PDF
>  > as with the HTML.  However, going from EPS to PNG, and then using the
>  > PNG in the generated PDF file leads to blocky graphics.
> its in the file pdftex.def, which says
> 
>     \def\Gin@extensions{.png,.pdf,.jpg,.mps,.tif}
> 
> so if you say, in a jadetex.cfg
> 
>     \def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif}
> 
> you should achieve the desired effect. untested!

I've done this by putting
    
   \catcode`@=11\def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif}\catcode`@=12

in a file (call it foo.pdf) and then doing

   cp foo.def book.tex
   jade -Vtex-backend .... -t tex -o /dev/stdout book.sgml >> book.tex

which seems to have the desired effect.

Thanks,

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery

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