Commit Graph

1386 Commits

Author SHA1 Message Date
Scott Kostyshak
d28c4ae2c4 Update acmsiggraph-0-92.layout to latest format 2016-04-11 21:28:32 -04:00
Scott Kostyshak
7c3fd63646 Revert "AGUTeX: update layout to AGUTeX 2015 according to our new guidelines"
For why this reversion is being done, see:
https://www.mail-archive.com/search?l=mid&q=nebrfg%249t4%241%40ger.gmane.org

This reverts commit 700edf93d7.
The style correction regarding lib/Makefile.am is kept. This amends
647b106b.
2016-04-11 11:34:11 -04:00
Uwe Stöhr
700edf93d7 AGUTeX: update layout to AGUTeX 2015 according to our new guidelines 2016-04-09 18:38:07 +02:00
Uwe Stöhr
647b106be6 ACM siggraph: update layout as discussed 2016-04-09 18:18:04 +02:00
Scott Kostyshak
fe82ce961a Fix layout strings that cause a make error
We do not currently handle UTF-8 characters in our layout strings.
Replace dashes with simple ASCII dashes to avoid the following
error:

  msguniq -o lyx.po
  msguniq: input file '-' doesn't contain a header entry with a
  charset specification

This commit amends the recent commit b4dcad83.
2016-04-08 18:40:56 -04:00
Günter Milde
b4dcad83b2 New layout for aastex6.cls. Fixes #10027.
Some more work for new and improved styles optional.
2016-04-08 21:34:23 +02:00
Jean-Marc Lasgouttes
6196645cce Update documents and layouts after fd1ee3b4. 2016-04-01 10:08:39 +02:00
Scott Kostyshak
d319a9e831 Inherit "Provides color" in *-article.layout
This commit is Consistent with 97521c4e.

Patch from Jürgen. See discussion here:
https://www.mail-archive.com/search?l=mid&q=20160305184215.GA17005%40cotopaxi.hsd1.dc.comcast.net
2016-03-11 04:12:54 -05:00
Scott Kostyshak
97521c4ec4 Fix xcolor use with *-beamer.layout
This commit fixes the minimal example of using e.g. purple text in
article-beamer.

