Latex configuration
The latex commands are certainly useful.
However it comes to a situation that I want to customize my recipe and aux output directory. E.g. put the aux files in ./build/, easily switch recipe and build tools for different projects, or produce .pdf by default. In VSC (with Latex Workshop) I can configure all these using a .json file. Is there any configuration command or file for those?
For good and for bad, a-Shell reproduces the experience of Unix terminal. You have the same commands, with the same options (or lack thereof). You'll have to look at the man page for pdflatex, or check if someone had the same question in https://tex.stackexchange.com.
latexmk is a tool that calls latex with many options, which may be what you're looking for. There is also pdflatex -output-directory build.
For good and for bad, a-Shell reproduces the experience of Unix terminal. You have the same commands, with the same options (or lack thereof). You'll have to look at the man page for
pdflatex, or check if someone had the same question in https://tex.stackexchange.com.
latexmkis a tool that calls latex with many options, which may be what you're looking for. There is alsopdflatex -output-directory build.
I did tried the -output-directory option. It will put all output files into ./build/, while I want to change ditecrory of the aux files only. Some compilers/tools have a -aux-directory for that. Also I didn't find relavent manual.
Ah I misused latex as latexmk, there is a -aux-directory option, ty.
Thank you for telling me about the lack of man pages. I'll fixe that in the next version.
Ah I misused
latexaslatexmk, there is a-aux-directoryoption, ty.
When I use latexmk -aux-directory build -output-format pdf or latexmk -auxdir build -output-format pdf, it gives error "Latexmk: -auxdir unknown option" and "Latexmk: -output-directory unknown option", seems like latexmk is not working.