Questions tagged [shell-escape]
{shell-escape} is about the “--shell-escape” argument, i.e. to enable external running of commands from inside the ‘.tex’ file.
339 questions
3 votes
0 answers
82 views
latexmk and numerical calculus - Failure with --shell-escape
The following TeX file is well managed when invoking latexmk -pdf -pdflatex="lualatex" main.tex, but latexmk fails when used with latexmk -pdf -pdflatex="lualatex --shell-escape" ...
0 votes
1 answer
43 views
pdflatex + Cygwin bash: shell escape is not working?
So, yesterday I had a strange issue with shell escaping Cygwin. Today, I found a fix for that (though I still have no idea how that issue arises) and I want to share it. But, the previous question's ...
0 votes
1 answer
68 views
How to compile front matter without the document body?
In my custom class, I would like to compile separately the front matter of a document and generate the whole document itself (with the front matter in it). Is there a way to remove the content of the ...
5 votes
1 answer
116 views
\sys_get_shell:nnNTF with error
If the terminal command executed \sys_get_shell:nnNTF errors, it seems that the variable saving the output is empty. However, I cannot check that with \IfBlankTF. \documentclass{article} \...
4 votes
2 answers
243 views
Is it possible to make tcblisting to illustrate the result of python code?
Since we can use tcolorbox's tcblisting to illustrate the LaTeX source code and its output , I wonder if it is possible to make python , racket or any other language executing the content of ...
0 votes
1 answer
91 views
Only allow shell-escape on certain code sections
For security reasons, is it possible to allow only selected LaTeX code sections in my file to call external programs, if compiling with shell-escape? Basically, just enabling shell-escape right before ...
0 votes
2 answers
152 views
Computing SHA256 of input file in LaTeX [closed]
There is a post here that describes how to get the MD5 of a file. Is there something similar but for newer hashing algorithms (i.e. SHA256, or even SHA1)?
0 votes
0 answers
411 views
minted package not working in vscode and latex workshop
I've decided to move my thesis from overleaf to my local pc. After some finagling, everything compiles as it should, except for minted Specifically, I'm getting these two stubborn errors: /run/media/...
1 vote
0 answers
67 views
Strange loop behavior with latexmkrc and --shell-escape option in exam-zh package?
This problem is highly correlated with the exam-zh package here. Which required the XeLaTeX engine to compile the Chinese Exam-Package(compared with the exam package). The exam-zh package provided the ...
0 votes
0 answers
80 views
rdfref, lualatex, dot2tex, --shell-escape works, but not with --output-dir
A new latex pkg is developped in rdfref I copy a MWE (using that package sorry) What works: lualatex --shell-escape mwe.tex What does not work: lualatex --shell-escape --output-dir=build mwe.tex ...
1 vote
1 answer
91 views
What commands to include in shell_escape_commands to enable inkscape for pdflatex?
I use the svg package to generate an image (pdf file) with inkscape. How should I set "shell_escape_commands" in texmf.cnf to make this work? When I set "shell_escape = t" in texmf....
2 votes
1 answer
194 views
Why latexmk is not able to run -shell-escape with auxdir?
I am exploring all the possibilities of latexmk since it is used as default in Overleaf, and found nice to be able (locally not on Overleaf) to specify the auxdir so my build-files are not polluting ...
1 vote
1 answer
767 views
Externalize on Overleaf
I am using a template given by my uni and running it on ShareLatex/Overleaf. I am currently running into an issue when trying to plot more data using tikz, that gives the follwoing error: TeX capacity ...
0 votes
2 answers
151 views
Use of the package 'bodeplot' giving warnings and doesn't produce the plot
I am just a beginner and am writing my first report in LaTeX, so excuse me if the solution is very obvious. I am trying to plot asymptotic approximation of bode plots using the package bodeplot as ...
6 votes
1 answer
321 views
pdflatex, include eps file, run with -no-shell-escape => no error/warning/message but broken output
When running pdflatex -no-shell-escape on a file that includes an eps file, the automatic conversion to pdf will not be executed and the images not included. I am surprised that in this case: there ...