A few months ago I posted about this problem: sadly I got no reply. :( Even more sadly, I have not been to solve the issue!
So I am still forced to export my lyx file to a tex file and compile it running "pdflatex -shell-escape" to update pictures, before being able to go on with my work in Lyx. I really don't understand why Lyx doesn't behave like it is intended, since I ticked the right option and this is driving me crazy! Any help is appreciated. Thanks M PS: if needed I can provide a MWE (but I don't know how to provide it: can I attach a file?) Il giorno mer 5 ott 2022 alle ore 20:39 Mario D <ega...@gmail.com> ha scritto: > 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 >
-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users