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

Bug#234539: graphic[sx] should recognize .pdftex as a PDF picture file



Josselin Mouette <joss@debian.org> schrieb:

>> - I would like to keep the number of debian-specific patches as small as
>>   possible. But since pdfTeX is also used on WinDOS systems where the
>>   extension is the only established means of determining a file type, I
>>   severely doubt that upstream would be willing to adopt your patch (and
>>   the following ones for .pdflatex and .pdfout\dots).
>
> Well, please be consistent. Upstream as well as Debian's graphic[sx]
> package has been accepting .pstex as postscript for several years now.
> Treating .pdftex differently would lose consistency.

Ah, I didn't know that. And this makes things look a little
different. However, mine doesn't:

\documentclass{article}
\usepackage{graphicx}
\begin{document}

\includegraphics{test}

\end{document}

With a file test.pstex in the working directory gives:

! LaTeX Error: File `test' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.5 \includegraphics{test}

whereas copying test.pstex to test.ps or test.eps (in fact it's an eps
file) makes it run without errors.


>> I would prefer if XFig just would name the PDF output file *.pdf, as
>> usual. Roland, is there any specific reason why this isn't done, or is
>> it just because that's how it's ever been?
>
> That's how it was implemented, but I doubt the feature was ever tested;
> it doesn't work at all since TeX doesn't accept .pdftex files.

Well, I used it some time ago - just renamed the file.

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: