Auto-fill short title where appropriate

Addresses: #4745
This commit is contained in:
Juergen Spitzmueller 2015-05-21 09:12:45 +02:00
parent 977bbd9bc3
commit f70e78487e
18 changed files with 77 additions and 26 deletions

View File

@ -123,6 +123,7 @@ Style Author
Argument 1 Argument 1
LabelString "Short Author|S" LabelString "Short Author|S"
Tooltip "A short version of the author name" Tooltip "A short version of the author name"
InsertCotext 1
EndArgument EndArgument
LatexName author LatexName author
LabelSep xxx LabelSep xxx
@ -335,6 +336,7 @@ Style Appendix
Argument 1 Argument 1
LabelString "Short Title" LabelString "Short Title"
Tooltip "Short title for the appendix" Tooltip "Short title for the appendix"
InsertCotext 1
EndArgument EndArgument
End End

View File

@ -76,6 +76,7 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "Short title which will appear in the running header" Tooltip "Short title which will appear in the running header"
InsertCotext 1
EndArgument EndArgument
End End
@ -110,6 +111,7 @@ Style Affiliation
Argument 1 Argument 1
LabelString "Short name" LabelString "Short name"
Tooltip "Short name which appears in the footer of the title page" Tooltip "Short name which appears in the footer of the title page"
InsertCotext 1
EndArgument EndArgument
End End

View File

@ -37,6 +37,7 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "Short title which appears in the running headers" Tooltip "Short title which appears in the running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Shape Smallcaps Shape Smallcaps

View File

