polymode / poly-R

Polymodes for the R language
52 stars 10 forks source link

How to enable shell-escape latex option? #31

Open OmarAshkar opened 3 years ago

OmarAshkar commented 3 years ago

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 commented 3 years ago

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

OmarAshkar commented 3 years ago

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.