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
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.
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).
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.
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.
- 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
- 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
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
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