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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: 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



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


Powered by eList eXpress LLC