Re: Bug in running external program (-shell-escape)

2023-03-05 Thread Jürgen Spitzmüller
Am Samstag, dem 04.03.2023 um 18:06 +0100 schrieb Mario D: > So, to sum up. > > If the file "test.lyx" is in the working directory $HOME/test/ and I > want all its tikz pictures to be stored in the directory > "$HOME/test/picts" using the "external" library, then it looks like > that using the fol

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Mario D
Il giorno sab 4 mar 2023 alle ore 15:40 Jürgen Spitzmüller < jspi...@gmail.com> ha scritto: > Am Samstag, dem 04.03.2023 um 15:21 +0100 schrieb Mario D: > > Nevertheless, it looks like a bit weird, as workaround: it results in > > a symlink pointing to himself which gives a sort of infinite > > re

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Jürgen Spitzmüller
Am Samstag, dem 04.03.2023 um 15:21 +0100 schrieb Mario D: > Nevertheless, it looks like a bit weird, as workaround: it results in > a symlink pointing to himself which gives a sort of infinite > recursion into itself! Granted. It's a workaround. > What I don't like of this hack, apart from this

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Mario D
Il giorno sab 4 mar 2023 alle ore 14:20 Jürgen Spitzmüller < jspi...@gmail.com> ha scritto: > > As I wrote, LaTeX does not allow this for security reasons. You can > only write file within the directory within which LaTeX is performed. > And this is the tmp directory. > Ok, now I see it and I und

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Jürgen Spitzmüller
Am Samstag, dem 04.03.2023 um 13:58 +0100 schrieb Mario D: > Jurgen, > maybe I didn't explain myself correctly. I think you did. > What I (the user) would expect to happen is that when I compile with > Lyx then the files > > test-figure0.dpth > test-figure0.log > test-figure0.md5 > test-figure0.

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Mario D
Jurgen, maybe I didn't explain myself correctly. My setting is as follows: I have my file test.lyx in my current dir, let's say $HOME/test It uses the library "external" with option \tikzexternalize[prefix=picts/] The directory "$HOME/test/picts" DOES already exist (in my current working directo

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Jürgen Spitzmüller
Am Samstag, dem 04.03.2023 um 09:24 +0100 schrieb Jürgen Spitzmüller: > If you really want to have this subdir for some reason, you need to > include a routine that creates it. Since you have --shell-escape > enabled anyway, the most simple solution would be: > > \usepackage{shellesc} > \ShellEsca

Re: Bug in running external program (-shell-escape)

2023-03-04 Thread Jürgen Spitzmüller
Am Freitag, dem 24.02.2023 um 11:56 +0100 schrieb Mario D: > It looks like I have found a bug using the external library in lyx: > if you pass the option > \tikzexternalize[prefix=some_dir/] > then lyx is not able to create the subdir "some_dir" in its temporary > working dir under the /tmp tree,

Re: Bug in running external program (-shell-escape)

2023-03-03 Thread Paul A. Rubin
On 2/24/23 05:56, Mario D wrote: It looks like I have found a bug using the external library in lyx: if you pass the option \tikzexternalize[prefix=some_dir/] then lyx is not able to create the subdir "some_dir" in its temporary working dir under the /tmp tree, which results in a compilation err

Bug in running external program (-shell-escape)

2023-02-24 Thread Mario D
It looks like I have found a bug using the external library in lyx: if you pass the option \tikzexternalize[prefix=some_dir/] then lyx is not able to create the subdir "some_dir" in its temporary working dir under the /tmp tree, which results in a compilation error since lyx is not able to write th