From 3d8065923defa3dc34c443c4195c82b729505da2 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Tue, 19 Feb 2013 00:54:36 -0500 Subject: [PATCH] sweave.lyx: generate both pdf files and eps files In the figure chunks, now both pdf and eps files are generated. This way all of latex, pdflatex, and luatex work out of the box. --- lib/examples/sweave.lyx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/examples/sweave.lyx b/lib/examples/sweave.lyx index 6d758fa462..ccf0f070ca 100644 --- a/lib/examples/sweave.lyx +++ b/lib/examples/sweave.lyx @@ -891,12 +891,23 @@ status open \begin_layout Plain Layout \align center +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Both eps and pdf are set to true so that both latex and pdflatex work. + In practice, you would probably just choose one. +\end_layout + +\end_inset + + \begin_inset ERT status open \begin_layout Plain Layout -<>= +<>= \end_layout \begin_layout Plain Layout @@ -955,7 +966,7 @@ status open \begin_layout Plain Layout -<>= +<>= \end_layout \begin_layout Plain Layout