On Sun, Oct 30, 2011 at 09:45:20AM +0100, Georg Baum wrote:

> PhilipPirrip wrote:
> 
> > I hoped to have my grace files included into a document and being able
> > to produce a pdf (by pdflatex), but that seems not to work. Grace simply
> > does not export to PDF.
> > I tried to chain the conversion process in LyX under Linux, but that
> > seemed not to work:
> > gracebat -hardcopy -printfile out.eps -hdevice EPS $$i ; ps2pdf13
> > out.eps $$o
> 
> It would work if you created a script with similar contents. Characters like 
> ; and | are filtered out from the commands by LyX for security reasons.

Not quite. That's because QProcess doesn't allow them and I had both no
time and sufficient motivation to support shell metacharacters in the
parser that I had to write for letting things work. I find that allowing
; and | entails no security risk (as they are not taken from random
external sources, but directly from the user) and they are useful for
exactly the reason that you are not forced to write a script for cases
like this.

-- 
Enrico

Reply via email to