Open jdujava opened 1 month ago
This is already covered by the set output directory
option, like in:
\robExtConfigure{
set output directory={.aux}
}
I just tried to be sure and it works on my side, so I'll close the issue. If you still experience an issue with this option, please re-open with a full example.
Thank you for looking into this!
I tried precisely that. The directory .aux/robustExternalize
is created, but there seems to be a problem with compiling the robExt-6____F.tex
file, see ___-compilation.log
below.
latexmk
from neovim
with vimtex
plugin (runs something like latexmk -verbose -file-line-error -synctex=1 -interaction=nonstopmode -pdf -emulate-aux-dir -auxdir=.aux
)
$ latexmk --version
Latexmk, John Collins, 31 Jan. 2024. Version 4.83
Do you have any idea where the problem could be? @tobiasBora Would like to reopen the issue, but I don't have the option :).
Really?? That is really confusing, I tried to run it with exactly your command and files and it works for me:
I’m wondering, how have you installed robust-externalize? Maybe you have an outdated version, can you try by downloading the .sty
file from github and put it at the root of your project, and run exactly the above commands?
Really?? That is really confusing, I tried to run it with exactly your command and files and it works for me:
Indeed, it really is confusing. I have installed latest texlive
on Arch. Anyway, even with .sty
from github, the compilation hangs.
Running following script hangs on compiling .aux/robustExternalize/robExt-____.tex
. Below, I include both output until hang, and also after aborting with Ctrl+d
.
#!/bin/sh
# minimal-example.sh
echo "———————————— \$ ls -la"
ls -la
echo "———————————— \$ cat .latexmkrc"
cat .latexmkrc
echo "———————————— \$ sha256sum .latexmkrc"
sha256sum .latexmkrc
echo "———————————— \$ cat example.tex"
cat example.tex
echo "———————————— \$ sha256sum example.tex"
sha256sum example.tex
echo "———————————— \$ head robust-externalize.sty"
head robust-externalize.sty
echo "———————————— \$ sha256sum robust-externalize.sty"
sha256sum robust-externalize.sty
echo "———————————— \$ latexmk -verbose -file-line-error -synctex=1 -interaction=nonstopmode -pdf -emulate-aux-dir -auxdir=.aux example.tex"
latexmk -verbose -file-line-error -synctex=1 -interaction=nonstopmode -pdf -emulate-aux-dir -auxdir=.aux example.tex
echo "———————————— \$ tree -a"
tree -a
echo "———————————— \$ cat .aux/robustExternalize/*.log"
cat .aux/robustExternalize/*.log
Do you have any idea why this might be the case? I noticed that your latexmk
also found .latexmkrc
in home directory, do you have there anything possibly relevant?
Let's have (for example) the following
aux_dir
setup forlatexmk
in the file.latexmkrc
(I like to avoid clutter of
aux/log/...
files betweentex
files)I was unable to figure it out (worked fine wihout custom
aux_dir
), I always obtained errors of the typeeven if I tweaked some configuration options from subsection
6.3.5 Configuration of the cache
in documentation.Is there a way to get it to work, or perhaps it needs to be implemented on
robust-externalize
side (something likeset output directory
, just foraux directory
)? I will gladly provide additional information on my setup, what I tried and what was failing.