Commit Graph

1154 Commits

Author SHA1 Message Date
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