]> git.lyx.org Git - features.git/commit
RJournal template and layout: move ERTs to layout
authorScott Kostyshak <skostysh@lyx.org>
Wed, 8 May 2013 03:56:24 +0000 (23:56 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 17 May 2013 02:51:22 +0000 (22:51 -0400)
commit4beba4e8f87ca218473448caf10563b99faf7b21
tree9c12f880fecd8ef063029724ce00b28da7263088
parente99a8b7c6718a48b5bec0598fc68939a291b1ba2
RJournal template and layout: move ERTs to layout

The layout now takes care of \begin{article} and \end{article}
by using \AtBeginDocument and \AtEndDocument.

This cleans up the template a little by removing some ERT. The
user no longer needs to read the two notes explaining why the
ERT boxes were necessary. The user also does not need to think
about why this LaTeX environment exists.
lib/layouts/RJournal.layout
lib/templates/RJournal.lyx