Closed arnavs closed 4 years ago
Please make sure the missing files are present.
You probably want to change the working directory like this:
with:
root_file: your_main.tex
working_directory: paper_drafts
Also, I think you should try to build the LaTeX locally. Using cd < working_directory >; latexmk -pdf <your_main.tex>
. If there are any problem, you should address it by yourself.
I tried various flags (both the defaults, and the suggested -f), with no luck.
I am not sure what these flags you are referring to? There is no -f
suggested anywhere.
The PDF builds locally without any issue. The missing file is a simple include (which also exists,) and shouldn’t be fatal.
The f flag is the one recommended by the error message.
The most common reason is that you are in the wrong working directory. Have you tried my suggestion in the above? To reproduce the problem locally, please make sure that you are invoking the compile command in the same directory as that in the CI environment. Noted that in LaTeX, the relative path is not resolved based on the current tex file but based on the current working directory.
Huh. This did the trick. I thought the hard paths coming out of the blahblahblah.tex
would be enough.
Thanks for pointing out the key-value pair.
I've been having a bit of trouble with this extension. Namely, in response to the error below (failing to include a
tex
snippet), I tried various flags (both the defaults, and the suggested-f
), with no luck.I'm posting on the assumption that the flags are not going through to the compiler. But please close if that's not the case.