bicaption.module: update to new argument layout mechanism

- also fix a bug in the caption setup style to get rid of ERT
- MultilingualCaptions.lyx: update descriptions accordingly
This commit is contained in:
Uwe Stöhr 2013-01-12 16:16:30 +01:00
parent 2e7686e6e9
commit b0381b68a1
2 changed files with 40 additions and 85 deletions

View File

@ -1,5 +1,5 @@
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 458
\lyxformat 459
\begin_document
\begin_header
\textclass scrartcl
@ -180,7 +180,6 @@ status open
\begin_layout Plain Layout
\series bold
\color none
Note
\series default
: If no optional argument is used for
@ -208,7 +207,7 @@ lang=ngerman
\end_layout
\begin_layout Standard
in TeX-Code in a
in a
\family sans
Caption setup
\family default
@ -299,18 +298,7 @@ bi-second
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
lang=ngerman
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
@ -513,7 +501,7 @@ status open
\series bold
Note
\series default
: This setup doesn't have an effect in this file as described in section
: This setup does not have an effect in this file as described in section
\begin_inset space ~
\end_inset
@ -539,18 +527,7 @@ bi-both
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
labelfont=bf, labelsep=newline
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
@ -574,18 +551,7 @@ bi-first
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
labelfont=bf, labelsep=newline
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
@ -608,18 +574,7 @@ bi-second
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
labelfont=bf, textfont={sf,it}, labelsep=newline
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
@ -825,7 +780,6 @@ status open
\begin_layout Plain Layout
\series bold
\color none
Note
\series default
: If you are using this feature, the

View File

@ -12,9 +12,10 @@ Style "Caption setup"
LatexName captionsetup
Category FrontMatter
Argument 1
LabelString "Caption Setup Options|S"
Tooltip "Options for the caption setup command (see bicaption manual)"
LabelString "Caption Setup Options"
Tooltip "Options for the caption setup"
EndArgument
PassThru 1
Margin Dynamic
LabelSep xx
ParSkip 0.0
@ -40,17 +41,17 @@ InsetLayout Caption:Bicaption
LaTeXType command
LatexName bicaption
Argument 1
LabelString "Main Language Caption Short Title"
Tooltip "A short title (for list of figures/tables) in the document language"
LabelString "Main Language Short Title"
Tooltip "Short title for the main(document) language"
EndArgument
Argument 2
Mandatory 1
LabelString "Main Language Caption Text|S"
Tooltip "The caption text in the document language"
LabelString "Main Language Text"
Tooltip "Text in the main(document) language"
EndArgument
Argument 3
LabelString "Second Language Caption Short Title"
Tooltip "A short title (for list of figures/tables) in the second language"
LabelString "Second Language Short Title"
Tooltip "Short title for the second language"
EndArgument
HTMLStyle
div.float-caption {