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

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



Le mar 24/02/2004 à 19:37, Frank Küster a écrit :
> > The graphics/graphicx package should recognize .pdftex pictures when the
> > pdftex backend is used. These pictures are generated by XFig as part of
> > the combined PDF/LaTeX format. See attached patch.
> 
> Hm. I don't like this idea too much, for several reasons:

[snip several good reasons]

> - There are for sure other applications that use the extension to
>   recognize a file (I don't use any graphical filemanagers, but do they
>   really use magic?). This would have to be patched, too.

At least GNOME recognizes files by magic, but that's a bit off-topic.

> - 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.

> 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.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


Reply to: