From 5c0a1e5c4e29eb765b74a37b29e5eb3e774e1c55 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 7 Jun 2010 21:26:56 +0000 Subject: [PATCH] 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 --- lib/layouts/beamer.layout | 13 ++++++++----- src/Buffer.cpp | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index ebbd2860b6..9e1c69ddcc 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -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 diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 7cb2935394..c4e457b8b6 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -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 DepClean; typedef map > RefCache; -- 2.39.2