From 6e54388f3b1420f8eb2eb96534d107d6b595e227 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 20 Nov 2012 15:35:25 +0100 Subject: [PATCH] Fixes to the bicaption module --- lib/examples/MultilingualCaptions.lyx | 50 ++++++++++++++++++--------- lib/layouts/bicaption.module | 14 ++++++-- 2 files changed, 45 insertions(+), 19 deletions(-) diff --git a/lib/examples/MultilingualCaptions.lyx b/lib/examples/MultilingualCaptions.lyx index 3aee8d463d..dd13bb7408 100644 --- a/lib/examples/MultilingualCaptions.lyx +++ b/lib/examples/MultilingualCaptions.lyx @@ -1,5 +1,5 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 +#LyX 2.1 created this file. For more info see http://www.lyx.org/ +\lyxformat 446 \begin_document \begin_header \textclass scrartcl @@ -31,13 +31,13 @@ bicaption \font_roman default \font_sans default \font_typewriter default +\font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 - \graphics default \default_output_format default \output_sync 0 @@ -59,15 +59,21 @@ bicaption \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue" \papersize default \use_geometry false -\use_amsmath 1 -\use_esint 1 -\use_mhchem 1 -\use_mathdots 1 +\use_package amsmath 1 +\use_package amssymb 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package undertilde 0 \cite_engine basic +\cite_engine_type numerical +\biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date true +\justification true \use_refstyle 1 \notefontcolor #0000ff \index Index @@ -275,7 +281,7 @@ reference "fig:example-figure" \end_layout \begin_layout Caption setup -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -340,7 +346,7 @@ A figure. \end_layout \begin_layout Bicaption -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -350,7 +356,7 @@ English short title \end_inset -\begin_inset Argument +\begin_inset Argument 2 status open \begin_layout Plain Layout @@ -360,6 +366,18 @@ English Title \end_inset +\begin_inset Argument 3 +status open + +\begin_layout Plain Layout + +\lang ngerman +German short title +\end_layout + +\end_inset + + \lang ngerman German Title \lang english @@ -495,7 +513,7 @@ reference "sec:Float-List-Customization" \end_inset -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -530,7 +548,7 @@ the label font should be bold, the label separator is a line break instead \end_layout \begin_layout Caption setup -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -564,7 +582,7 @@ the second language caption text should be sans-serif italic \end_layout \begin_layout Caption setup -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -629,7 +647,7 @@ A figure. \end_layout \begin_layout Bicaption -\begin_inset Argument +\begin_inset Argument 2 status open \begin_layout Plain Layout @@ -836,10 +854,10 @@ key "bicaption" \begin_layout Standard \begin_inset Tabular - + - + \begin_inset Text diff --git a/lib/layouts/bicaption.module b/lib/layouts/bicaption.module index c21d5a5086..3871098724 100644 --- a/lib/layouts/bicaption.module +++ b/lib/layouts/bicaption.module @@ -11,7 +11,7 @@ Style "Caption setup" LatexType command LatexName captionsetup Category FrontMatter - Argument options + Argument 1 LabelString "Caption Setup Options" Shortcut S Tooltip "Options for the caption setup command (see bicaption manual)" @@ -39,12 +39,20 @@ Style Bicaption CopyStyle "Caption setup" LatexName bicaption Category MainText - Argument options + Argument 1 + LabelString "Second Language Caption Short Title" + Tooltip "A short title (for list of figures/tables) in the second language" + EndArgument + Argument 2 Mandatory 1 - LabelString "Second language caption text" + LabelString "Second Language Caption Text" Shortcut S Tooltip "The caption text in the second language" EndArgument + Argument 3 + LabelString "Main Language Caption Short Title" + Tooltip "A short title (for list of figures/tables) in the main language" + EndArgument TopSep 0 Align Center AlignPossible Center -- 2.39.2