question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configure shell escape output directory

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jlelongcommented, Aug 16, 2019

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.

0reactions
tamuratakcommented, Aug 22, 2019

Feel free to reopen if any progress.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found