Patch from Jürgen. See discussion here:
https://www.mail-archive.com/search?l=mid&q=20160305184215.GA17005%40cotopaxi.hsd1.dc.comcast.net
2016-03-10 16:48:18 -05:00
Juergen Spitzmueller
f60a152a29 Adapt forest (linguistic structure tree) to new syntax of the package
while maintaining backwards compatibility (#9967).
2016-02-21 11:54:25 +01:00
Uwe Stöhr
0564785b3e tufte layouts: add new dependencies 2016-02-18 01:32:17 +01:00
Uwe Stöhr
33e550a986 linguistics.module: add new dependencies 2016-02-18 01:31:51 +01:00
Uwe Stöhr
0d30333ec6 acmsiggraph.layout: revert c1e0b243 partly 2016-02-03 00:03:55 +01:00
Uwe Stöhr
c1e0b24304 acmsiggraph.layout: update layout for ACM siggraph 0.92
fileformat change: update fileformat for all files
2016-01-27 01:58:13 +01:00
Uwe Stöhr
5433db3931 acmsiggraph.layout: whitespace fixes 2016-01-26 01:52:39 +01:00
Uwe Stöhr
f1a05b413a europasscv.layout: add dependencies
also some fine-tuning of the example file
2016-01-25 22:56:39 +01:00
Uwe Stöhr
8800068051 acmsiggraph.layout: add new dependency 2016-01-25 22:46:29 +01:00
Uwe Stöhr
f1930b0c68 IUCr layout: add new dependency
also mention new possible BibTeX style
2016-01-25 22:45:41 +01:00
Richard Heck
d763840a2f enumitem and paralist should exclude each other.
Reverts cb2fe78a64, which used the ExcludesModule tag, which
cannot be used in modules.
2016-01-23 09:54:08 -05:00
Georg Baum
cb2fe78a64 Do not allow paralist + enumitem modules
As discussed on the list. The two modules can only be used together with
special switches, and have partly overlapping functionality.
2016-01-22 21:55:40 +01:00
Richard Heck
29703f07d6 Fix typos in paralist module. The correct command is not compactdescr,
etc, but compactdesc. At least this is true in the most recent version
on CTAN.
2016-01-19 06:49:33 -05:00
Guillaume Munch
4fa5cbddce Update layouts
3c9b62a69 only added new keywords, so nothing changes, as it should be.
2016-01-11 16:27:46 +00:00
Jean-Marc Lasgouttes
857f011e91 Improve visually text classes paper and foils
This does not change output, only GUI.

paper: make sure that the starred sections use proper sans serif on screen.

foils: add relevant categories to layouts
2016-01-04 19:54:43 +01:00
Scott Kostyshak
3b7cd19153 Remove a file that was accidentally committed
stdspecialchars.inc was unintentionally committed (it is still a
work in progress) at 2dff14d2. This commit also reverts 7c4a1e16 (it
is now unneeded). For details, see:
https://www.mail-archive.com/search?l=mid&q=CAE_dPV4OpkEFbHuu1daTrUij298%3DfiNQs_4u_tz98MjynAyXEg%40mail.gmail.com
2015-12-16 18:06:39 -05:00
Guillaume Munch
3e6cb7fe1b amend 3dcb71ea 2015-12-14 15:19:23 +00:00
Guillaume Munch
3dcb71eaa2 Set AddToToc for custom insets
* Fixme
* Todonotes
* Literate programming (sweave, knitr)
* Theorems
2015-12-13 19:56:49 +00:00
Richard Heck
820bfe3d10 Changes to theorems-named.module that fix #8796. 2015-12-06 15:45:44 -05:00
Richard Heck
4d6f9eb089 Update layout files to format 58. 2015-12-05 18:14:38 -05:00
Uwe Stöhr
bfc749eb23 stdlayouts.inc: support for verbatim*
fileformat change
2015-11-24 23:56:26 +01:00
Uwe Stöhr
0ae337014e theorems-ams: add solution environment
fixes bug #6363 now completely
2015-11-18 02:36:49 +01:00
Uwe Stöhr
cc6c86ff3b theorems.inc: add environment "solution"
fileformat change, fixes bug #6363
2015-11-18 01:14:30 +01:00
Scott Kostyshak
82cf4838dc Update layouts to 2.2.0alpha1 format 2015-11-13 13:19:22 -05:00
Uwe Stöhr
3f52e8058c theorems-without-preamble.inc: fix a typo 2015-11-11 00:08:13 +01:00
Juergen Spitzmueller
1663dbcbcf Decrease and unify indentation of beamer frame content. 2015-11-06 08:34:00 +01:00
Uwe Stöhr
62a69584e6 achemso.layout: add a flex inset
- this one is in achemso since version 3.8

- fileformat change
2015-11-04 01:18:13 +01:00
Guillaume Munch
646be95979 Module for the changebar package
Author: Paul A. Rubin (rubin@msu.edu), based on code proposed by Juergen
Spitzmueller (http://comments.gmane.org/gmane.editors.lyx.general/66666).

http://mid.gmane.org/562ACBC5.8030102@msu.edu
2015-11-02 00:17:25 +00:00
Guillaume Munch
9c728530c2 Correct name 2015-11-02 00:17:25 +00:00
Juergen Spitzmueller
a9b8cdca9e Varwidth module provided by d.iabo
See #9417.
2015-11-01 11:00:23 +01:00
Uwe Stöhr
2c1851e2ec moderncv.layout: update some styles and add new ones
- support for at least modernCV 1.5 (layout will still work with moderncv 1.3 as before)
- fileformat change
2015-10-28 02:27:32 +01:00
Uwe Stöhr
19224e9085 moderncv.layout: updates
- suffix.sty is no longer used, hyperref and color are included and basic LaTeX
- fix 2 Argument definitions
2015-10-26 03:42:33 +01:00
Uwe Stöhr
dffd38e82d modernCV: updates
- modernCV requires 2 new packages (since version 1.5 from 2013)
- update the example file to reflect the new features
2015-10-26 02:53:29 +01:00
Uwe Stöhr
832ef7d446 jss.layout: update appearance of 2 styles in LyX
This was proposed by the co-author of the layout in bug#9516
2015-10-23 02:20:02 +02:00
Uwe Stöhr
8da453fd30 tcolorbox.module: uniform whitespace 2015-10-19 07:15:18 +02:00
Uwe Stöhr
ce933b1e14 colored-boxes.lyx: new example file for the tcolorbox.module
- also improve the tcolorbox.module

This is a fileformat change - only to be able to revert the new styles defined in the module.
2015-10-19 07:10:09 +02:00
Georg Baum
141026b6b1 Use Require instead of AddToPreamble
This plays more nicely with other modules requiring enumitem as well.
2015-09-20 19:33:43 +02:00
Georg Baum
e2d246bcb9 Create module for paralist.sty
paralist.sty extends the standard list environments by some more compact
versions. Support for this has already been requested 15 years ago, and
now I needed it myself.
2015-09-20 13:05:30 +02:00
Scott Kostyshak
a7a43d0866 Update description to reflect arg improvements 2015-06-14 01:42:41 -04:00
Uwe Stöhr
8894562004 iucr.layout: adjust label alignment 2015-06-01 20:14:58 +02:00
Juergen Spitzmueller
d17abc4ddb iucr.layout: Improve references layout, using ParagraphGroup. 2015-06-01 16:13:10 +02:00
Uwe Stöhr
0b80be42d0 iucr.layout: use Item_Environment for a style as proposed by Jürgen
- IUCr-article.lyx: update template accordingly
2015-05-30 00:53:43 +02:00
Uwe Stöhr
a610e29c9c hpstatement.module: just in time a new module for H-P statements
In June the R-SS phrase system is replaced officially by the GHS H-P statement system in the EU.
So just in time here is support for this.

No new LaTeX package is required since the already supported package mhchem provides the statements.
2015-05-28 20:36:35 +02:00
Uwe Stöhr
5189d7be8b iucr.layout: new Layout file
IUCr-article.lyx: new template file

fixes bug #9423
2015-05-28 00:44:30 +02:00
Uwe Stöhr
47886ebbb1 jss.layout: delete an unused tag 2015-05-28 00:38:13 +02:00
Uwe Stöhr
266a047249 jss.layout: use Flex Inset for Code Chunk style as proposed by JMarc 2015-05-27 23:31:21 +02:00
Uwe Stöhr
f3c1a4fbeb jss.layout: remove superfluous Appendix style
- remove also the new superfluous lyx2lyx code
- update the template file
2015-05-27 02:13:04 +02:00
Uwe Stöhr
1d14541849 jasatex.layout, elsarticle.layout: remove double statement 2015-05-26 12:45:51 +02:00
Uwe Stöhr
139cd028b7 jss.layout: improve the keyboard style 2015-05-26 12:44:28 +02:00
Uwe Stöhr
9c06bd09ea jss.layout: correct appearance of sectioning commands
- also 2 minor improvements
2015-05-26 12:24:24 +02:00
Uwe Stöhr
30f2accf77 jss.layout: changes as requested by the user in bug#9516
- added appendix style and lyx2lyx reversion
- add support for parsing \noindent
- update example file
2015-05-26 01:15:29 +02:00
Juergen Spitzmueller
dbe0096c12 Rename ref prefix "sub:" to "subsec:"
This solves a macro conflict between subfloat's \subref and our own
\subref definition (bug #7550)

File format change.
2015-05-24 13:50:21 +02:00
Uwe Stöhr
5f6dee3355 JSS-article.lyx: update the file
jss.layout: set current layout format
2015-05-24 03:41:14 +02:00
Uwe Stöhr
e6c225d582 jss.layout: support for more layouts
Since lyX 2.0 we support to use the in_preamble tag. This allows to support more commands. For an unknown reason I forgot the jss.layout when I updated the other layouts once.

Fileformat change
2015-05-24 03:34:36 +02:00
Uwe Stöhr
92e289a514 revtex4-1.layout: 2 more float setting changes 2015-05-23 20:15:40 +02:00
Uwe Stöhr
985deed954 algorithm2e.module: use the new layout tags for floats 2015-05-23 03:11:07 +02:00
Uwe Stöhr
79a7e3c6fa sciposter.layout: use the new layout tags for floats 2015-05-23 03:05:24 +02:00
Uwe Stöhr
53b75da72f tufte-book.layout: use the new layout tags for floats 2015-05-23 02:48:34 +02:00
Uwe Stöhr
b6e9adafae achemso.layout: use the new layout tags for floats 2015-05-23 02:44:45 +02:00
Uwe Stöhr
7508e7b9fe powerdot.layout: use the new layout tags for floats 2015-05-23 02:42:40 +02:00
Uwe Stöhr
bc891a0cc8 revtex4-1.layout: use the new layout tags for floats 2015-05-23 02:22:49 +02:00
Uwe Stöhr
37e5079ef1 achemso.layout: uniform whitespace 2015-05-23 01:51:37 +02:00
Uwe Stöhr
a830e51c8a layout files: add the new AllowedPlacement 2015-05-22 21:52:59 +02:00
Uwe Stöhr
1e298f6a4c revtex4-1.layout: uniform spacing 2015-05-22 21:50:48 +02:00
Uwe Stöhr
bc9f1abdbb stdlayouts.inc, elsarticle.layout: uniform spacing 2015-05-22 02:35:28 +02:00
Uwe Stöhr
f9ef86a3b1 tufte-book.layout: uniform whitespace and add some whitespace for a better readability 2015-05-22 00:25:35 +02:00
Uwe Stöhr
3a63f6fc7c powerdot.layout: use the default floats
according to the powerdot manual it uses the standard floats and indeed, the float deinitions were identic to the ones in stdfloats.inc

- powerdot-example.lyx: add a slide with floats (floats are only possible with the H placement option. (assuring this will be possible with the fix for bug#7752)
2015-05-22 00:10:11 +02:00
Juergen Spitzmueller
f70e78487e Auto-fill short title where appropriate
Addresses: #4745
2015-05-21 09:12:45 +02:00
Uwe Stöhr
184a4b9d00 PDF-form.lyx: update using the new features of PassThruChars and colored boxes 2015-05-19 23:09:21 +02:00
Pavel Sanda
6f0d24f3bf Fix default style of broadway layout.
Thanks Richard.
2015-05-19 10:37:02 -07:00
Juergen Spitzmueller
139746061f Demonstrate that it is now possible to use tabs in Requires. 2015-05-19 10:18:17 +02:00
Juergen Spitzmueller
ded1b4f6c8 Adapt enumii counter display to KOMA default as suggested in #3311.
Candidate for branch.
2015-05-09 11:13:28 +02:00
Uwe Stöhr
9f3d1e7773 pdfform.module: unset a PassTru
- this makes real life much easier since it saves more TeX code than with passThru
- adapt the example file accordingly
2015-05-05 01:33:11 +02:00
Uwe Stöhr
7dbf98a5e7 linguistics.module: fix 2 whitespace issues 2015-05-05 01:21:22 +02:00
Juergen Spitzmueller
23297a3108 Revert "pdfform.module: repair whitespace"
This reverts commit d2e8e44a0e.
2015-05-03 16:43:14 +02:00
Uwe Stöhr
d2e8e44a0e pdfform.module: repair whitespace
something is fishy her because commit 33a74748
destroyed the alignment for some entries
2015-05-03 16:28:06 +02:00
Juergen Spitzmueller
33a747483e Spelling and whitespace fixes. 2015-05-03 13:58:06 +02:00
Uwe Stöhr
8efc734f1a pdfform.module: change whitespace as requested by Jürgen 2015-04-30 01:23:47 +02:00
Uwe Stöhr
41b39ff835 PDF-form.lyx: some more info and few adaptions
- pdfform.module: a fix
2015-04-29 22:06:00 +02:00
Uwe Stöhr
ec7833272a pdfform.module: a simplification
- PDF-form.lyx: update accordingly and a fix
2015-04-29 01:56:43 +02:00
Uwe Stöhr
36a5f46c0d pdfform.module: a fix and a new style
- PDF-form.lyx: describe how to customize PDF action buttons and some other refinement and restructuring
2015-04-28 02:00:53 +02:00
Juergen Spitzmueller
f46d08aafd Follow-up on Uwe's whitespace amendments. 2015-04-27 10:04:15 +02:00
Uwe Stöhr
15dbe715e8 pdfform.module: correct the description 2015-04-27 03:00:27 +02:00
Uwe Stöhr
892abc5ee9 pdfform.module: new module to create PDF forms
- PDF-form.lyx: example file describing the module

No special package is required since the PDF form features are provided by hyperref.
2015-04-27 02:56:25 +02:00
Uwe Stöhr
0e28bf916f pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:20 +02:00
Uwe Stöhr
13cb23bb20 pdfcomment.module: promote our example file in the description
- PDF-comment.lyx: port recent typo fixes to master
2015-04-26 13:41:44 +02:00
Uwe Stöhr
544b3f1774 pdfcomment.module: uniform whitespace
the file used spaces and tabs, now it uses only tabs for the whitespace
2015-04-26 04:23:10 +02:00
Juergen Spitzmueller
c886679160 Rewrite the linguistic Glosse insets.
This gets rid of the PassThru hack and makes the inset actually usable
for linguistists.

Fixes: #7773

File format change.
2015-04-21 20:33:35 +02:00
Juergen Spitzmueller
7158f7b58d Add support for linguistic trees (via forest) 2015-04-20 18:14:42 +02:00
Juergen Spitzmueller
225a37be39 Support item argument in linguistic examples
File format change.
2015-04-20 12:15:20 +02:00
Scott Kostyshak
34eadf5d49 Fix compilation of the template ACM-sigplan.lyx
This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.
2015-04-08 13:41:59 -04:00
Juergen Spitzmueller
f305f0b4d8 Properly handle the bicaption package (bug #9449) 2015-03-16 20:31:38 +01:00
Juergen Spitzmueller
d02147b79e Add support for the europasscv class
Patch by Stefan Swerk
2015-03-16 10:47:17 +01:00
Kornel Benko
7683f6f55f Changed ti utf-8 encoding, otherwise python3 chokes on undecodable 0xfc character 2015-03-13 19:19:06 +01:00
Juergen Spitzmueller
9d824a04d1 Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.

Candidate for branch.
2015-03-10 18:31:55 +01:00
Uwe Stöhr
94d872696c pdfcomment.module: fix dependencies 2015-03-08 03:41:08 +04:00
Uwe Stöhr
3bc0b26020 pdfcomment.module: add required style files
the the module requires datetime and fmtcount
2015-02-17 00:24:29 +01:00
Georg Baum
f9f05c364b Unify layout categories 2015-02-14 11:35:40 +01:00
Uwe Stöhr
6594289d3d aastex: fix optional argument of a command
- aastex.layout: fix name and hint of \figcaption
- aastex.lyx: improved template file
2015-01-23 00:23:37 +01:00
Georg Baum
486c7cc069 Convert layout files to current format 2015-01-11 20:25:58 +01:00
Georg Baum
eb121f9993 Replace hardcoded hack with InsetLayout tag 2015-01-11 20:01:19 +01:00
Jean-Marc Lasgouttes
1e18ab586e Fixes to InsetCaption \protect-ion
* \caption does not need to be protected in general
* the contents of \caption arguments need to be protected, though.

All styles related to caoption inset have been audited and updated.

The special casing of captions in longtables has been removed, since there is no special case.

Fixes bug: #9177
2015-01-10 19:48:56 +01:00
Juergen Spitzmueller
706960eba4 Add Question and Question* theorem types (bug #9015)
File format change.
2015-01-09 11:24:45 +01:00
Juergen Spitzmueller
021caeeb86 We cannot convert Flex to Layout by ObsoletedBy 2014-12-10 08:15:51 +01:00
Juergen Spitzmueller
43c0149796 Update layouts to current format 2014-12-08 09:24:44 +01:00
Juergen Spitzmueller
bedccc7b98 Use ObsoletedBy in fixme and todonotes modules. 2014-12-08 09:08:46 +01:00
Richard Heck
1a3821fd88 Fix XHTML export for new "in title" footnotes. Builds on a patch
by JMarc.
2014-12-02 11:03:26 -05:00
Juergen Spitzmueller
a25569ebb3 Add a layout tag ForceOwnlines that assures an inset is started and terminated by a line break in the LaTeX output.
Fixes: #8875.
2014-12-01 14:56:47 +01:00
Jean-Marc Lasgouttes
9b530e59c2 Let the Foot inset have a different Layout when inside a title
This allows to address two main issues
 * \thanks does only accept one paragraph, while \footnote allows several (ticket #2666)
 * footnotes in titling environments were not numbered on screen.

Moreover, the code reduces hardcoding of features, which is always a good thing.

There are several pieces in this commit:

 * new numbering type \fnsymbol for counters

 * the Foot inset changes its layoutName() to Foot:InTitle when inside a paragraph with InTitle property. This is set when running updateBuffer.

 * Foot:intitle uses the \thanks command, does not allow multiple paragraphs and marks its contents as moving argument.

 * The InsetLayouts for Foot now have properLaTeXName/Type, so that InsetFoot::latex can be removed; further code simplification is probably possible.

Fixes: #2666
2014-11-21 10:23:56 +01:00
Juergen Spitzmueller
1643fe5618 Fix font declarations. 2014-11-09 09:54:22 +01:00
Juergen Spitzmueller
1977beb5b2 cosmetics 2014-11-05 10:42:45 +01:00
Uwe Stöhr
fc13d7b814 graphicboxes.module: new module
support for the 4 boxes provided by the LateX package graphicx
2014-11-05 00:42:35 +01:00
Uwe Stöhr
5456b99137 pdfcomment.module and PDF-comment.lyx: some minor tweaks
- use a uniform naming scheme and a style fix as discussed
2014-11-03 23:56:42 +01:00
Juergen Spitzmueller
d485929370 small tweaks spotted by Uwe 2014-11-03 16:54:20 +01:00
Juergen Spitzmueller
9b5e565d33 remove file that was accidentally committed 2014-11-03 16:53:48 +01:00
Kornel Benko
4436678c97 typo 2014-10-31 10:15:54 +01:00
Juergen Spitzmueller
2dff14d238 Fix the pdfcomment rewrite 2014-10-30 10:22:09 +01:00
Uwe Stöhr
81390dcac9 pdfcomment.module: some fine-tuning
- use \requirePackage instead of \Usepackage
- name category properly
- reorder definitions
2014-10-30 02:16:23 +01:00
Uwe Stöhr
e9b4de9000 pdfcomment.module: fix unnecessary options I just accidentally introduced 2014-10-29 01:20:22 +01:00
Uwe Stöhr
f256f8b7b0 pdfcomment.module: total revision
this module was not usable since the preamble stuff was missing and also almost all options. But many PDF-comment types are quite useless without options.
2014-10-29 01:02:13 +01:00
Uwe Stöhr
a1add5e804 revtex4-1.layout: update to latest REVTeX 4.1
- added support for the command \onlinecite
- some style and whitespace issues
- revtex4-1.lyx: update accordingly
2014-10-27 01:39:18 +01:00
Uwe Stöhr
206ffe03d4 revtex4-1: port changes from branch
also add the todo list to support all commands used in REVTeX's official sample document.
2014-10-26 17:20:21 +01:00
Uwe Stöhr
981389da3a revtex4-1.layout: remove unnecessary preamble code
- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625
2014-10-26 14:26:31 +01:00
Juergen Spitzmueller
dc75522161 Typos. 2014-08-31 15:15:11 +02:00
Juergen Spitzmueller
87eb430395 Add support for todonotes package
Fixes: #7546
2014-08-31 14:49:30 +02:00
Juergen Spitzmueller
ccdd782b4f Add support for the fixme package.
Fixes: #8868
2014-08-31 14:38:28 +02:00
Juergen Spitzmueller
9a702f195d Add support for beamer lemma environment.
File fomat change.
2014-08-31 12:30:14 +02:00
Scott Kostyshak
e9c1a1943b Revert "AGUTeX template/layout: support the new cls name"
This reverts commit cde8707 and changes "AGUTeX" back to "agutex".
The maintainer has changed "AGUTeX.cls" back to "agutex.cls" and has
confirmed (through private email) that he plans to keep the filename
all lowercase now that he is aware of case-sensitive file systems.
2014-07-29 15:50:52 -04:00
Juergen Spitzmueller
d333d7d696 Add support for the pdfcomment package.
Fixes: #6975.
2014-07-03 11:30:56 +02:00
Juergen Spitzmueller
52c219ee29 Support for conference posters
The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter
2014-07-02 14:01:28 +02:00
Juergen Spitzmueller
4a0976ceeb Add support for the sectionbox and tcolorbox packages.
They will be used by the conference poster classes that will be supported in a minute.
2014-07-02 13:48:01 +02:00
Enrico Forestieri
00547009c2 Cleanup seminar.layout after the upgrade to format 50. 2014-05-29 22:07:37 +02:00
Georg Baum
4e078230a0 Update layouts with separators to format 50 2014-05-29 21:22:15 +02:00
Juergen Spitzmueller
20bcaec061 Add layout tag that determines if/when a paragraph can be indented.
Fixes: #7327, #7458, #8670
2014-05-29 14:10:32 +02:00
Vincent van Ravesteijn
cee8e61b2e Capitalize layout tag 2014-04-29 11:16:41 +02:00
Scott Kostyshak
e7b16d961f Do not spellcheck "code" in logical markup module 2014-04-22 10:49:18 -04:00
Richard Heck
47c3b0fce7 Typos in algorithm module. 2014-04-21 11:51:59 -04:00
Georg Baum
fe080790f1 Improve translation of "Graph" for achemso.layout
As discussed. achemso.layout contains both "Chart" and "Graph", therefore it
does not make sense to use "Graph" in the "Chart" / "Graph" / "Diagram" sense,
but in the mathematical sense like in "graph theory".
Therefore I added the context [[mathematicl]].
All translations are unchanged except the german one, which is now again
"Graph" as in 2.0.0 instead of "Schaubild".
2014-04-10 21:51:05 +02:00
Richard Heck
f10df83fab Revert addition of Question and Question* environments, for the
reasons discussed at bug #9015.
2014-03-08 11:38:50 -05:00
Richard Heck
3046aa0411 Fix small problem with question environment. 2014-03-05 15:37:08 -05:00
Richard Heck
dfc9dde6a9 Add Question and Question* environments to AMS modules. Fixes bug
Patch from Paul Rubin.
2014-03-05 12:31:51 -05:00
Uwe Stöhr
c71cd6d501 stdlayouts.inc: correct spacing for verbatim
Verbatim consist of lines not of paragraphs. There is therefore no paragraph spacing in the output and thus should also exists be in LyX.
2014-03-04 22:54:28 +01:00
Juergen Spitzmueller
a83d595dfb Fix \caption* definition (see #8993) 2014-02-26 07:57:57 +01:00
Georg Baum
6b49b6b129 Fix conflicting inset font defaults (bug #8874)
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit()
compatible. There is no user visible change except for the Chunk inset which
does not produce invalid LaTeX after editing operations anymore.
This is the safe version for 2.1.0, for later there are still open questions:
- All insets with ResetsFont true should be audited: Is this really needed,
  or do they show similar editing problems as the Chunk inset?
- Does inheritFont() need to be customizable in the layout file as well?
- Is resetFontEdit() != !inheritFont() needed at all?
I did not use change tracking for the docs, since I updated all existing
translations.
2014-02-10 22:06:32 +01:00
Juergen Spitzmueller
28abb40c1b Add missing refprefixes for theorems (#8781)
Original patch by Paul Rubin
2014-02-06 09:18:12 +01:00
Richard Heck
d0af587ab4 Update algorithm module to format 48. 2014-01-31 08:54:01 -05:00
Juergen Spitzmueller
35e64bf951 Allow usage of algorithm2e package (#8744)
This simple module allows users to use the algorithm2e package at all. Before, it was not possible with LyX, since this package conflicts with LyX's own algorithm support (see also #8728)
2014-01-26 19:23:40 +01:00
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