mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
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:
parent
2e7686e6e9
commit
b0381b68a1
@ -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
|
||||||
|
|
||||||
|
labelfont=bf, labelsep=newline
|
||||||
\begin_inset ERT
|
|
||||||
status open
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
labelfont=bf, labelsep=newline
|
||||||
\begin_inset ERT
|
|
||||||
status open
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
labelfont=bf, textfont={sf,it}, labelsep=newline
|
||||||
\begin_inset ERT
|
|
||||||
status open
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
|
|
||||||
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
|
||||||
|
@ -8,26 +8,27 @@
|
|||||||
Format 43
|
Format 43
|
||||||
|
|
||||||
Style "Caption setup"
|
Style "Caption setup"
|
||||||
LatexType command
|
LatexType command
|
||||||
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
|
||||||
Margin Dynamic
|
PassThru 1
|
||||||
LabelSep xx
|
Margin Dynamic
|
||||||
ParSkip 0.0
|
LabelSep xx
|
||||||
ItemSep 0.2
|
ParSkip 0.0
|
||||||
TopSep 0.7
|
ItemSep 0.2
|
||||||
BottomSep 0.7
|
TopSep 0.7
|
||||||
ParSep 0.3
|
BottomSep 0.7
|
||||||
Align Block
|
ParSep 0.3
|
||||||
AlignPossible Block
|
Align Block
|
||||||
LabelType Static
|
AlignPossible Block
|
||||||
LabelString "Caption setup:"
|
LabelType Static
|
||||||
|
LabelString "Caption setup:"
|
||||||
LabelFont
|
LabelFont
|
||||||
Color Green
|
Color Green
|
||||||
EndFont
|
EndFont
|
||||||
BabelPreamble
|
BabelPreamble
|
||||||
\usepackage{bicaption} % for multilingual captions
|
\usepackage{bicaption} % for multilingual captions
|
||||||
@ -36,28 +37,28 @@ End
|
|||||||
|
|
||||||
|
|
||||||
InsetLayout Caption:Bicaption
|
InsetLayout Caption:Bicaption
|
||||||
LabelString bilingual
|
LabelString bilingual
|
||||||
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 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 2px solid black;
|
border: 2px solid black;
|
||||||
padding: 1ex;
|
padding: 1ex;
|
||||||
margin: 1ex;
|
margin: 1ex;
|
||||||
}
|
}
|
||||||
EndHTMLStyle
|
EndHTMLStyle
|
||||||
End
|
End
|
||||||
|
Loading…
Reference in New Issue
Block a user