Commit Graph

1011 Commits

Author SHA1 Message Date
Richard Heck
4106fe37ac Use counter for new chunk insets, and set it to 2 in knitr and
sweave modules.
2013-06-01 17:42:36 -04:00
Juergen Spitzmueller
49665c9b68 Correctly categorize new layouts 2013-05-31 11:00:39 +02:00
Uwe Stöhr
28063d7c82 powerdot.layout: fix a typo spotted by Siegfried 2013-05-30 19:28:29 +02:00
Uwe Stöhr
f33454b3c7 LaTeXFeatures.cpp: add rsphrase
- also modify the rsphrase.module
- correct naming scheme for the bicaption.module
2013-05-30 18:15:44 +02:00
Uwe Stöhr
a2e6fc773a LaTeXFeatures.cpp: add multicol and shapepar 2013-05-30 17:55:21 +02:00
Uwe Stöhr
059dad2ace update support for multicolumns
- Additional.lyx: update description and convert some TeX code to the multicolumn inset
- multicol.module: restore the preamble settings that was accidentally removed bin the previous commit
2013-05-30 17:17:34 +02:00
Uwe Stöhr
0a1c8944a1 multicol.module: style refinements by Jürgen
- fixes bug #8568
2013-05-30 16:45:32 +02:00
Richard Heck
8f044f3c95 Patch to convert Sweave chunk paragraphs to insets (bug #8588). Work
by Liviu (C++) and Richard (Python).
2013-05-30 10:20:34 -04:00
Uwe Stöhr
6c0bc842b7 moderncv.layout: support the command \social
- \social can be used for social network addresses in the address block
2013-05-29 01:11:14 +02:00
Uwe Stöhr
d12f7440fb aastex.layout: cleanup the file
- rearrange the style definitions in the order they should appear
- remove the hackish ordering
2013-05-29 00:20:53 +02:00
Richard Heck
246b3d79e6 Enumerate isn't always defined when the case stuff is included. 2013-05-28 13:32:17 -04:00
Juergen Spitzmueller
88e57fdca9 Fix some double layout deletions (part of #8619) 2013-05-28 19:07:52 +02:00
Richard Heck
a9614f15d2 We already allowed a counter declaraton for flex insets. We just
didn't do anything with it. So let's do something with it.

Fixes bug #8470.
2013-05-28 00:11:43 -04:00
Uwe Stöhr
a6f6f79eb1 A&A support: further updates
- mention that the aa class loads natbib to avoid compilation errors
- the aa package contains an outdated an customized version of natbib.sty. This file only works with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX
- add a note about the encoding
2013-05-26 17:55:10 +02:00
Uwe Stöhr
e28625160a aa.layout: updated for A&A 8.2 2013-05-26 05:29:24 +02:00
Uwe Stöhr
5002ef33f0 aa: fix compilation of the templates/aa.lyx
- aa already loads inputenc
2013-05-26 03:04:59 +02:00
Richard Heck
01add2d52f Layouts for ACMS SIGS styles, contributed by Gioele Barabucci. 2013-05-23 15:11:19 -04: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
Uwe Stöhr
8f9520eda5 AEA.layout: restore a style
- I accidentally deleted this style in previous commit
2013-05-18 20:51:02 +02:00
Uwe Stöhr
efcd04c9f2 AEA.lyx/layout: update templates/AEA.lyx
- make template compilable
- update it according to the latest AEA guidelines
- add 4 missing styles to the layout:
* \keywords
* \JEL
* figurenotes environment
* tablenotes environment
2013-05-18 20:36:26 +02: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
Julien Rioux
cde541d785 New \cite_engine_type default.
The default citation capability of LaTeX is not a true numerical
citation engine, rather it uses a mixture of labels/numbers. Thus
we now distinguish them: "numerical" always increments the bibitem
counter and uses its value as a numerical citation label, while
"default" only uses the bibitem counter when no label is provided.

LyX file format incremented to 471.
2013-05-16 20:39:23 +02:00
Julien Rioux
bfc731de45 Compute and output numbers for numerical citations. 2013-05-16 16:10:05 +02:00
Julien Rioux
02e59530b1 Add missing space in front of edition in generated bibentry. 2013-05-13 21:07:04 +02:00
Julien Rioux
66f44f46c2 Add modifier to jurabib and natbib (author-year) modules. 2013-05-13 20:58:12 +02:00
Julien Rioux
3d4076b598 Natbib authoryear uses (Ref1; Ref2) by default.
I was confused when I checked this. It looks like plainnat.bst
overwrites this default to use [Ref1, Ref2] style instead, but
when using natbib's defaults you get the (Ref1; Ref2) style.
2013-05-13 20:29:49 +02:00
Richard Heck
b9f48eb945 Fix bug #8666. Parts should have toclevel -1.
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
2013-05-10 13:19:38 -04:00
Scott Kostyshak
912cbcdbb4 jasatex.layout: fix 'Acknowledgments' style
'Acknowledgments' does not belong in the title but did not override
'InTitle 1' inherited from 'Abstract'. Without this patch, the
following error is given:

  output_latex.cpp (1111): Error in latexParagraphs: You should not
  mix title layouts with normal ones.

Thanks to Hashini Senaratne for narrowing down the problem.
2013-04-16 04:55:34 -04:00
Richard Heck
4a6efbb102 Implement XHTML output for InsetPrintNomencl. 2013-03-27 21:30:48 -04:00
Richard Heck
79f428d201 Use InsetLayout to get the tag type for TOC-like things. 2013-03-27 20:03:32 -04:00
Richard Heck
df1af5df47 Update the XHTML output for InsetFloatList. We'll now use an
InsetLayout to style it.
2013-03-27 20:03:32 -04:00
Richard Heck
d3feabfc86 Remove the "arrow" from the XHTML TOC. I think I put it there near
the beginning, when the titles themselves were not being used as
links. Now they are, so it is not needed.
2013-03-27 18:28:25 -04:00
Richard Heck
9c8955ffd9 Move the CSS for the TOC to its own InsetLayout. 2013-03-27 18:24:08 -04:00
Richard Heck
d3f6e28e35 Use the TOC:Listings layout to hold CSS information for it. 2013-03-27 18:22:20 -04:00
Richard Heck
4df02801a6 Links between citations and bibliography entries were broken in XHTML
output, due to failure to clean the ids in the new citation stuff.

I've solved this by allowing the citation format information to contain
keys of the form "clean:key". This signals that we are to apply the
html::cleanAttr() function to the key before returning it. I.e., we
strip non-alphanumeric stuff, basically.
2013-03-27 15:59:36 -04:00
Richard Heck
a85a3135fb Style Memoir epigraphs. 2013-03-27 14:01:01 -04:00
Georg Baum
c61ef8b205 Support \caption* (bug #3209)
This was a low hanging fruit which would have to wait for a long time because
of a file format change if it was not implemented before 2.1.
2013-03-22 22:23:38 +01:00
Juergen Spitzmueller
d8be21fb6c Capitalization fix.
This would be a file format change, but since the previous version is just two hours old, I will do without.
2013-03-18 15:06:49 +01:00
Juergen Spitzmueller
3ab2798b6e Powerdot updates
* Powerdot now also uses the native overlay item arguments
* a list option argument is finally available
* \pause natively supported (like in beamer)
* support for \onslide (via InsetFlex)
* support for \twocolumn

File format change.
2013-03-18 13:36:56 +01:00
Juergen Spitzmueller
370bbbc7f2 Old beamer frames bite the dust
With this commit, old beamer frames are converted to new ones. The old styles are removed (including the infamous \lyxframe).

This should be tested with as much beamer documents as possible (I have already done so), also, tex2lyx now probably produces invalid LyX files.
2013-03-16 12:52:00 +01:00
Kornel Benko
cc0c3d0427 Remove latex-nameclash between
\newfloat{algorithm} ...
and
        \newtheorem{algorithm}...
2013-03-01 15:32:58 +01:00
Georg Baum
eb53c60a8f Complete the NoInsetLayout format change 2013-02-21 21:57:59 +01:00
Juergen Spitzmueller
766d3f02d7 We seem to have missed this one. 2013-02-17 14:08:20 +01:00
Juergen Spitzmueller
3e20a73288 KOMA sections are raggedright by default (as opposed to the standard classes) 2013-02-16 10:35:11 +01:00
Uwe Stöhr
eabe77839b moderncv.layout: update to modernCV 1.3
- this new modernCV version fixes the annoying linebreak bug I was suffering so long, it moreover adds 2 new features

- lyx2lyx/lyx_2_1.py: updated to revert the new features
2013-02-16 01:02:32 +01:00