[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] Errors related to images when using makeinfo

From: Nicolas
Subject: Re: [help-texinfo] Errors related to images when using makeinfo
Date: Sun, 5 Nov 2006 20:40:26 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hi Karl,

On Sun, Nov 05, 2006 at 01:16:51PM -0600, Karl Berry wrote:
> Hi Nicolas,
>     to generate pdf files out of the png images to generate the pdf file,
>     since texi2pdf expect images to be in the pdf format.
> I should probably change texinfo.tex there; pdftex can accept images in
> most of the common formats (except eps), so there's no reason Texinfo
> couldn't also.

That would be a nice feature. Because for the moment, I have to convert
the png images to pdf in order to generate the pdf. It will add a
dependency to our application: imagemagick.

>     Now, it seems makeinfo expect .txt images to be found! 
> I think it might be falling back to .txt because the file doesn't
> actually exist.  For docbook output, there is code in makeinfo 4.8 which
> tries a bunch of other image formats.  Are you using 4.8?  (Sorry, you
> probably mentioned it before, but I don't remember ...)

I use makeinfo (GNU texinfo) 4.8

>     background rendering directory.  The @image{images/magnify,5mm,5mm,.png}
> The fourth argument is intended to be the "alternate text" for html <img
> alt=...>, but you gave ".png".  You probably want something like:
> @image{images/magnify,5mm,5mm}
> BTW, scaling in both directions at once is probably not what you want to
> do either, since it generally leads to distortion.  I suggest just
> giving one "5mm".

I removed the .png extension from the image tag.

I assume the ".txt warnings" aren't that important, are they?

I tried to use the cinelerra.xml DocBook file with yelp, but it fails
with a ton of errors such as this one:

/usr/src/cinelerra/doc_new/cinelerra.xml:6007: parser error : Opening and 
ending tag mismatch: imagedata line 6006 and textobject
dexentry fileref="images/videoscope.pdf" format="PDF"></indexentry></textobject>
/usr/src/cinelerra/doc_new/cinelerra.xml:6008: parser error : Opening and 
ending tag mismatch: imageobject line 6006 and imagedata
leref="images/videoscope.png" format="PNG"></indexentry></textobject></imagedata
Here are the lines 6006 to 6009 of cinelerra.xml:

     <indexentry fileref="images/videoscope.pdf" 
     <indexentry fileref="images/videoscope.png" 

For the moment, I don't know if it's related to the cinelerra.xml file
or yelp. Any clue?

Thanks Karl!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]