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.
326
questions
0
votes
0
answers
23
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
208
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 ...
0
votes
1
answer
39
views
Why can't tikzexternalize write to a directory above
I use the command
\tikzexternalize[prefix=../figures-tikz/]
and I got the error message
! I can't write on file `../figures-tikz/BQ-m-meca_0.md5'.
If on the other hand I write the command
\...
0
votes
0
answers
29
views
Using `--cnf-line` to add `pygmentize` to `shell_escape_commands` ad hoc
I noticed the command-line flag --cnf-line, which can be used for lualatex (and related commands) and is described in its help page (lualatex --help) as follows (formatted for clarity):
--cnf-line=...
1
vote
0
answers
57
views
How to get Anki working with TikZ-based packages in 2024?
I want to learn the LaTeX language to study chemistry with chemfig package and make Anki flashcards. The problem is that I am unable to make it work with Anki (normal LaTeX works fine)
I tried these ...
0
votes
0
answers
22
views
Automatically running nomenclature makeindex (on mac)
When I update the nomenclatures in my beamer presentation (file.tex) using texstudio on my mac, I run on the terminal command line:
makeindex file.nlo -s nomencl.ist -o file.nls
This works, but is a ...
0
votes
0
answers
37
views
Link on pdf triggers .sh/.py/.bat
I have been looking for a while for a solution in LaTex. My intention is to create a link inside a PDF generated with LaTex that triggers a .sh/.py/.bat by clicking in the link. Not like \write18, ...
4
votes
1
answer
79
views
LuaLatex and intersection segments: Error only with Lua
I need to use LuaLatex with my document and somehow run into an error while compiling a plot. I reduced my document to the following MWE:
\documentclass{scrartcl}
\usepackage{shellesc}
\usepackage{...
1
vote
2
answers
87
views
How to create indexes using the songs package in overleaf
I'm creating a songbook using the songspackage. I'm very new to LaTex and opted to use overleaf which has worked good, the only problem I really have is with the index.
I'm using an older base ...
1
vote
1
answer
66
views
Why "shellesc" conflicts with "tabularx" and how to fix?
This is the code that works just fine:
\documentclass{article}
\usepackage{shellesc}
\begin{document}
\begin{tabular}{lr}
hello!
&
\ShellEscape{/bin/echo 'hello!' > a.tex}
\...
1
vote
1
answer
58
views
Print output of `\write18` in the log file
When running commands like:
\immediate\write18{ls}
in the command line, I can see the output in the command line directly in the terminal, which is practical for instance to get error messages. ...
0
votes
0
answers
149
views
.eps files not working with pdfLaTeX
As the title suggests, I'm trying to use .eps files for my figures but pdfLaTeX can't seem to find the converted PDFs.
Package pdftex.def: File `Figures/fragment 1ab-eps-converted-to.pdf' not found: ...
2
votes
1
answer
207
views
Markdown package not working despite `--shell-escape` enabled
I am trying to use this markdown package. I tried to compile the document
\documentclass{article}
\usepackage{markdown}
\begin{document}
\begin{markdown}
_Hello,_ [Stack Exchange](http://...
5
votes
1
answer
405
views
How to change the shell used by \write18?
I'm on macOS (the same happens on Ubuntu). Here is my default/current shell:
$ ps -p $$
PID TTY TIME CMD
5835 ttys002 0:00.13 -bash
Then, here is my document foo.tex:
\documentclass{...
1
vote
1
answer
82
views
How to restore Texstudio to the configuration before using "latex --shell-escape"
today I implemented (with my Macbook) the answer from: Export eps figures from TikZ, where I ran the CLI command:
latex --shell-escape
Up until then I used Texstudio without issues. After that, ...