Commit Graph

64 Commits

Author SHA1 Message Date
Enrico Forestieri
eaf7413020 Update layout format number 2018-11-10 16:07:07 +01:00
Juergen Spitzmueller
b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +02:00
Kornel Benko
526380da04 Revert "Remove dependences from .layout files"
Some styles are not second-level dependencies

This reverts commit 92c8a86407.
2018-07-07 16:10:45 +02:00
Kornel Benko
92c8a86407 Remove dependences from .layout files 2018-07-07 14:13:40 +02:00
Juergen Spitzmueller
9f9041db7a Use more informative descriptions fro Springer layouts 2018-07-06 10:09:13 +02:00
Juergen Spitzmueller
bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00
Juergen Spitzmueller
e11bda2cea Layout format update after 2ba584957c 2018-04-14 10:28:22 +02:00
Juergen Spitzmueller
8d8ee12e64 Update layout format 2018-01-02 11:53:01 +01:00
Juergen Spitzmueller
4345331870 Collapsable -> Collapsible (part 4)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:30:04 +02:00
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
Juergen Spitzmueller
95db20e008 Bump layout formats 2016-10-22 09:25:01 +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
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
Uwe Stöhr
2bd368fd6b layout/module files: some whitespace uniformications 2013-01-20 16:44:05 +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
Juergen Spitzmueller
ff42273bb5 Bump layout formats 2012-11-23 09:50:22 +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
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
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
Uwe Stöhr
b1193ed0a2 - svmult.layout: adapt for editors templates
- lot of refactoring and finetuning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39271 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 19:40:39 +00:00
Uwe Stöhr
f5ce4bbb6f - Springer layouts: add style "Sol" and fix layout of problem/solutions.lyx
- solutions.lyx: detailed description

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39269 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 05:16:27 +00:00
Uwe Stöhr
aad1153ac6 Springer layout and template files: some layout adjustments and some fixed bugs spotted by Marcus Kriele
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39268 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 04:31:33 +00:00
Uwe Stöhr
a170dc5b36 * svcommon.inc:
- fix proof styles
- subparagraphs are valid
- running section are possible in svmult and svbook

* svmult.layout/svmult_author.lyx: adapted for latest Svmult template rom Springer (version for editors follows the next days)

* svmono_book.lyx: preamble adjustments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39267 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 02:55:27 +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
Richard Heck
df5409d1c8 Updates to sv* layouts, from Marcus Kriele.
Notes from his email:

=====================

The following issues still persist:

1) LyXHTML export generates incorrect html files.  The problem is due to the table of contents, but I am not at all familiar with html and do not know how to fix this.

2) "Short title" for optional arguments does not work.  This is intentional in order to guarantee backward compatibility.  One can use ERT instead of "Short title".  (By the way, wouldn't it be advisable to change the GUI?  For a new user it would be hard to guess the general  meaning of  "Short title".)

3) Numbering of theorems within LyX does not work.  I tried to copy the implementation of  the theorem-sec.module but LyX does not pick up the correct \thetheorem value.  I have a hunch that this is due to Springer's replacement of the "\newtheorem" command with their own "\spnewtheorem" command.  \thetheorem is still defined and provides the correct value via ERT, but but I was unable to use it through through the layout mechanism.

4) Book authors may need the LaTeX commands \sidecaption and \sidecaption[t] for the correct placement of figure captions. tex2lyx does not know \sidecaption[t]. Georg wrote this command would be imported correctly if it was registered in the file "lib/synlib/syntax.default".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:25:52 +00:00
Richard Heck
963f3298f4 Updates to the sv* series of layouts form Marcus Kriele.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39113 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:13:13 +00:00
Uwe Stöhr
25ee7da665 layout files: rename flex insets to fix #7630 for all layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39093 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:27:44 +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
fc3ac7801e More of #7289. Parts need the same treatment chapters got before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37587 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 22:10:22 +00:00
Richard Heck
6b35c79b40 Fix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then
some of the files that include it redefine chapter by cut-and-paste from
stdsections.inc. Not very clean. So now svnjour.inc doesn't do this, and
the journal files that include it declare "NoStyle Chapter" themselves. This
also allows some simplification of the sv book classes.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 23:02:13 +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
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
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