[NTG-pdftex] [ pdftex-Bugs-441 ] Debug output of makecfilename

noreply at sarovar.org noreply at sarovar.org
Sun Dec 4 15:11:53 CET 2005


Bugs item #441, was opened at 2005-10-22 09:28
You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=441&group_id=106

>Category: Image inclusion
>Group: v1.30.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Heiko Oberdiek (oberdiek)
>Assigned to: Martin Schröder (oneiros)
Summary: Debug output of makecfilename

Initial Comment:
Hello,

since pdfTeX 1.30.4, e.g. \pdfximage prints the file
name twice, the first time stderr is used and messes
up the output, e.g.:

<screen_output lines="8">
This is pdfTeX, Version 3.141592-1.30.4 (Web2C 7.5.5)
(./test.tex (./dir.tex antrschl.jpg
 [1 <./antrschl.jpg>] console.jpg
 [1 <./console.jpg>] img002.jpg
 [1 <./img002.jp
g>]) )
Output written on test.pdf (3 pages, 451963 bytes).
Transcript written on test.log.
</screen_output>

The line break in "<.\img002.jpg>" looks funny.

The reason is some debug output in function
makecfilename of utils.c:
   fprintf(stderr, " %s\n", name);

Patch attached that removes that line.
(With comment that at least marks the incompatibiliy
introduced in 1.30.4 regarding file names, but that
is another topic).

Output after the patch is applied:

<screen_output lines="5">
This is pdfTeX, Version 3.141592-1.30.4 (Web2C 7.5.5)
(./test.tex (./dir.tex [1 <./antrschl.jpg>] [1
<./console.jpg>] [1 <./img002.jp
g>]) )
Output written on test.pdf (3 pages, 451963 bytes).
Transcript written on test.log.
</screen_output>

Perhaps the output is messed up by the web interface
of the bug report system. There should be five lines.
The funny line break in "<.img002.jpg>" is now the
normal TeX line break because of screen line.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>


----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=441&group_id=106


More information about the ntg-pdftex mailing list