Commit Graph

66 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
5c54557350 Honor trailing spaces in LabelString and friends
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.

To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).

It is now possible to re-add spaces in label strings where it makes
sense.

Fixes bug #10723.
2017-08-31 13:59:37 +02:00
Juergen Spitzmueller
a33157331b Bump layout formats 2017-01-13 10:09:20 +01:00
Uwe Stöhr
7f7534403b layouts/modules: use the new PassThru tag
This fixes problems like bug #10434
2016-10-22 03:01:44 +02:00
Jean-Marc Lasgouttes
6196645cce Update documents and layouts after fd1ee3b4. 2016-04-01 10:08:39 +02: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
Richard Heck
4d6f9eb089 Update layout files to format 58. 2015-12-05 18:14:38 -05:00
Scott Kostyshak
82cf4838dc Update layouts to 2.2.0alpha1 format 2015-11-13 13:19:22 -05:00
Georg Baum
486c7cc069 Convert layout files to current format 2015-01-11 20:25:58 +01:00
Juergen Spitzmueller
43c0149796 Update layouts to current format 2014-12-08 09:24:44 +01: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
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
Vincent van Ravesteijn
d27668841b Update layouts to latest fileformat 2013-06-04 19:48:19 +02:00
Georg Baum
eb53c60a8f Complete the NoInsetLayout format change 2013-02-21 21:57:59 +01:00
Richard Heck
460b44b8f5 Update all layouts to format 44. 2013-02-09 13:44:06 -05:00
Kornel Benko
4b95c7b2a3 Renamed category 'Theorem' and 'Theorems' to 'Reasoning' 2013-01-30 12:36:49 +01:00
Uwe Stöhr
1a0e43faff add some AutoInsert for layouts 2013-01-20 17:56:28 +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
b0aa0db10a Bump layout format 2012-12-22 11:39:04 +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
Juergen Spitzmueller
ec96cd655d Whitespace 2012-11-23 18:47:51 +01:00
Juergen Spitzmueller
ff42273bb5 Bump layout formats 2012-11-23 09:50:22 +01:00
Juergen Spitzmueller
2e69c66195 InsetArgument revision, first working version 2012-11-19 14:21:02 +01:00
Richard Heck
7195abcb4f Update all layouts to format 40. 2012-10-10 13:24:02 -04:00
Juergen Spitzmueller
72ee3a1b17 Categorize existing layouts
* Add \DeclareCategory statement
* Rewrite descriptions
2012-10-09 07:24:32 +02: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
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
Uwe Stöhr
94f36d62c4 - ijmpc/ijmpd.layout: forgot in my last commit that they don't have Springer's Sol layout
- solutions.lyx: correct a comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39270 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 11:46:38 +00:00
Uwe Stöhr
dade2afba9 - theorems-without-preamble.inc: new file to provide theorem environments without any preamble code or required packages
- ijmpc.layout, ijmpd.layout, svcommon.inc: use the new file
- svcommon.inc: enable theorem numbering and some other bug fixes
- svjour3.lyx: adapt example file
- svglobal3.layout: adapt file
- theorems.inc: update list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39126 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 04:10:49 +00:00
Uwe Stöhr
6bb492c620 port latest changes of template and layout files to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39083 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 01:43:10 +00:00
Richard Heck
2d2d946fc6 Update all layouts to format 35.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38392 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:51:32 +00:00
Richard Heck
3ccd0abf7e Update all layouts to format 34.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38097 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 15:18:40 +00:00
Richard Heck
f9b4dde589 Update all layouts to format 33.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37431 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:29:32 +00:00
Richard Heck
41d858b88c Update all layouts to format 32.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37425 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:13:37 +00:00
Richard Heck
924ac8a5a1 Fix several layout related problems revealed by -dbg tclass.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37265 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 16:28:42 +00:00
Richard Heck
874e867953 Update all layouts to format 31.
Should have done this first!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:20:07 +00:00
Richard Heck
a9411446ee Add NoCounter to layouts that need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:19:02 +00:00
Richard Heck
69b1ea0ecf Update layouts to format 30.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35629 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 16:54:57 +00:00
Richard Heck
5142d1c86a Now update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35614 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:41:55 +00:00
Richard Heck
de815f594e Revert update of formats. There is more to be done first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35612 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:11:04 +00:00
Richard Heck
b653286691 Update layouts to new format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35610 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:06:50 +00:00
Richard Heck
3b716ae11e Update all layouts to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35481 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 12:21:42 +00:00
Richard Heck
f5e2d78792 Layout dependencies patch from Julien Rioux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:07:56 +00:00
Richard Heck
2a61cdbf39 Reference prefixes for theorem environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:45:21 +00:00
Richard Heck
f9377c8bcc Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:28:21 +00:00
Richard Heck
e392cff392 Update layouts to format 26.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33922 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:51:41 +00:00
Richard Heck
2dfaebd243 Update layouts to format 25.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 22:21:56 +00:00
Richard Heck
99bbf5b42a Update layouts to format 24.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 23:02:24 +00:00
Richard Heck
b7d665da7f Update all layouts to format 22.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:01:07 +00:00
Richard Heck
082bdf47c9 Update all layout files to format 21.
Note: Anyone on *nix can do this by running development/tools/updatelayouts.sh.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33028 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 14:03:59 +00:00