Commit Graph

1062 Commits

Author SHA1 Message Date
Uwe Stöhr
17489ed60d add support for PDF forms to branch 2015-05-09 16:42:17 +02:00
Uwe Stöhr
8026360776 pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:03 +02:00
Uwe Stöhr
d3ff7ea799 pdfcomment.module: promote our example file in the description
- pdfcomment.module: backport the whitespace uniformization
- PDF-comment.lyx: fix a typo
2015-04-26 13:39:55 +02:00
Juergen Spitzmueller
d67e1789a3 Properly handle the bicaption package (bug #9449) 2015-03-18 08:42:49 +01:00
Juergen Spitzmueller
f790bb046e Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.
2015-03-12 09:54:01 +01:00
Uwe Stöhr
d7bf990dfd pdfcomment.module: fix dependencies 2015-03-08 03:40:38 +04:00
Uwe Stöhr
21bb88b409 pdfcomment.module: add required style files
the the module requires datetime and fmtcount
2015-02-17 00:23:05 +01:00
Jean-Marc Lasgouttes
53ed6d3d46 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-02-10 09:52:22 +01:00
Uwe Stöhr
8599ac1e87 aastex.layout: fix name and hint of \figcaption 2015-02-10 00:17:13 +01:00
Jean-Marc Lasgouttes
53436891f7 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.

 * HTML preamble has been updated (thanks rgheck).

Fixes: #2666
2014-12-08 10:15:02 +01:00
Juergen Spitzmueller
18a5207c82 Fix font declarations. 2014-11-09 09:55:39 +01:00
Juergen Spitzmueller
ab5b69eb3d pdfcomment.module: Tweaks by UWe and myself 2014-11-05 10:28:37 +01:00
Uwe Stöhr
aa6a9fe696 revtex4-1.layout: remove hard-coded document class option
we must not use this option because the user must select the right one for every document and the other styles like aip etc cannot be used when aps is used.
2014-10-26 17:15:40 +01:00
Uwe Stöhr
8a3b241275 revtex4-1.layout: REVTeX 4.1 does not provide a class option "manuscript"
this is a leftover from the ancient REVTeX 4.0 times
2014-10-26 14:41:57 +01:00
Uwe Stöhr
03d3f8b5f3 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:21:11 +01:00
Juergen Spitzmueller
56e2f6c75c Support for conference posters
The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter
2014-09-27 10:05:23 +02:00
Juergen Spitzmueller
4050c33d10 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-09-27 10:00:01 +02:00
Juergen Spitzmueller
e627bf3ba6 Add support for the pdfcomment package.
Fixes: #6975.
2014-09-27 09:55:25 +02:00
Scott Kostyshak
06c926e699 Do not spellcheck "code" in logical markup module 2014-04-22 14:35:18 -04:00
Richard Heck
65a049dfa5 Merge branch '2.1.1-staging' into 2.1.x
Conflicts:
	lib/doc/es/EmbeddedObjects.lyx
	lib/doc/es/UserGuide.lyx
	lib/doc/fr/EmbeddedObjects.lyx
	lib/doc/ja/EmbeddedObjects.lyx
	lib/doc/ja/Intro.lyx
	lib/doc/ja/Math.lyx
	lib/doc/ja/Tutorial.lyx
	lib/doc/ja/UserGuide.lyx
	po/ja.po
	src/mathed/InsetMathNest.cpp
2014-04-18 11:08:31 -04:00
Richard Heck
dfc41ceabe Typos in algorithm module.
(cherry picked from commit 9d77d373fcaa147c37378ca26899eac042e1c8ac)
2014-04-18 10:52:48 -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