@ -256,6 +256,7 @@ InsetLayout Caption:Centered
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables" Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
EndArgument EndArgument
HTMLStyle HTMLStyle
div.float-caption { div.float-caption {

View File

@ -356,6 +356,7 @@ InsetLayout Caption:Centered
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables" Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
EndArgument EndArgument
HTMLStyle HTMLStyle
div.float-caption { div.float-caption {

View File

@ -183,7 +183,7 @@ Style Description
ParSep 0.3 ParSep 0.3
Align Left Align Left
LabelType Manual LabelType Manual
LabelFont LabelFont
Series Bold Series Bold
EndFont EndFont
End End
@ -208,6 +208,7 @@ Style Part
Argument 2 Argument 2
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers" Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
NeedProtect 1 NeedProtect 1
NextNoIndent 1 NextNoIndent 1
@ -221,7 +222,7 @@ Style Part
LabelType Static LabelType Static
LabelString "Part" LabelString "Part"
RefPrefix part RefPrefix part
Font Font
Family Roman Family Roman
Series Bold Series Bold
Size Huge Size Huge
@ -260,13 +261,14 @@ Style Section
Argument 2 Argument 2
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers" Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Family Roman Family Roman
Series Bold Series Bold
Size huge Size huge
EndFont EndFont
LabelFont LabelFont
Color latex Color latex
EndFont EndFont
LabelStringAppendix "\Alph{section}" LabelStringAppendix "\Alph{section}"
@ -318,13 +320,14 @@ Style Subsection
Argument 2 Argument 2
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The subsection as it appears in the table of contents/running headers" Tooltip "The subsection as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Family Roman Family Roman
Series Bold Series Bold
Size larger Size larger
EndFont EndFont
LabelFont LabelFont
Color latex Color latex
EndFont EndFont
LabelStringAppendix "\arabic{section}.\arabic{subsection}" LabelStringAppendix "\arabic{section}.\arabic{subsection}"
@ -376,13 +379,14 @@ Style Subsubsection
Argument 2 Argument 2
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The subsubsection as it appears in the table of contents/running headers" Tooltip "The subsubsection as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Family Roman Family Roman
Series Bold Series Bold
Size large Size large
EndFont EndFont
LabelFont LabelFont
Color latex Color latex
EndFont EndFont
LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}" LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
@ -523,7 +527,7 @@ Style AgainFrame
Font Font
Color latex Color latex
EndFont EndFont
LabelFont LabelFont
Family Roman Family Roman
Color latex Color latex
Size Largest Size Largest
@ -542,7 +546,7 @@ Style FrameTitle
ParSep 1 ParSep 1
Align Block Align Block
LabelType No_Label LabelType No_Label
Font Font
Color Blue Color Blue
Size Largest Size Largest
EndFont EndFont
@ -556,6 +560,7 @@ Style FrameTitle
Argument 2 Argument 2
LabelString "Short Frame Title|S" LabelString "Short Frame Title|S"
Tooltip "A short form of the frame title used in some themes" Tooltip "A short form of the frame title used in some themes"
InsertCotext 1
EndArgument EndArgument
End End
@ -571,7 +576,7 @@ Style FrameSubtitle
ParSep 1 ParSep 1
Align Block Align Block
LabelType No_Label LabelType No_Label
Font Font
Color Blue Color Blue
EndFont EndFont
Argument 1 Argument 1
@ -609,7 +614,7 @@ Style Column
Tooltip "Column options (see beamer manual)" Tooltip "Column options (see beamer manual)"
EndArgument EndArgument
LeftMargin "Start column (increase depth!), width:xx" LeftMargin "Start column (increase depth!), width:xx"
LabelFont LabelFont
Family Roman Family Roman
Color latex Color latex
EndFont EndFont
@ -636,7 +641,7 @@ Style Columns
TopSep 1 TopSep 1
BottomSep 1 BottomSep 1
ParSep 0 ParSep 0
LabelFont LabelFont
Family Roman Family Roman
Color latex Color latex
EndFont EndFont
@ -720,7 +725,7 @@ Style Overprint
Align Left Align Left
LabelType Static LabelType Static
LabelString "Overprint" LabelString "Overprint"
LabelFont LabelFont
Family Roman Family Roman
Color latex Color latex
EndFont EndFont
@ -741,7 +746,7 @@ Style OverlayArea
TopSep 1 TopSep 1
BottomSep 1 BottomSep 1
ParSep 0 ParSep 0
LabelFont LabelFont
Family Roman Family Roman
Color latex Color latex
EndFont EndFont
@ -773,7 +778,7 @@ Style Uncover
TopSep 1 TopSep 1
BottomSep 1 BottomSep 1
ParSep 0 ParSep 0
LabelFont LabelFont
Family Roman Family Roman
Color Latex Color Latex
EndFont EndFont
@ -897,8 +902,9 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "Short title which appears in the sidebar/header" Tooltip "Short title which appears in the sidebar/header"
InsertCotext 1
EndArgument EndArgument
Font Font
Size Huge Size Huge
Series Bold Series Bold
Color Blue Color Blue
@ -929,8 +935,9 @@ Style Subtitle
Argument 1 Argument 1
LabelString "Short Subtitle|S" LabelString "Short Subtitle|S"
Tooltip "Short subtitle which appears in the sidebar/header" Tooltip "Short subtitle which appears in the sidebar/header"
InsertCotext 1
EndArgument EndArgument
Font Font
Size Large Size Large
Series Bold Series Bold
Color Blue Color Blue
@ -952,8 +959,9 @@ Style Author
Argument 1 Argument 1
LabelString "Short Author|S" LabelString "Short Author|S"
Tooltip "Short author which appears in the sidebar/header" Tooltip "Short author which appears in the sidebar/header"
InsertCotext 1
EndArgument EndArgument
Font Font
Size Largest Size Largest
Color Blue Color Blue
EndFont EndFont
@ -974,8 +982,9 @@ Style Institute
Argument 1 Argument 1
LabelString "Short Institute|S" LabelString "Short Institute|S"
Tooltip "Short institute which appears in the sidebar/header" Tooltip "Short institute which appears in the sidebar/header"
InsertCotext 1
EndArgument EndArgument
Font Font
Size Large Size Large
Color Blue Color Blue
EndFont EndFont
@ -1017,8 +1026,9 @@ Style Date
Argument 1 Argument 1
LabelString "Short Date|S" LabelString "Short Date|S"
Tooltip "Short date which appears in the sidebar/header" Tooltip "Short date which appears in the sidebar/header"
InsertCotext 1
EndArgument EndArgument
Font Font
Size Largest Size Largest
Color Blue Color Blue
EndFont EndFont
@ -1037,7 +1047,7 @@ Style TitleGraphic
ParSep 1 ParSep 1
Align Center Align Center
LabelType No_Label LabelType No_Label
Font Font
Size Huge Size Huge
Series Bold Series Bold
Color Blue Color Blue
@ -1066,7 +1076,7 @@ Style Bibliography
LabelType Bibliography LabelType Bibliography
LabelString "References" LabelString "References"
LabelBottomSep 0.7 LabelBottomSep 0.7
LabelFont LabelFont
Series Bold Series Bold
Size Larger Size Larger
EndFont EndFont
@ -1278,7 +1288,7 @@ Style LyX-Code
\item[]} \item[]}
{\end{list}} {\end{list}}
EndPreamble EndPreamble
Font Font
Family Typewriter Family Typewriter
EndFont EndFont
End End
@ -1298,7 +1308,7 @@ Style NoteItem
LabelSep xx LabelSep xx
LabelString "Note:" LabelString "Note:"
LeftMargin "Note:xx" LeftMargin "Note:xx"
LabelFont LabelFont
Family Roman Family Roman
Color latex Color latex
EndFont EndFont

View File

@ -134,6 +134,7 @@ Style Section
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The title as it appears in the header" Tooltip "The title as it appears in the header"
InsertCotext 1
EndArgument EndArgument
ParSkip 0.4 ParSkip 0.4
TopSep 1.3 TopSep 1.3

View File

@ -64,6 +64,7 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "Short title that will appear in header line" Tooltip "Short title that will appear in header line"
InsertCotext 1
EndArgument EndArgument
ParSkip 0.4 ParSkip 0.4
ItemSep 0 ItemSep 0

View File

@ -73,6 +73,7 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "Short title that will appear in header line" Tooltip "Short title that will appear in header line"
InsertCotext 1
EndArgument EndArgument
LabelType No_Label LabelType No_Label
Font Font

View File

@ -55,19 +55,21 @@ Style Part
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers" Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
End End
Style Chapter Style Chapter
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The chapter as it appears in the table of contents" Tooltip "The chapter as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The chapter as it appears in the running headers" Tooltip "The chapter as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
End End
@ -77,6 +79,7 @@ Style Chapter*
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The chapter as it appears in the table of contents" Tooltip "The chapter as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
End End
@ -85,10 +88,12 @@ Style Section
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The section as it appears in the table of contents" Tooltip "The section as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The section as it appears in the running headers" Tooltip "The section as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
End End
@ -98,10 +103,12 @@ Style Subsection
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The subsection as it appears in the table of contents" Tooltip "The subsection as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The subsection as it appears in the running headers" Tooltip "The subsection as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
End End
@ -111,10 +118,12 @@ Style Subsubsection
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The subsubsection as it appears in the table of contents" Tooltip "The subsubsection as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The subsubsection as it appears in the running headers" Tooltip "The subsubsection as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
End End
@ -124,10 +133,12 @@ Style Paragraph
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The paragraph as it appears in the table of contents" Tooltip "The paragraph as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The paragraph as it appears in the running headers" Tooltip "The paragraph as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
End End
@ -137,10 +148,12 @@ Style Subparagraph
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The subparagraph as it appears in the table of contents" Tooltip "The subparagraph as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The subparagraph as it appears in the running headers" Tooltip "The subparagraph as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
End End
@ -204,10 +217,12 @@ Style Poemtitle
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The poem title as it appears in the table of contents" Tooltip "The poem title as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
Argument 2 Argument 2
LabelString "Short Title (Header)" LabelString "Short Title (Header)"
Tooltip "The poem title as it appears in the running headers" Tooltip "The poem title as it appears in the running headers"
InsertCotext 1
Requires 1 Requires 1
EndArgument EndArgument
Font Font
@ -223,6 +238,7 @@ Style Poemtitle*
Argument 1 Argument 1
LabelString "Short Title (TOC)|S" LabelString "Short Title (TOC)|S"
Tooltip "The poem title as it appears in the table of contents" Tooltip "The poem title as it appears in the table of contents"
InsertCotext 1
EndArgument EndArgument
End End

View File

@ -198,6 +198,7 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "Short title as it appears in the running headers" Tooltip "Short title as it appears in the running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold

View File

@ -125,6 +125,7 @@ Style Addpart
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers" Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
End End
@ -135,6 +136,7 @@ Style Addchap
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The chapter as it appears in the table of contents/running headers" Tooltip "The chapter as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
End End
@ -145,6 +147,7 @@ Style Addsec
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers" Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
End End
@ -282,6 +285,7 @@ InsetLayout Caption:Above
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables" Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
EndArgument EndArgument
HTMLStyle HTMLStyle
div.float-caption { div.float-caption {
@ -304,6 +308,7 @@ InsetLayout Caption:Below
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables" Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
EndArgument EndArgument
HTMLStyle HTMLStyle
div.float-caption { div.float-caption {

View File

@ -204,6 +204,7 @@ Style Title
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The title as it appears in the running headers" Tooltip "The title as it appears in the running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Shape Smallcaps Shape Smallcaps

View File

@ -50,6 +50,7 @@ Style Section
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers" Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
End End

View File

@ -561,6 +561,7 @@ InsetLayout Caption:Standard
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables" Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
EndArgument EndArgument
HTMLStyle HTMLStyle
div.float-caption { div.float-caption {

View File

@ -31,6 +31,7 @@ Style Part
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers" Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold
@ -61,6 +62,7 @@ Style Chapter
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The chapter as it appears in the table of contents/running headers" Tooltip "The chapter as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold
@ -90,6 +92,7 @@ Style Section
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers" Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold

View File

@ -79,6 +79,7 @@ Style Chapter
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The chapter as it appears in the table of contents/running headers" Tooltip "The chapter as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold
@ -106,6 +107,7 @@ Style Section
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers" Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold

View File

@ -39,6 +39,7 @@ Style Part
Argument 1 Argument 1
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers" Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
EndArgument EndArgument
Font Font
Series Bold Series Bold