Sysquake for LaTeX and Lyx

36 views
Skip to first unread message

fromSpain

unread,
Feb 14, 2008, 4:34:45 PM2/14/08
to Sysquake
Hi guys
Now that I have sysquake for Latex running perfectly I want to be able
to run sysquake for Latex from Lyx. Everything works except that I
have been unable to figure out how to compile the Lyx document (latex
or pdflatex) with the -enable-write18 option.
Any ideas?

jose

fromSpain

unread,
Feb 14, 2008, 5:19:49 PM2/14/08
to Sysquake
Figured it out...
Go to
Tools>Preferences
Then go to
Converters
Select
LaTeX (pdflatex)-> PDF (pdflatex)
Where it says
Converter: pdflatex $$i
Change so that it reads
Converter: pdflatex $$i -enable-write18
Then click on the Modify button (Left-top)
Then click on the Apply and Save buttons (Left-bottom)
Restart Lyx and you're ready to go!

Yves Piguet

unread,
Feb 14, 2008, 5:55:55 PM2/14/08
to Sysquake
Thanks for the explanation, Jose. Just to complete it, on Mac OS X and
Linux, the LaTeX -> PDF converter should be

pdflatex -shell-escape $$i

Add the required packages (with your preferred options) to LaTeX
preamble in menu Document>Settings:

\usepackage{sysquake}
\usepackage{graphicx}
\usepackage{epstopdf}

In your document, insert commands such as \begin{sysquake} or
\sqexpr{...} with menu Insert>TeX Code.

Enjoy!

Yves

Reply all
Reply to author
Forward
0 new messages