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


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

Re: PDF graphics


just fyi: apparently the TeX backends can find their own image formats..

i changed (graphic-file) (for the print stylesheet) to:

 (define (graphic-file filename)
   (let ((ext (file-extension filename)))
     (if (or tex-backend   ;; TeX can work this out itself
	     (not filename)
	     (not %graphic-default-extension%)
	     (member ext %graphic-extensions%))
	 filename
	 (string-append filename "." %graphic-default-extension%))))

(ie. added the "tex-backend" condition)

and left the extension off all my graphics. pdfjadetex now finds png
or pdf, jadetex finds eps.

figured it was useful enough even to go into the "official" stylesheets..

now, whats the go with jadetex? is anyone actively fixing bugs in it
anymore?  (where's a good place to learn tex so i can fix it myself?)

-- 
 - Gus


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