]> git.lyx.org Git - lyx.git/commit
Introduce a new "RequiredArgs" tag for layouts. This functions much as
authorRichard Heck <rgheck@comcast.net>
Fri, 4 Jun 2010 21:50:08 +0000 (21:50 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 4 Jun 2010 21:50:08 +0000 (21:50 +0000)
commitb0097bcddbc2c99755db192c0720f693825ef319
treefe92aa793340a484c041ee3ffa9139402838573c
parent8bbd8bc44c2f9c290c09cea3f08371d416312dcd
Introduce a new "RequiredArgs" tag for layouts. This functions much as
the OptionalArgs tag does and is implemented by the now misnamed
InsetOptArgs, except that its content gets wrapped in "{}" rather than
"[]". Required arguments do not actually have to be provided, but they
are always output.

This will allow e.g. beamer's Block environment to be implemented
without ERT.

Documentation to follow.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34591 a592a061-630c-0410-9148-cb99ea01b6c8
lib/scripts/layout2layout.py
src/Layout.cpp
src/Layout.h
src/Text3.cpp
src/TextClass.cpp
src/insets/InsetCaption.cpp
src/insets/InsetOptArg.cpp
src/insets/InsetOptArg.h
src/output_latex.cpp
src/output_latex.h
src/tex2lyx/text.cpp