Another powerdot problem ...

David Carlisle d.p.carlisle at gmail.com
Fri Nov 15 11:18:26 CET 2024


On Fri, 15 Nov 2024 at 10:06, Philip Taylor <P.Taylor at hellenic-institute.uk>
wrote:

>
> On 15/11/2024 09:52, David Carlisle wrote:
>
> [But] would that have helped Rolf before he had created (on Thomas
> Schneider's advice) "keg.ps" from "keg.pdf" ?
>
>
>
> Probably, yes.
>
> As if you force latex to load foo.pdf it does what you ask, and  hopes
> it's an EPS file despite the extension
> so you get
>
> Why would LaTeX "hope it's an EPS file" ?  Does \includegrapics not allow
> the inclusion of other common graphics formats (e.g., JPEG) ?  If so, is
> there an *a priori* reason why LaTeX would assume encapsulated Postscript
> rather than any other supported format ?
>

latex will support whatever the backend supports but by default latex (as
opposed to pdflatex, lualatex etc) defaults to dvips backend and  in
practice eps is the only image format dvips supports, it does not support
jpeg it does support some ancient bitmap formats but not any currently used
formats such as jpg, png,gif, ...

latex doesn't enforce any particular extension as extensions weren't so
standardised when this was set up and an important case was
metapost which had interesting default extensions such as .1 , .2  so
guessing eps from an unknown extension is the most logical choice.
But anyway it's been that way for over 30 years so even if the choice was
illogical it probably couldn't be changed now.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20241115/18a75c39/attachment.htm>


More information about the texhax mailing list.