I found some small glitches and one major flaw with including images
in Texinfo document processed for PDF and HTML output. Specifically:

1. Including @image command without optional arguments (ie. in
   @image{filename}) caused texi2html to break (makeinfo --html worked
   flawlessly tho). The quick'n'dirty patch is attached in
   texi2html.patch file -- it will only work if @image{} is on the
   separate line (which the original author of texi2html appears to
   assume). 

2. Processing file with @image command(s) by the texi2dvi --pdf causes
   syntax error in pdftexinfo.tex, complaining about lack of braces
   around filename argument of pdfimage. Patch included.

3. Processing file with @image command(s) by the texi2dvi --pdf
   --clean causes 'cannot load image file' error if patch to image is
   relative. Apparently \pdfimage does not use value of TEXINPUTS
   while looking for image file to include (and using --clean options
   makes pdftex to work in temporary directory different from original
   working directory). texi2dvi --clean works fine (but in that
   situation image is processed by epsf.tex) as well as texi2dvi --pdf
   (w/o --clean).

-- 
Artur Bartnicki
Syntelix Solutions Polska





texi2html.patch

pdftexinfo.tex.patch

Reply via email to