Commit Graph

12 Commits

Author SHA1 Message Date
Georg Baum
6b49b6b129 Fix conflicting inset font defaults (bug #8874)
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit()
compatible. There is no user visible change except for the Chunk inset which
does not produce invalid LaTeX after editing operations anymore.
This is the safe version for 2.1.0, for later there are still open questions:
- All insets with ResetsFont true should be audited: Is this really needed,
  or do they show similar editing problems as the Chunk inset?
- Does inheritFont() need to be customizable in the layout file as well?
- Is resetFontEdit() != !inheritFont() needed at all?
I did not use change tracking for the docs, since I updated all existing
translations.
2014-02-10 22:06:32 +01:00
Scott Kostyshak
ea89d17dd4 Put RJournal.layout in the report category
Also add author details.
2013-10-13 15:12:45 -04:00
Scott Kostyshak
3ebdbe65d3 Update RJournal.layout to v0.12 of RJournal.sty
Without this, the template gives a BibTeX error because
there are two \bibstyle commands in the .aux.

This would have broken backwards compatibility but RJournal.layout
has not yet been in a LyX release. Further, the journal made a
significant change (moving to a single column instead of two)
so any submitter would need to update the .sty anyway.
2013-08-21 16:15:15 -04:00
Scott Kostyshak
0ccde6590d RJournal.layout: package 'url' is already provided
This fixes an option conflict error when using
RJournal.sty v0.12 (the newest).

Previous versions of the .sty also provided 'url'
so they should still work with the layout.
2013-08-21 15:53:47 -04:00
Vincent van Ravesteijn
d27668841b Update layouts to latest fileformat 2013-06-04 19:48:19 +02:00
Scott Kostyshak
32a5a06db5 RJournal.layout: remove unneeded code
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.
2013-05-21 01:28:26 -04:00
Scott Kostyshak
9e425a0547 RJournal: use 'classic' decoration for email inset
This makes it clear that

  (1) the emails are in their own insets
  (2) the \email command is embedded in the \address command
2013-05-16 22:56:56 -04:00
Scott Kostyshak
43f52ccd64 RJournal: set ForcePlain to 'true' for email inset
This prevents the user from some mistakes, such as
embedding an itemize or ennumerate environment.
2013-05-16 22:56:31 -04:00
Scott Kostyshak
f40322081b RJournal: change 'Address' Flex inset into a Style
This looks better and gives natural separation between multiple
authors.
2013-05-16 22:55:56 -04:00
Scott Kostyshak
9d7d7c3816 RJournal: change 'Abstract' from a Flex to a Style
This looks more consistent with other templates to me.
2013-05-16 22:55:03 -04:00
Scott Kostyshak
4beba4e8f8 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.
2013-05-16 22:51:22 -04:00
Scott Kostyshak
0d434033ec Add a layout and template for the R Journal
Patch by Yihui Xie.
2013-05-16 22:49:24 -04:00