On 08/30/2016 10:46 AM, Ron Stone wrote:

Has anyone successfully used bashful with LyX. I load the package:


and then add a simple test as ERT:

ls -F ~/Documents

But I get the following error:

*** (cannot \read from terminal in nonstop modes)

Any suggestions are appreciated.

You need to add '-shell-escape' (without the quotes) to the command that compiles the document. For instance, if you like to use pdflatex, go to Tools > Preferences > File Handling ... > Converters and select the LaTeX (pdflatex) -> PDF (pdflatex) converter. In the Converter: box, change

pdflatex $$i


pdflatex -shell-escape $$i

and click Modify by either Apply (for a test) or Save (if you want this as a permanent setting). With that change, View [pdflatex] should work.


Reply via email to