Commit Graph

1281 Commits

Author SHA1 Message Date
Georg Baum
de800ad149 Fix wrong description screen font (bug #8869)
paper.cls formats the description label without bold, so LyX should do the
same on screen. Note that simply removing the Series line does not help,
because Description is already defined in some include.
2013-11-14 21:14:08 +01:00
Scott Kostyshak
2756b43f1c Fix XeTeX export when using heb-article.layout
polyglossia is used by default and \make@lr is only defined
by babel. Modifying the preamble fixes XeTeX export and pdfTeX
continues to work.

See the following thread for more information:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181220.html

Thanks to Enrico for the patch.
2013-11-11 21:56:57 -05:00
Juergen Spitzmueller
36769e4323 enumitem module: one forgotten adaptation to new argument possibilities 2013-11-11 09:45:40 +01:00
Juergen Spitzmueller
8af913102c powerdot: fix argument order with empty first argument 2013-11-11 09:44:50 +01:00
Scott Kostyshak
ea89d17dd4 Put RJournal.layout in the report category
Also add author details.
2013-10-13 15:12:45 -04:00
Juergen Spitzmueller
78f7a7fb10 svmono.layout: correct TocDepth value 2013-09-05 12:27:59 +02:00
Juergen Spitzmueller
62b45896a7 Unify string (part of #8826) 2013-09-03 19:29:49 +02:00
Juergen Spitzmueller
8cd8f2d0c1 Reset arguments in theorem definition to avoid argument clash (#8827) 2013-09-03 17:44:35 +02:00
Juergen Spitzmueller
c25f339f3f Fix shortcut clash (#8813) 2013-08-30 11:37:48 +02:00
Scott Kostyshak
cde87070e5 AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.

Further, the new .cls now contains bug fixes and is required for
submission to the AGU journals.
2013-08-23 15:34:56 -04:00
Scott Kostyshak
75f004a7f4 Revert "AGUTeX template/layout: support the new cls name"
This reverts commit 66dfbab8bb.

This was a poor commit for more than one reason.
Thank you to Juergen for help on this.

See the following for more details:
http://comments.gmane.org/gmane.editors.lyx.devel/148425
2013-08-23 15:34:56 -04:00
Juergen Spitzmueller
fb225b26f1 Add shortcuts to some Theorem argumentsnts (as requested in #8809) 2013-08-23 11:29:08 +02: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
Scott Kostyshak
66dfbab8bb AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.
2013-08-20 15:38:04 -04:00
Richard Heck
bac7708d4b The koma-script book class numbers equations by chapter. 2013-08-09 11:33:52 -04:00
Scott Kostyshak
0c961941c6 Typo 2013-07-31 18:10:16 -04:00
Richard Heck
c6a08bc442 Somehow forgot HTML tags for Paragraph and Subparagraph.
Vincent, this is totally trivial and so should be fine.
2013-06-11 14:30:15 -04:00
Vincent van Ravesteijn
d27668841b Update layouts to latest fileformat 2013-06-04 19:48:19 +02:00
Uwe Stöhr
65f4942c1a shapepar.module: correct naming scheme
- we use uppercase for all words in all other layouts
2013-06-03 20:26:30 +02:00
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
Uwe Stöhr
77affc9967 IEEEtran-CompSoc.layout: use the new NoInsetLayout tag 2013-02-16 00:48:21 +01:00
Juergen Spitzmueller
3e55139482 Use the new Static label type for the koma book chapter 2013-02-10 14:48:07 +01:00
Enrico Forestieri
4f3370e460 Correct typo 2013-02-09 20:29:25 +01:00
Richard Heck
460b44b8f5 Update all layouts to format 44. 2013-02-09 13:44:06 -05:00
Uwe Stöhr
d8a6e0ab70 IEEE: support for Transactions on Magnetics 2013-02-09 18:18:21 +01:00
Uwe Stöhr
59e13e6df6 IEEEtran: dome corrections and additional info 2013-02-09 17:53:34 +01:00
Uwe Stöhr
33e185e5ed IEEEtran.layout: support for conference articles
- IEEEtran-Conference.lyx: new template for conference articles of the IEEE
2013-02-09 03:23:34 +01:00
Uwe Stöhr
0c993b5135 IEEEtran-CompSoc.layout: force plain layout 2013-02-09 02:52:39 +01:00
Uwe Stöhr
f3c407e7b9 elsarticle.layout: force plain layout for some flex insets
- This prevents LaTeX errors because some commands don't allow to include commands.
- also simplified some code
2013-02-09 02:50:54 +01:00
Richard Heck
99402cd09c Don't hardcode listings but use InsetLayout. 2013-02-08 09:48:48 -05:00
Richard Heck
f623ded109 Fix bug #7948 by not hardcoding XHTML info for captions but instead
using InsetLayout.
2013-02-08 09:30:31 -05:00
Uwe Stöhr
20f1ba109e IEEEtran-CompSoc: new layout to support the IEEE "computer science" journals 2013-02-07 02:13:44 +01:00
Uwe Stöhr
7c98a16fbb IEEEtran.layout: support command \IEEEPARstart 2013-02-07 02:01:57 +01:00
Julien Rioux
3408ca4204 Support for \fullcite in LyXHTML and text export (fixes #8491). 2013-02-06 17:37:59 +01:00
Richard Heck
c9b9501f7d Fix TeX crash involving URLs. Patch from Martin Vermeer. 2013-02-05 10:00:32 -05:00
Jean-Marc Lasgouttes
be42f1398d Fix bug #5408: tex2lyx cannot handle verbatim code
- Implement catcode setting in Parser
- add a new Parser::verbatimStuff method that reads verbatim contents
- use this method to parse "verbatim" environment.
- use it to parse \verb too.
- rename Parser::verbatimEnvironment to ertEnvironment.

TODO:
- use for other verbatim-like cases (Sweave chunk, lstlisting...)
- factor out the function that outputs ERT (including line breaks)
- maybe implement Parser::unparse (if needed)
2013-02-04 10:25:58 +01:00
Kornel Benko
4b95c7b2a3 Renamed category 'Theorem' and 'Theorems' to 'Reasoning' 2013-01-30 12:36:49 +01:00
Juergen Spitzmueller
c19ef34916 Prepositions with >4 characters are capitalized in Title Casing 2013-01-27 16:56:44 +01:00
Juergen Spitzmueller
ba9b3b0006 Some capitalization fixes
Layout files need to be audited more thoroughly for capitalization coherence
2013-01-27 16:34:18 +01:00
Uwe Stöhr
a68122d690 - lyx_2_1.py: support for modernCV
- moderncv.layout: whitespace fixes
2013-01-27 05:25:00 +01:00
Uwe Stöhr
51cea81710 modernCV.layout: add requirement "suffix.sty" 2013-01-26 18:48:31 +01:00
Kornel Benko
9e14f0c587 Sort categories for dinbrief.layout 2013-01-25 17:42:58 +01:00
Uwe Stöhr
ff718ebaa5 initials.module: add the missing mandatory argument
- thanks to the new InsetArgument feature we can save all ERT for initials
2013-01-20 21:23:55 +01:00
Uwe Stöhr
b6ce3e10b2 moderncv.layout: add some AutoInsert 2013-01-20 21:22:55 +01:00
Uwe Stöhr
1a0e43faff add some AutoInsert for layouts 2013-01-20 17:56:28 +01:00
Uwe Stöhr
2bd368fd6b layout/module files: some whitespace uniformications 2013-01-20 16:44:05 +01:00
Kornel Benko
46f8c8d043 Replace double quotes with singlgle quotes from
module description string.
This way the string is also translatable again.
2013-01-19 14:34:48 +01:00
Uwe Stöhr
ab8365b3ed some refinements for paper class example and templates
- update fileformats
- sigplanconf.layout: fix a bug and improve a command
2013-01-13 22:59:16 +01:00
Uwe Stöhr
a3036539b2 multicol.module: use the layout argument mechanism
- Additional.lyx: update description of multiple columns accordingly
2013-01-13 03:23:25 +01:00
Uwe Stöhr
f37cdbc298 add shapepar module
- shapepar.module: new module to get non-rectangular paragraph shapes
- SpecialParagraphShape.tex: an example shape definition file
- Additional.lyx:
  - accept all changes and updated all language versions accordingly
  - describe how to get custom paragraph shapes (last section of the document)
  - preamble cleanup
2013-01-12 19:44:08 +01:00
Uwe Stöhr
d57a52496f bicaption.module: improve a tooltip
- MultilingualCaptions.lyx: fix a typo
2013-01-12 16:27:03 +01:00
Uwe Stöhr
b0381b68a1 bicaption.module: update to new argument layout mechanism
- also fix a bug in the caption setup style to get rid of ERT
- MultilingualCaptions.lyx: update descriptions accordingly
2013-01-12 16:16:30 +01:00
Uwe Stöhr
2e7686e6e9 rsphrase.module: update to layout argument machinery
- also some whitespace fixes
- R-S-statements.lyx: update fileformat and fox some typos
2013-01-12 15:31:16 +01:00
Julien Rioux
26b67dcb49 Update the lilypond module to use the Argument machinery. 2013-01-12 10:04:53 +01:00
Julien Rioux
15b2501177 LyXHTML linking from citation to bib entry for LyX 2.1 (fixes #8490).
What was previously accomplished by wrapCitation is now customizable in the
layout files. What we provide by default here corresponds roughly to the
LyX 2.0 behavior.
2013-01-10 15:32:00 +01:00
Uwe Stöhr
4dba320edb natbibapa.module: fix a typo 2013-01-03 02:45:48 +01:00
Julien Rioux
428d5f8978 Layout whitespace. 2012-12-31 17:16:14 +01:00
Julien Rioux
90f7007a2e Update my email and status. 2012-12-31 17:16:13 +01:00
Kornel Benko
a71b923f1e Categorized g-brief2 styles 2012-12-31 16:57:02 +01:00
Juergen Spitzmueller
846dd9b995 Introduce new beamer frame layouts
The old layouts are still there (marked as deprecated). The new ones are more or less correctly reverted (polishment required), but the old ones not yet converted to the new. Once this is done, a further file format change should be made.
2012-12-31 13:00:46 +01:00
Juergen Spitzmueller
c3be720b53 Fix bicaption argument descriptions 2012-12-31 10:33:53 +01:00
Kornel Benko
d3b94fed30 Added categories for style Bibliography, TwoAuthors, ThreeAuthors, TwoAffiliations,
ThreeAffiliations, Institute, DinBrief, Section, Subsection, Theorem,
     Labeling, Opening, Closing, Signature, Name
2012-12-30 20:30:35 +01:00
Kornel Benko
534efc5139 Added categories for style Standard, Title, Abstract, ShortTitle,
Author, FourAuthors, Affiliation, FourAffiliations, Acknowledgements,
     Itemize, Enumerate, Seriate
to layouts, where they were missing. More to follow
2012-12-30 19:33:20 +01:00
Juergen Spitzmueller
2a62a2c395 update layout format 2012-12-30 18:35:23 +01:00
Juergen Spitzmueller
c246076ed5 Fix the 'caption inset mess' (bug #4647) 2012-12-30 18:29:02 +01:00
Juergen Spitzmueller
d0b5728d2e natbibapa.module: update format 2012-12-29 16:55:32 +01:00
Juergen Spitzmueller
f15c2c5f22 typo 2012-12-29 12:30:38 +01:00
Juergen Spitzmueller
592a7d2144 apa6 layout: update format, categorize properly, and whitespace.
IMHO we should take care that layout submissions to trunk are at least properly categorized
2012-12-29 11:09:10 +01:00
Juergen Spitzmueller
d1b8bc92ce typo 2012-12-28 12:35:18 +01:00
Juergen Spitzmueller
78cd88f5a3 Proper support for memoir epigraph (bug #8151) 2012-12-28 12:32:59 +01:00
Kornel Benko
f98139e58d Rename category Section -> Sectioning 2012-12-28 10:52:58 +01:00
Richard Heck
824b0313b3 Add layout for APA v6 class and associated module and template.
Also, add Jacob Bishop to the list of contributors, since this is
his work. Thanks, Jacob!
2012-12-27 15:50:50 -05:00
Juergen Spitzmueller
483b99193f Support for beamer \frametitle
The \frametitle command is less convenient to use than the \frame argument, but it provides more options (overlay/action and short title). We thus provide this additionally to the option, like beamer itself does.
2012-12-22 16:28:43 +01:00
Juergen Spitzmueller
b0aa0db10a Bump layout format 2012-12-22 11:39:04 +01:00
Juergen Spitzmueller
4818b3e68a Add (overlay-aware) beamer bold inset 2012-12-21 16:42:55 +01:00
Juergen Spitzmueller
e8598bf353 Whitespace 2012-12-20 14:10:14 +01:00
Juergen Spitzmueller
bfde26bf12 Cosmetics 2012-12-20 09:53:18 +01:00
Juergen Spitzmueller
4f36061811 Proper support for beamer overprint environment
This has a list-like structure (with \onslide item commands). The previous implementation was rather useless, since it required lots of ERT. Since the new implementation is so different, we use ERT for conersion/reversion.

The lyx2lyx routines are not yet perfect, though.
2012-12-19 19:33:39 +01:00
Juergen Spitzmueller
e5ebe17b92 AutoInsert option also for flex insets 2012-12-17 13:32:40 +01:00
Juergen Spitzmueller
dd21e57bd3 Option to auto-insert a paragraph style option, particularly useful for specific mandatory arguments (such as beamer block or frame titles) 2012-12-16 13:37:14 +01:00
Kornel Benko
2498ad16ae Typo 2012-12-14 13:35:37 +01:00
Juergen Spitzmueller
661d027a11 beamer: small tweaks 2012-12-10 12:16:04 +01:00
Juergen Spitzmueller
25ef8e7eef Allow to separate menu string from label string for arguments 2012-12-09 19:15:41 +01:00
Juergen Spitzmueller
d073cfb458 Support for beamer block arguments (#3280) 2012-12-09 17:19:21 +01:00
Juergen Spitzmueller
30b53ba4a0 beamer revision, part 1: support for overlay arguments 2012-12-09 11:04:56 +01:00
Uwe Stöhr
50f88e256b svcommon.inc, theorems-without-preamble.inc: correction from previous commit
- svcommon.inc, theorems-without-preamble.inc: better naming of the optional argument, no overwriting necessary
2012-12-08 20:10:14 +01:00
Uwe Stöhr
c9a2255244 update argument labels for Springer classes
- svcommon.inc, theorems-without-preamble.inc : correct labels and argument names and some whitespace fixes
- svmono, svmult: update/add some notes
2012-12-08 20:04:13 +01:00
Richard Heck
3bf6f714cf Exclude enumitem from beamer. See bug #7047. 2012-12-05 14:52:48 -05:00
Uwe Stöhr
5dc6293d07 europeCV: complete revision of layout and example file
- also fix in the generic conversion routine the cases
  - that there are one or more optional arguments before the mandatory ones
  - that the conversion does not start with the first argument of a command
2012-12-04 00:55:39 +01:00
Uwe Stöhr
ecc0d198df acmsiggraph: complete revision of layout and template file
- also support in the lyx2lyx argument conversion routine the case that "}{" appears in 2 consecutive ERTs
- also fix in lyx2lyx_tools.py the output of ERTs (it is important that we write the same amount of lines as if the ERT would have been inserted via LyX 2.0 or lyX 2.1)
2012-12-02 15:58:14 +01:00
Uwe Stöhr
253db22bd1 sigplanconf.layout: whitespace fix 2012-11-30 02:00:20 +01:00
Uwe Stöhr
5c5e8817e3 sigplanconf: complete revision of layout and templates/ACM-sigplan.lyx
- additionally some fixes for the generic insetArgument lyx2lyx routines
2012-11-30 01:54:57 +01:00
Juergen Spitzmueller
1500e44cba Support for \item arguments 2012-11-29 15:34:20 +01:00
Juergen Spitzmueller
a7f8fb8c5f Provide option to force a local language switch where a global is not allowed (fixes #8033) 2012-11-28 20:55:21 +01:00
Jean-Marc Lasgouttes
4f6c0b5202 Fix # 8414: Use the noweb module instead of literate-* article layouts
Now that we have module support for literate programming, it is possible to do a noweb cleanup. This is basically a patch from Kayvan Sylvan:

- get rid of literate-xxx classes
- rename Scrap to Chunk, since this is the name noweb doc uses (Scrap is from nuweb)
- update lyx file format and add lyx2lyx support for gettting rid of literate-xxx classes
- update documentation

On the top of it, update tex2lyx to
- avoid creating files with literate-xxx class
- fix conflict between parsing << as a quote and parsing it as a Chunk
- create Chunk layouts instead of Scrap ones.
2012-11-28 14:11:47 +01:00
Uwe Stöhr
bf5db4183b moderncv.layout: use the new font feature for arguments 2012-11-27 00:28:13 +01:00
Juergen Spitzmueller
d058b0425f beamer: again, cosmetics 2012-11-26 10:05:09 +01:00
Juergen Spitzmueller
9cde057995 use LatexParam where appropriate 2012-11-26 09:27:22 +01:00
Uwe Stöhr
c5dccc859a JASATeX: update layout and template
- fix problem with natbib
- add a missing short title that was also already in the template

(patch for branch follows)
2012-11-26 05:54:45 +01:00
Uwe Stöhr
e44eb320f3 iopart.layout: rename a tooltip, no change in functionality 2012-11-26 05:30:00 +01:00
Uwe Stöhr
13d8aee609 IJMPC/D: update layout and template files
- add a mandatory argument
- remove an optional argument that compiles, but would break the layout of the output completely (is also not documented nor explicitly defined)

- also add a safe guard for the lyx2lyx conversion routines
2012-11-26 05:19:47 +01:00
Uwe Stöhr
710f2962c5 agutex.layout: remove a space I accidentally introduced 2012-11-26 04:24:00 +01:00
Uwe Stöhr
b0b1d2f8b1 AGUTeX: update layout and example file 2012-11-26 04:21:23 +01:00
Uwe Stöhr
0d3e33d7c1 elsarticle: update some strings, no change of functionality 2012-11-26 04:04:39 +01:00
Uwe Stöhr
0c622a5c58 aastex: update layout and example file
- also fix an issue in the generic lyx2lyx InsetArgument routines
2012-11-26 03:39:40 +01:00
Uwe Stöhr
7725e35439 IEEEtran: update layout and example; fileformat change
- the 2 generic lyx2lyx conversion routines can also be used for other layout updates
2012-11-26 02:50:53 +01:00
Juergen Spitzmueller
2b8255e3c9 More beamer cosmetics (no function change) 2012-11-25 16:36:53 +01:00
Georg Baum
a28bc8daa9 Fix broken layout file syntax 2012-11-25 12:37:33 +01:00
Uwe Stöhr
4202d90c7e IEEEtran.layout: adjust tooltips 2012-11-25 04:12:12 +01:00
Uwe Stöhr
1d777eeec1 modernCV: support for preamble setup
- now all personal info can be specified the LyX way, only the package loading and some special settings remain in the preamble

- achemso.layout: a whitespace fix
2012-11-25 00:44:57 +01:00
Uwe Stöhr
5adec11005 achemso: complete revision for achemso 3.7c 2012-11-24 19:24:06 +01:00
Uwe Stöhr
74437b5112 moderncv.layout: a typo 2012-11-24 19:23:26 +01:00
Uwe Stöhr
94dbd82cfc Revert "achemso: update"
This reverts commit f4b218df40.
2012-11-24 17:26:00 +01:00
Uwe Stöhr
cc3286782e moderncv.layout: shorten the label strings
- IEEEtran.layout: some whitespace fixes
2012-11-24 17:15:19 +01:00
Uwe Stöhr
2587cea733 modernCV: complete revision for modernCV 1.2.0 2012-11-24 17:01:06 +01:00
Juergen Spitzmueller
bdaca8a41d More general label string (which actually should never appear) 2012-11-24 16:02:17 +01:00
Juergen Spitzmueller
a41bdfa453 Missing pieces for InsetLayout arguments 2012-11-24 15:46:20 +01:00
Juergen Spitzmueller
1e9907557a Update email address 2012-11-24 10:46:55 +01:00
Juergen Spitzmueller
3d636c2a33 Some cosmetics in preparation of major revisions 2012-11-24 10:32:48 +01:00
Uwe Stöhr
37d614636b layouts: some whitespace fixes 2012-11-24 01:30:38 +01:00
Uwe Stöhr
f4b218df40 achemso: update
- remove styles that cannot be written into the main text, but have to be inserted in the preamble
- add some info according to its latest documentation
2012-11-24 01:02:39 +01:00
Juergen Spitzmueller
ec96cd655d Whitespace 2012-11-23 18:47:51 +01:00
Juergen Spitzmueller
182d13ee6a Do not separate the shortcut from the label string 2012-11-23 18:26:02 +01:00
Juergen Spitzmueller
5a016dc85d support beamer columns option 2012-11-23 17:25:08 +01:00
Juergen Spitzmueller
7a05aeb4ec Fix requires argument 2012-11-23 14:43:29 +01:00
Juergen Spitzmueller
ff42273bb5 Bump layout formats 2012-11-23 09:50:22 +01:00
Juergen Spitzmueller
6e54388f3b Fixes to the bicaption module 2012-11-20 15:35:25 +01:00
Juergen Spitzmueller
b6a041643d Label string tweaks (capitalization etc.) 2012-11-20 14:10:19 +01:00
Juergen Spitzmueller
2e69c66195 InsetArgument revision, first working version 2012-11-19 14:21:02 +01:00
Uwe Stöhr
28a29bf697 sigplanconf.layout: correct InTitle tag, fixes bug #8378 2012-10-19 00:53:25 +02:00
Juergen Spitzmueller
1406b0e638 Do not inherit Provides from beamer
Also branch candidate.
2012-10-15 08:33:36 +02:00
Uwe Stöhr
add9c6e2a9 g-brief layouts: remove the dependency on europs.sty as this package is an optional one and add info to the template file 2012-10-15 01:26:35 +02:00
Richard Heck
7195abcb4f Update all layouts to format 40. 2012-10-10 13:24:02 -04:00
Juergen Spitzmueller
2c88159576 Categorize Linguistics paragraph styles
Should go to branch as well (after 2.0.5)
2012-10-09 10:59:19 +02:00
Juergen Spitzmueller
1703991544 Beamer provides [x]color (#8103) 2012-10-09 07:59:43 +02:00
Juergen Spitzmueller
72ee3a1b17 Categorize existing layouts
* Add \DeclareCategory statement
* Rewrite descriptions
2012-10-09 07:24:32 +02:00
Scott Kostyshak
f7928f48a6 More elegant knitr support and bug fix
Implement a more simple and elegant integration of the R package knitr. Now,
lyxknitr.R does not need to move or copy files at all.

This also fixes a bug: when /tmp was on a different file system (e.g.
encrypted home), lyxknitr.R failed to move files to /tmp because it relied on
R's 'file.rename' function, which in turn relied on the rename function in
<stdio.h>, which was failing with the EXDEV errno.

Patch from Yihui Xie.
2012-10-06 21:01:34 -04:00
Scott Kostyshak
80c126b092 Typos
Clean up some comments, LFUN documentation, an error message,
and lyx --help output.
2012-09-12 19:38:26 -04:00
Juergen Spitzmueller
ee1fc9130a Add support for some basic non-unicoded IPA macros
We now support everything on the IPA chart via the toolbar
2012-08-23 17:42:53 +02:00
Uwe Stöhr
e777b18066 remove an obsolete layout file
as the support for the buggy and outdated ArmTeX was removed, this layout is now obsolete and can also be removed
2012-07-06 22:34:02 +02:00
Uwe Stöhr
b3e49a803a fix for APA layout
- apa.layout: the commands \volume, \copnum and \notes are only allowed in the preamble; fixes bug #8187
2012-07-03 00:54:50 +02:00
Uwe Stöhr
e4018a327e elsarticle already provides refstyle
- elsarticle.layout: elsarticle already provides refstyle thus the document becomes uncompilable if we don't declare this in the layout

Also OK for branch?
2012-07-01 16:15:42 +02:00
Pavel Sanda
06c1d24bdb Fix #8201: our translation mechanism chokes on the character " 2012-06-30 19:24:22 +02:00
Juergen Spitzmueller
dd790192d3 Add DefaultStyle to siamltex.layut (bug #8194)
Patch by Dima Batenkov.
2012-06-09 18:29:08 +02:00
Richard Heck
03da96e0f7 Minor cleanup: We should use the usual conventions for
InsetLayout names.
2012-05-31 12:24:08 -04:00
Uwe Stöhr
95da224758 seminar.layout: new version from Günter Milde (bug #7624) 2012-05-18 21:24:28 +02:00
Richard Heck
dbf6daf99e Re-organize and repair the InsetLayout for the script inset. 2012-04-17 09:43:21 -04:00
Richard Heck
33022ebb5a Use InsetLayout for LaTeX output. 2012-04-17 09:35:25 -04:00
Richard Heck
1c33d95adf Use InsetLayout to style the XHTML output.
Note that we have also changed the layout name to uppercase, but
this should be fine, since it was so far unused.
2012-04-17 09:16:34 -04:00
Georg Baum
27733452f7 Native support for \lstlistoflistings 2012-04-16 21:40:59 +02:00
Georg Baum
a2e8cb758b Translations for listings insets
The listings inset and include inset of type listings use two english terms
that are not localized yet: "Listing" for the caption and "Listings" for the
list of listings (not supported natively by LyX yet). The existing layout
translation mechanism has been extended to translate these terms as well:

1) Support [[stuff]] context in lib/layouttranslations
2) Support BabelPreamble and LangPreamble in InsetLayout
3) Use a InsetLayout for InsetInclude of type listings
4) Define BabelPreamble and LangPreamble in the layouts for InsetInclude
   and InsetListings
2012-04-10 20:21:01 +02:00
Juergen Spitzmueller
9e570cc90e Forgotten string change. 2012-03-26 12:41:44 +02:00
Juergen Spitzmueller
100036e6e8 Beamer supports \subsubsection. Add to layout.
OK for branch?
2012-03-26 12:12:14 +02:00
Uwe Stöhr
ebb9683a02 beamer.layout: fix #8092 (Block can have nested childs so that all of its contents must have a dynamic margin, not only the first) 2012-03-21 21:40:17 +01:00
Julien Rioux
1e947e3a18 Move the citation engine machinery to layouts.
Add a new layout syntax CiteEngine to define the citation commands
available for a given citation engine.

Also extend the CiteFormat syntax to allow more customization. This
mechanism, previously used to produce bibliography entries in the
citation GUI based on the BibTeX entrytype, is now also used to
produce the textual labels for citation insets in the buffer view.

Thus citation styles are almost completely customizable by modules.
Modules for the basic, jurabib and natbib engines are implemented.

Layout format incremented to 37.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40820 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-01 00:41:30 +00:00
Uwe Stöhr
6869d5205f support for verbatim: step 1: the layout and the lyx2lyx code,;fileformat change (next step is the beamer issue and last step tex2lyx support)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40784 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-20 02:10:33 +00:00
Jean-Marc Lasgouttes
7335b3193b Add support for R package knitr (a Sweave alternative)
This fixes #7887.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40674 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-25 22:26:31 +00:00
Uwe Stöhr
0461bdf991 moderncv.layout: correct the format number (accidentally changed in r40640)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40642 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 12:12:17 +00:00
Uwe Stöhr
0a69838a91 - moderncv.layout: add missing separator style
- modernCV.lyx: set page size to A4, correct subsection entry, use a separator modify preamble to be compliant with modernCV 0.16 (fixes #7991)
- biblioExample.bib: correct a much too long entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40640 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 12:05:07 +00:00
Richard Heck
1d14f0be27 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40617 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-15 17:22:32 +00:00
Uwe Stöhr
dbbe58c2cf elsarticle.layout: switch from \maketitle to \begin{frontmatter}, see #7977
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40575 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-06 01:01:57 +00:00
Uwe Stöhr
5f5a6e777e - JASA.lyx, jasatex.layout: JasaTeX internally uses natbib but does not allow to use another command than \cite; add a missing command and a note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40495 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 23:04:09 +00:00
Richard Heck
4663e5ec88 Repairs to case environment, from Paul Rubin. Modified by me to use
enumitem, since we already have a module for that, and I am a bit
worried about conflicts between enumerate.sty and enumitem.sty.

A side effect of this, however, is that we will load enumitem.sty
whenver we use case environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40492 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:50:36 +00:00
Uwe Stöhr
774c62a590 jasatex.layout, JASA.lyx; correct the SVN EOL style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40476 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:09:50 +00:00
Uwe Stöhr
d528fc8286 new layout for articles in the journal JASA (http://wiki.lyx.org/Layouts/JASATeX)
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40475 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:07:24 +00:00
Uwe Stöhr
8368101b1a layout file: remove some further unused strings and some whitespace adjustments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40473 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 21:35:02 +00:00
Uwe Stöhr
6aacde638c iopart.layout: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40472 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:53:11 +00:00
Uwe Stöhr
c32ae63b6c - simplecv.layout: remove unused string definitions and use the itemize definition from stdlists.inc
- stdlists.inc: remove unused string definitions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40467 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 00:57:46 +00:00
Richard Heck
8ba08a53b2 Update all layouts to format 36.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40428 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:41:38 +00:00
Richard Heck
70ad54bec9 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40426 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:33:19 +00:00
Uwe Stöhr
6b01721dfa new module: Multilingual captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40414 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 01:06:06 +00:00
Richard Heck
9a3d2bf3b6 Use new layout tags for TOC styling. The point of this is that it
allows this information to be written to an external file and not
just to the header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40413 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 22:40:42 +00:00
Richard Heck
62dd071ce6 Improve output of XHTML comments.
(i)  Validate even for comments when outputting XHTML.
(ii) Output comments as divs hidden by default. Then people
     can display them other ways if they wish.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40400 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:44:37 +00:00
Richard Heck
c7cf9aef3c Port from branch:
ctex layout files: add required packages and set missing SVN EOL style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40263 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:16 +00:00
Richard Heck
fe9cda838e Fix for bug #7883 from Jean-Pierre: Make strings uniform across
modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 18:30:28 +00:00
Richard Heck
2defb9dd07 Fix #7495 by adding layouts for ctex document classes and
corresponding templates. Thanks to Yihui for these.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40247 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 15:45:31 +00:00
Uwe Stöhr
c10b375239 svglobal3.layout, svcommon.inc: fix some parser warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39725 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 02:22:53 +00:00
Uwe Stöhr
4fbe32b0fd sweave.module: more precise description text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39610 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 03:14:51 +00:00
Uwe Stöhr
6df33aba97 - tufte-book.layout: fix a lyX warning about uninitialized counter
- tufte example files: add important notes that float placements options are not allowed and remove unreferenced labels

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39549 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:49:16 +00:00
Uwe Stöhr
7ba7ce4006 new module and example file for chemical risk and safety statements; requires the package rsphrase which is bundled with the package mhchem that we already support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:59:16 +00:00
Uwe Stöhr
826bf6b950 initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39543 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:36:34 +00:00
Jean-Marc Lasgouttes
c9d9bde0b2 Sweave support cleanup (patch from yihui, see #7555)
http://www.lyx.org/trac/ticket/7555

This part is a simple cleanup:

 * rename variables to start with a dot
 * reset encoding after running sweave
 * improve on-screen display of code chunks



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 09:52:21 +00:00
Uwe Stöhr
1f70c82ff0 enumitem.module: add info where to find the documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39359 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 03:03:38 +00:00
Uwe Stöhr
df16cdbcfa initials.module: update module description and some whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39356 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 01:54:10 +00:00
Uwe Stöhr
f1b40f9867 - multicol.module: new module for multiple text columns
- Additional.lyx: update description of multiple columns
- multicol.lyx: remove this file because its content is now completely in Additional.lyx

(We once described multiple columns in 3 different files, Additional.lyx, Customization.lyx and multicol.lyx. We now have only one place.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39355 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 01:53:12 +00:00
Uwe Stöhr
f679b658d8 - EmbeddedObjects.lyx: new chapter about objects surrounded by text
- Additional.lyx: remove obsolete section
- initials.module: add style that actually works

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39341 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-18 21:55:00 +00:00
Uwe Stöhr
114c3c2502 - svcommon.inc: fix two bugs spotted by Marcus Kriele and some whitespace
- Springer template files: describe the optional argument for Preface and Foreword

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39318 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 20:59:13 +00:00
Uwe Stöhr
224e123c2d theorems-without-preamble.inc: remove "Prop" from layouttranslations since it is a proverb and should not be translated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39317 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 20:35:29 +00:00
Uwe Stöhr
380de16b3e svmult.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39315 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 18:14:42 +00:00
Uwe Stöhr
ad6c15872b svcommon.inc: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39314 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 18:12:53 +00:00
Uwe Stöhr
dd0528e896 svcommon.inc, svmult.layout: some more cleanups and adjustments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39313 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 18:08:49 +00:00
Uwe Stöhr
f7d0a44da2 - theorems-without-preamble.inc:
- don't include Sol and Prob to layouttranslations
 - change label type of the style Sol as suggested
- svmono_chapter.lyx: better description of the problem styles
- svmono_solutions.lyx: better description of the solution styles

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39309 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 16:55:58 +00:00
Uwe Stöhr
425f327375 customHeadersFooters.module:
- correct category
- add author
- whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39303 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 04:21:24 +00:00
Uwe Stöhr
b1193ed0a2 - svmult.layout: adapt for editors templates
- lot of refactoring and finetuning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39271 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 19:40:39 +00:00
Uwe Stöhr
94f36d62c4 - ijmpc/ijmpd.layout: forgot in my last commit that they don't have Springer's Sol layout
- solutions.lyx: correct a comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39270 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 11:46:38 +00:00
Uwe Stöhr
f5ce4bbb6f - Springer layouts: add style "Sol" and fix layout of problem/solutions.lyx
- solutions.lyx: detailed description

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39269 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 05:16:27 +00:00
Uwe Stöhr
aad1153ac6 Springer layout and template files: some layout adjustments and some fixed bugs spotted by Marcus Kriele
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39268 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 04:31:33 +00:00
Uwe Stöhr
a170dc5b36 * svcommon.inc:
- fix proof styles
- subparagraphs are valid
- running section are possible in svmult and svbook

* svmult.layout/svmult_author.lyx: adapted for latest Svmult template rom Springer (version for editors follows the next days)

* svmono_book.lyx: preamble adjustments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39267 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 02:55:27 +00:00
Pavel Sanda
73c29f0ddf Better sorting of Koma book environments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39236 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 00:56:01 +00:00
Richard Heck
863a4d1906 Fix typo in theorems-proof-std.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39217 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 19:20:33 +00:00
Jean-Marc Lasgouttes
e2be6a1281 Fix incompatibility between jss.layout and Sweave (see bug 7555).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 09:26:58 +00:00
Uwe Stöhr
fa5b7920f6 - svcommon.inc: fix definition of proof and abstract*; whitespace
- svmono.layout: fine tuning and whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 03:41:27 +00:00
Uwe Stöhr
38aacccedf - theorems-without-preamble.inc: fix definition of style "prob"; whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39185 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 03:36:29 +00:00
Jean-Marc Lasgouttes
02705c524c Small cleanups to sweave module, as discussed in bug #7555.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39180 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 12:55:20 +00:00
Richard Heck
fa5888e16e Remove redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39179 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 12:51:27 +00:00
Uwe Stöhr
3c94f8e070 - svcommon.inc: whitespace and some simplifications
- svmono.layout: add required styles and a bugfix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39173 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 04:11:01 +00:00
Uwe Stöhr
165b15fe00 stdstarsections.inc, tufte-handout.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39165 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:47:25 +00:00
Julien Rioux
7fc59a72fd revtex4-1.layout : Update to latest layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39164 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:46:27 +00:00
Julien Rioux
cebd2451c6 Layout and template files for REVTeX 4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39163 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:41:16 +00:00
Julien Rioux
64f0b7b95d * revtex4.layout : Adapt the various Affiliation styles. Also
add the Collaboration style supported by REVTeX4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39162 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:15:27 +00:00
Julien Rioux
8d623cb8ab * revtex4.layout : Remove redundant toclevels and par sep.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39161 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 22:52:40 +00:00
Julien Rioux
70d72805be * revtex4.layout : Adapt fonts and numbering to better reflect the pdf output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39160 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 22:48:43 +00:00
Julien Rioux
286a19b7fc * revtex4.layout : add category flags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39159 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 21:59:07 +00:00
Julien Rioux
ead5df1a20 revtex4.layout : whitespace and comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39158 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 21:56:56 +00:00
Julien Rioux
f1de5be99b The layouts should allow short title for \part.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39155 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 17:50:03 +00:00
Julien Rioux
cb9d673981 * tufte-handout.layout : This layout does not have nor does it use a part counter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39154 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 17:48:27 +00:00
Uwe Stöhr
08dce304f1 svcommon.inc: fix the Preface style (I already did this yesterday in svmult/svmono.layout but this was overwritten in r39113)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39127 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 04:45:21 +00:00
Uwe Stöhr
dade2afba9 - theorems-without-preamble.inc: new file to provide theorem environments without any preamble code or required packages
- ijmpc.layout, ijmpd.layout, svcommon.inc: use the new file
- svcommon.inc: enable theorem numbering and some other bug fixes
- svjour3.lyx: adapt example file
- svglobal3.layout: adapt file
- theorems.inc: update list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39126 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 04:10:49 +00:00
Uwe Stöhr
35f18efa29 missing things from r39114
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39115 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 22:44:32 +00:00
Richard Heck
df5409d1c8 Updates to sv* layouts, from Marcus Kriele.
Notes from his email:

=====================

The following issues still persist:

1) LyXHTML export generates incorrect html files.  The problem is due to the table of contents, but I am not at all familiar with html and do not know how to fix this.

2) "Short title" for optional arguments does not work.  This is intentional in order to guarantee backward compatibility.  One can use ERT instead of "Short title".  (By the way, wouldn't it be advisable to change the GUI?  For a new user it would be hard to guess the general  meaning of  "Short title".)

3) Numbering of theorems within LyX does not work.  I tried to copy the implementation of  the theorem-sec.module but LyX does not pick up the correct \thetheorem value.  I have a hunch that this is due to Springer's replacement of the "\newtheorem" command with their own "\spnewtheorem" command.  \thetheorem is still defined and provides the correct value via ERT, but but I was unable to use it through through the layout mechanism.

4) Book authors may need the LaTeX commands \sidecaption and \sidecaption[t] for the correct placement of figure captions. tex2lyx does not know \sidecaption[t]. Georg wrote this command would be imported correctly if it was registered in the file "lib/synlib/syntax.default".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:25:52 +00:00
Richard Heck
963f3298f4 Updates to the sv* series of layouts form Marcus Kriele.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39113 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:13:13 +00:00
Uwe Stöhr
d570a1cf3a achemso.layout: reintroduce package that accidentally got lost in the last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39094 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:30:37 +00:00
Uwe Stöhr
25ee7da665 layout files: rename flex insets to fix #7630 for all layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39093 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:27:44 +00:00
Richard Heck
9eb18b5d55 Note obsoleteness of latex8 and revtex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39088 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 13:15:39 +00:00
Uwe Stöhr
6bb492c620 port latest changes of template and layout files to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39083 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 01:43:10 +00:00
Richard Heck
77f0ce9a2b Fix bug #7630.
layout2layout is not smart enough to add "Flex:" to the names of
Flex insets only declared as such through CopyStyle. So these
have to be fixed manually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39076 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:23:32 +00:00
Uwe Stöhr
d719f6025a port my latest template file updates to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39064 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:15:43 +00:00
Uwe Stöhr
dc09611b34 layouts, templates, examples: port my latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39058 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 01:02:15 +00:00
Uwe Stöhr
f037f9bace example files, template files, layout files: port my latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39048 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 16:32:44 +00:00
Richard Heck
d3c4bfa32a Allow optional arguments in simplecv. Patch from Diego.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38899 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 15:20:53 +00:00
Georg Baum
b3ca5850ee babel knows \proofname already (bug #7513)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38752 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 10:13:17 +00:00
Julien Rioux
b03d96a7f0 remove extra whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38429 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 18:52:49 +00:00
Julien Rioux
8924c5922e No need to spellcheck lilypond code snippets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38428 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 18:30:34 +00:00
Julien Rioux
68ad320f76 * sweave.module
Use AddToPreamble here. We don't want to overwrite the preamble from the layout file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38427 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 18:12:31 +00:00
Richard Heck
0a9b01bb62 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38425 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:53:05 +00:00
Richard Heck
a0a6ee87f5 Forgot new file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38424 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:51:03 +00:00
Richard Heck
64bb8264b9 Fix up the enumitem module by separating out the Labeling code, so that
we do not have to copy and paste it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38423 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:50:31 +00:00
Richard Heck
537952566a whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38422 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:45:07 +00:00
Richard Heck
5fabde2f8e The copy and paste done here is out of date.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38421 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:34:25 +00:00
Richard Heck
9957563b49 Reformatting, etc, of enumitem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38420 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:28:15 +00:00
Richard Heck
2d2d946fc6 Update all layouts to format 35.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38392 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:51:32 +00:00
Richard Heck
ca9a824d33 Fix problem with IEEEtran.layout reported by Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38389 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:10:37 +00:00
Richard Heck
5d14536595 Fix bug #7450. Never did CSS for parts. Indent of lower TOC elements is
also too high.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38365 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 13:15:14 +00:00
Jean-Marc Lasgouttes
0a65e96ed3 Improvements to lyx sweave support
- use a null device to avoid the extra Rplots.pdf file created by Sweave
- use directly setwd() instead of in the preamble of the module
- add lots of comments.

This finally fixes ticket #6623.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38359 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 10:04:20 +00:00
Richard Heck
bfddee97e1 Better TOC output for XHTML, per Rob and Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38354 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 17:33:18 +00:00
Richard Heck
f4bc398a0f Fix translation glitch caught by Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38345 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 00:32:45 +00:00
Richard Heck
62b33b369e Last of the math translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38292 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:47:28 +00:00
Richard Heck
ba6e5c5178 More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38291 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:42:53 +00:00
Richard Heck
3f02df40e5 More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38290 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:35:59 +00:00
Richard Heck
d4a1c243d6 More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38289 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:30:55 +00:00