Shell-escape enabled but not working

Mario D egalua at gmail.com
Wed Oct 5 18:39:06 UTC 2022


Hi,
I have a document which uses the external library of tikz, so I need shell
escape.

I have lyx 2.3.6 so I enabled shell escape via

Document->Settings->Formats and check "Allow running of external programs."

Nevertheless, when I run pdflatex, I get this error:

-----------------------------------------------------------------

! I can't write on file `myfile_figure0.md5'.

<to be read again>

\relax

l.320 \end{tikzpicture}

(Press Enter to retry, or Control-D to exit; default file extension is
`.tex')

Please type another output file name

! Emergency stop.

<to be read again>

\relax

l.320 \end{tikzpicture}

*** (job aborted, file error in nonstop mode)

-------------------------------------------------------------------


Am I missing something?


BTW, if I export my lyx file to a latex file and I compile it (with
pdflatex --shell-escape), it compiles smoothly.


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20221005/a362e1ca/attachment-0001.html>


More information about the lyx-users mailing list