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.
This commit is contained in:
Scott Kostyshak 2013-02-19 00:54:36 -05:00
parent df6589a97e
commit 3d8065923d

View File

@ -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
<<iris-pairs,fig=TRUE,width=4.5,height=4.5>>=
<<iris-pairs,fig=TRUE,width=4.5,height=4.5,eps=TRUE,pdf=TRUE>>=
\end_layout
\begin_layout Plain Layout
@ -955,7 +966,7 @@ status open
\begin_layout Plain Layout
<<iris-boxplots,fig=TRUE,width=7,height=2,keep.source=F>>=
<<iris-boxplots,fig=TRUE,width=7,height=2,keep.source=F,eps=T,pdf=T>>=
\end_layout
\begin_layout Plain Layout