Commit Graph

1081 Commits

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