Use new RequiredArgs tag to improve Beamer UI. Also includes a dummy

format bump so we can convert old Beamer files, which are otherwise
broken by the new layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34615 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-06-07 21:26:56 +00:00
parent 70627f9a75
commit 5c0a1e5c4e
2 changed files with 9 additions and 6 deletions

View File

@ -663,7 +663,8 @@ Style Block
LabelSep xx
LatexName block
LabelString "Block ( ERT[{title}] body ):"
LabelString "Block:"
RequiredArgs 1
ParSkip 0.5
TopSep 1
@ -689,8 +690,9 @@ Style ExampleBlock
LabelSep xx
LatexName exampleblock
LabelString "Block ( ERT[{title}] example text ):"
LabelString "Example Block:"
RequiredArgs 1
ParSkip 0.5
TopSep 1
BottomSep 1
@ -719,8 +721,9 @@ Style AlertBlock
LabelSep xx
LatexName alertblock
LabelString "Block ( ERT[{title}] alert text ):"
LabelString "Alert Block:"
RequiredArgs 1
ParSkip 0.5
TopSep 1
BottomSep 1

View File

@ -126,7 +126,7 @@ namespace {
// Do not remove the comment below, so we get merge conflict in
// independent branches. Instead add your own.
int const LYX_FORMAT = 391; // edwin: decimal alignment in tables
int const LYX_FORMAT = 392; // rgh: beamer layout change
typedef map<string, bool> DepClean;
typedef map<docstring, pair<InsetLabel const *, Buffer::References> > RefCache;