From: Scott Kostyshak Date: Tue, 19 Feb 2013 05:54:36 +0000 (-0500) Subject: sweave.lyx: generate both pdf files and eps files X-Git-Tag: 2.1.0beta1~642 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3d8065923defa3dc34c443c4195c82b729505da2;p=lyx.git 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. --- 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