]> git.lyx.org Git - features.git/commitdiff
RJournal.layout: remove unneeded code
authorScott Kostyshak <skostysh@lyx.org>
Tue, 21 May 2013 05:28:26 +0000 (01:28 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 21 May 2013 05:28:26 +0000 (01:28 -0400)
Part of this code was moved to the template in a previous commit
and part was removed because it is no longer needed.

Patch by Yihui Xie.

lib/layouts/RJournal.layout

index f7cca92056346b740590356ffaaef3254b01b681..19e49b644dff027f66caa00910957a025d99bd0b 100644 (file)
@@ -18,13 +18,6 @@ AddToPreamble
        \bibliographystyle{abbrvnat}
        \usepackage{booktabs}
 
-       % use Schunk, Sinput and Soutput environments defined by RJournal
-       <<include=FALSE>>=
-       render_sweave()
-       set_header(highlight = '')
-       knit_hooks$set(document = hook_rjournal)
-       @
-
        \fancyhf{}
        \fancyhead[LO,RE]{\textsc{Contributed Article}}
        \fancyhead[RO,LE]{\thepage}