Skip to main content

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.

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 ...
caramalizedTomato's user avatar
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 ...
norbert's user avatar
  • 8,347
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 \...
rpapa's user avatar
  • 12.4k
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=...
steve's user avatar
  • 2,256
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 ...
Fancôme's user avatar
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 ...
rhz's user avatar
  • 225
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, ...
picgon's user avatar
  • 1
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{...
AcademicCoder's user avatar
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 ...
Benja S's user avatar
  • 13
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} \...
yegor256's user avatar
  • 12.2k
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. ...
tobiasBora's user avatar
  • 8,964
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: ...
m0n74g3's user avatar
  • 77
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://...
Bubaya's user avatar
  • 2,549
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{...
yegor256's user avatar
  • 12.2k
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, ...
Ignasi Piqué Muntané's user avatar

15 30 50 per page
1
2 3 4 5
22