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

How to enable shell-escape latex option? #31

Open
OmarAshkar opened this issue Oct 27, 2021 · 2 comments
Open

How to enable shell-escape latex option? #31

OmarAshkar opened this issue Oct 27, 2021 · 2 comments

Comments

@OmarAshkar
Copy link

OmarAshkar commented Oct 27, 2021

Hi,

Thank you for that package. I am using Snw noweb+r-mode and I set TeX-command-extra-options to --shell-escape, both locally and globally. Yet, when I export I got an error that I have not set shell-escape.

What am I missing here?

Thank you

Edit:

I also have problems with the bibliography. The references are not created correctly.

@vspinu
Copy link
Contributor

vspinu commented Oct 27, 2021

Could you please provide more details of what you do concretely with an explicit error what you get?

@OmarAshkar
Copy link
Author

  • mode: poly-noweb+r-mode
  • I run polymode-export with sweave and pdflatex
  • Have this set
(setq TeX-command-extra-options "--shell-escape")

I am using a latex package called svg. It compiles and render svg files automatically to pdf. However, it requires --shell-escape command. My main error say the following

Package svg Warning: You didn't enable `shell escape' (or `write18')
(svg)                so it wasn't possible to launch the Inkscape export

Also, biblatex reference are not compiled at all. I just get the bibtex id displayed.

Things work well in normal LaTeX mode though.

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