Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to generate the documentation #36

Closed
JJ opened this issue Sep 8, 2019 · 2 comments
Closed

Error when trying to generate the documentation #36

JJ opened this issue Sep 8, 2019 · 2 comments

Comments

@JJ
Copy link

JJ commented Sep 8, 2019

pdflatex proyecto.pdf stops with

! Package minted Error: You must invoke LaTeX with the -shell-escape flag.

Related to #35

@jmv74211
Copy link
Owner

jmv74211 commented Sep 8, 2019

Hello @JJ .

Minted is a package that allows formatting and highlighting source code in LaTeX.

I'm not currently using it in the documentation (although it's added in the section headers). The reason why it is added is that I intended to use it in later sections.

I'm going to comment this package for now, since I'm not using it, but in case I activate it again, the solution to this problem is described in the following link: https://tex.stackexchange.com/questions/99475/how-to-invoke-latex-with-the-shell-escape-flag-in-texstudio-former-texmakerx

In my case, I'm using TeXstudio, and I had to do the following configuration:

Click on the following menu:

Options > Configure TeXStudio > Commands 

and change:

pdflatex -synctex=1 -interaction=nonstopmode %.tex

into


pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex

The following image shows this change:

imagen

Regards.

jmv74211 added a commit that referenced this issue Sep 8, 2019
@JJ
Copy link
Author

JJ commented Sep 8, 2019

@jmv74211 Put that in a Makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants