[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44578: AW: bug#44578: AW: bug#44578: Investigating current preview p
From: |
Bruckmann, Tobias |
Subject: |
bug#44578: AW: bug#44578: AW: bug#44578: Investigating current preview problem |
Date: |
Fri, 7 Jan 2022 12:11:49 +0000 |
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@gnu.org>
Gesendet: Freitag, 7. Januar 2022 12:52
An: Ikumi Keita <ikumi@ikumi.que.jp>
Cc: Bruckmann, Tobias <tobias.bruckmann@uni-due.de>; 44578@debbugs.gnu.org;
dak@gnu.org; hugo.raguet@insa-cvl.fr
Betreff: Re: bug#44578: AW: bug#44578: Investigating current preview problem
Ikumi Keita <ikumi@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
Description: S/MIME cryptographic signature
- bug#44578: Investigating current preview problem, (continued)
- bug#44578: Investigating current preview problem, Hugo Raguet, 2022/01/06
- bug#44578: Investigating current preview problem, Tassilo Horn, 2022/01/06
- bug#44578: Investigating current preview problem, Hugo Raguet, 2022/01/06
- bug#44578: Investigating current preview problem, David Kastrup, 2022/01/06
- bug#44578: Investigating current preview problem, Tassilo Horn, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Bruckmann, Tobias, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Tassilo Horn, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Ikumi Keita, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Arash Esbati, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Tassilo Horn, 2022/01/07
- bug#44578: AW: bug#44578: AW: bug#44578: Investigating current preview problem,
Bruckmann, Tobias <=
- bug#44578: AW: bug#44578: Investigating current preview problem, Tassilo Horn, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Reinhard Kotucha, 2022/01/07
- bug#44578: AW: bug#44578: Investigating current preview problem, Tassilo Horn, 2022/01/08
- bug#44578: AW: bug#44578: AW: bug#44578: Investigating current preview problem, Bruckmann, Tobias, 2022/01/12