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

View File

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