Linked Questions

100
votes
2answers
16k views

Why does an environment's label have to appear after the caption?

\documentclass{article} \usepackage{algorithm} \begin{document} \setcounter{section}{54} \section{A section with no label} \begin{algorithm} \label{myalg} \caption{An algorithm with the label `myalg'....
44
votes
1answer
11k views

What does --shell-escape do?

I stumbled upon an example, which needed to be compiled with the additional option --shell-escape. Using this option it worked just fine, but I'm curious: Why or when is this option needed and what ...
24
votes
2answers
39k views

How can I enable write 18 on a MikTeX installation

I have tried my best, but don't seem to get this one right. How do I enable shell escape in MikTeX? Why XeLaTeX comes with a default for shell escape but not LaTeX?
6
votes
1answer
10k views

Shell-escape in Texmaker

This is a frequently asked question but none I have seen actually helped me. My problem is that I installed gnuplot 5 and I have not been able to make it work in the TeXWorks. The figure I have been ...
1
vote
2answers
6k views

error during pdflatex; geometry-eps-converted-to.pdf' not found

When running pdflatex the following errors occurred:" ! Package pdftex.def Error: File `geometry-eps-converted-to.pdf' not found. ! Package pdftex.def Error: File `force-eps-converted-to.pdf' not ...
2
votes
3answers
5k views

EPS Figure is cutoff on right when built to pdf, .eps is fine

I have to make an .eps file from a large png for publication in PRL. When viewing the .eps in ghostscript/inkscape/illustrator/... it looks fine, but when I build it into a pdf using latex -> DVI -> ...
6
votes
1answer
1k views

TeX figure to .png

Let me begin with a confession: when someone says ``command line'' I nearly pee because I get so scared. I know that means I'm asking my question to the wrong community, and yes, I'm seeing someone ...
2
votes
1answer
2k views

Compile with TikZ external library

As explained in the pgf manual under 32.4 and in various other questions/comments here on TeX.sX (https://tex.stackexchange.com/a/44508/9077, https://tex.stackexchange.com/a/32363/9077, https://tex....
0
votes
0answers
1k views

Minted: -shell-escape flag [duplicate]

I'm trying to get some source code into my tex-document but only get the error message mentioned in the thread title. I disabled nearly all of the other packages I use but it did not work. \...
1
vote
0answers
539 views

Including .svg images error

Why this code doesn't work? \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage[ a4paper, margin=15mm, bindingoffset=2mm, ...
1
vote
1answer
289 views

What can I do to print the nomenclature here?

I previously used nomencl without issues, but I recently got this problem I cannot solve. Below you can find a MWE. I use TeXworks. The first line comes from here. Even after multiple runs of the "...
3
votes
1answer
130 views

pgfplots with gnuplot not showing graph for f(x) = 10517/x

I'm using fixed axes. pgfplots with gnuplots doesn't draw the line of the graph when I specify these axis dimensions: \begin{tikzpicture} \begin{axis}[ height=6cm, width=6cm, xmin=8, ...
1
vote
1answer
188 views

How to handle this error while running LaTeX? [duplicate]

What is the reason for the following error? Package minted Error: You must invoke LaTeX with the -shell-escape flag.
1
vote
1answer
196 views

Problems with package pgfplots

I'm trying to plot a sine wave, however, when I run it, the following error results: Package pgfplots Error: Sorry, the gnuplot-result file 'main.sin.table' could not be found. Maybe you need to ...
1
vote
0answers
100 views

Weird bodegraph output [closed]

I've tried to make a bodegraph with the bodegraph package and gnuplot. I'm using TexLive and TexStudio on a Windows 10 computer. I get red axes and no graph, only the axes. \documentclass{article} ...