Re: LyX with bashful package

2016-08-30 Thread Paul A Rubin


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

Hi,

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

\usepackage{bashful}

and then add a simple test as ERT:

\bash[stdout]
ls -F ~/Documents
\END

But I get the following error:

 \END
^^M
*** (cannot \read from terminal in nonstop modes)

Any suggestions are appreciated.

R.
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

to

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.


Paul



LyX with bashful package

2016-08-30 Thread Ron Stone
Hi,

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

\usepackage{bashful}

and then add a simple test as ERT:

\bash[stdout] <> <> <>ls -F ~/Documents <> <> <>\END <>

 <>
But I get the following error:

 \END
^^M
*** (cannot \read from terminal in nonstop modes)

Any suggestions are appreciated.

R.
 <>