GNU bug report logs -
#44578
incompability between preview and hyperref in latex 2020-10-01
Previous Next
Full log
Message #152 received at 44578 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Dear Tassilo,
as far as I understood, the principle is that \psfragfig calls an external
process to perform an "encapsulated" LaTeX->PS->PDF run, applied on a
synthetical LaTeX document that contains the *.eps file. It replaces all
expressions found in the *.eps file (say, a letter "a"), by the
corresponding expression given by psfrag (say, a proper math symbol a):
\psfrag{a}[cc][cc][1.3]{$a$}
Now whether the figure environment contains this line, or the user provides
a separate file, exactly named as the corresponding *.eps file, that
contains all replacements for that *.eps figure.
So, to make psfragfig working, I always thought that -shell-escape is
absolutely needed!
I am not sure whether this was your question, but if I can help, please let
me know.
Best wishes,
Tobias
-----Ursprüngliche Nachricht-----
Von: Tassilo Horn <tsdh <at> gnu.org>
Gesendet: Freitag, 7. Januar 2022 12:52
An: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Bruckmann, Tobias <tobias.bruckmann <at> uni-due.de>; 44578 <at> debbugs.gnu.org;
dak <at> gnu.org; hugo.raguet <at> insa-cvl.fr
Betreff: Re: bug#44578: AW: bug#44578: Investigating current preview problem
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
>> You are right. With a test-example EPS which comes with TeXLive, it
>> again compiles well for me:
>
>>
>> \psfragfig[mode=errorstop,width=0.9\textwidth]{/usr/share/texmf-dist/
>> tex/latex/mwe/example-image}
>
> It seems that the usage of "example-image" is the source of trouble.
> In that case, I find in the log that "example-image.tex" is read in,
> not "example-image.eps".
Ah, indeed, both exist. But I specified example-image.eps at the first try
and then it complained that example-image.eps.eps did not exist.
So it seems that depending on if -shell-escape is used, \psfragfig either
expects/prefers an eps or a tex file?
Bye,
Tassilo
[smime.p7s (application/pkcs7-signature, attachment)]
This bug report was last modified 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.