Configure shell escape output directory
See original GitHub issueI have a bunch of standalone files which require shell escape to build. Following the guidance here, I added the option -shell-escape
to pdflatex
. However, my custom output directory
"latex-workshop.latex.outDir": "%DIR%/.tmp",
does not appear to extend to shell escape mode. I tried to manually set the output directory as shown below but without success.
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"-pdflatex=pdflatex -shell-escape -aux-directory=%OUTDIR% -output-directory=%OUTDIR% %S",
"%DOC%"
]
},
]
How can I get the output of standalone files to end up in latex-workshop.latex.outDir
?
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (1 by maintainers)
Top Results From Across the Web
In Luatex, how to know effective output directory? - TeX
I need to know what is the actual output directory, as set by the -outdir or -output-dir command line switch, because I am...
Read more >How to Escape from Restricted Shells | 0xffsec Handbook
Look for writable variables. Execute export -p to list exported variables. Most of the time SHELL and PATH will be -rx , meaning ......
Read more >How can I escape white space in a bash loop list?
First, don't do it that way. The best approach is to use find -exec properly: # this is safe find test -type d...
Read more >28.1 Command line options
These are the command-line options relevant to ordinary document authoring. For a full list, try running ' latex --help ' from the command...
Read more >Navigating Files and Directories – The Unix Shell - Our Lessons
Use options and arguments to change the behaviour of a shell command. ... Your output should be a list of all the files...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please post a MWE along with your configuration to see if we can reproduce the issue otherwise we may both waste our time not speaking the same language.
Feel free to reopen if any progress.