]> git.lyx.org Git - features.git/commitdiff
Auto-fill short title where appropriate
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 21 May 2015 07:12:45 +0000 (09:12 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 21 May 2015 07:12:45 +0000 (09:12 +0200)
Addresses: #4745

18 files changed:
lib/layouts/IEEEtran.layout
lib/layouts/achemso.layout
lib/layouts/amsdefs.inc
lib/layouts/apa.layout
lib/layouts/apa6.layout
lib/layouts/beamer.layout
lib/layouts/europecv.layout
lib/layouts/iopart.layout
lib/layouts/jasatex.layout
lib/layouts/memoir.layout
lib/layouts/revtex4-1.layout
lib/layouts/scrclass.inc
lib/layouts/siamltex.layout
lib/layouts/simplecv.layout
lib/layouts/stdinsets.inc
lib/layouts/stdsections.inc
lib/layouts/tufte-book.layout
lib/layouts/tufte-handout.layout

index 3c13055c458c5751a1f0fedcbb113a2e9577790c..d97fb4b8a01c0a7d9401f240768fc664ff95cc3a 100644 (file)
@@ -123,6 +123,7 @@ Style Author
   Argument 1
     LabelString        "Short Author|S"
     Tooltip    "A short version of the author name"
+    InsertCotext 1
   EndArgument
   LatexName    author
   LabelSep     xxx
@@ -335,6 +336,7 @@ Style Appendix
   Argument 1
     LabelString        "Short Title"
     Tooltip    "Short title for the appendix"
+    InsertCotext 1
   EndArgument
 End
 
index fd33587eadd73d3153d7f7ed04c0ad4da134c930..6f1144bd685d805e7f9b8a23432950dbb279c220 100644 (file)
@@ -76,6 +76,7 @@ Style Title
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "Short title which will appear in the running header"
+         InsertCotext  1
        EndArgument
 End
 
@@ -110,6 +111,7 @@ Style Affiliation
        Argument 1
          LabelString   "Short name"
          Tooltip       "Short name which appears in the footer of the title page"
+         InsertCotext  1
        EndArgument
 End
 
index a14da5d4cbb62ac815dc8b9a609c238b8c3dbf08..658cf94b6fc47ef38c71a053420d136f7b7849c4 100644 (file)
@@ -37,6 +37,7 @@ Style Title
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "Short title which appears in the running headers"
+               InsertCotext  1
        EndArgument
        Font
          Shape               Smallcaps
index a5b081250564f9d0c8d0d3df83d7f8e442daee1d..dd536460848937d1932d87aae148c081a801f05a 100644 (file)
@@ -256,6 +256,7 @@ InsetLayout Caption:Centered
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {
index cf9e2a69e2dc7023972a2e8ca16d16463255b8f4..a34fed507fc48e28ee73e8224e250c2a8dc53dee 100644 (file)
@@ -356,6 +356,7 @@ InsetLayout Caption:Centered
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {
index 4247886b25f73f3eab04a1416e1e38b690a34bbd..a56dbd9d28c9839cac9173393ce0b3a69c1d0e76 100644 (file)
@@ -183,7 +183,7 @@ Style Description
   ParSep           0.3
   Align            Left
   LabelType        Manual
-  LabelFont 
+  LabelFont
     Series         Bold
   EndFont
 End
@@ -208,6 +208,7 @@ Style Part
   Argument 2
     LabelString    "Short Title|S"
     Tooltip        "The part as it appears in the table of contents/running headers"
+    InsertCotext   1
   EndArgument
   NeedProtect      1
   NextNoIndent     1
@@ -221,7 +222,7 @@ Style Part
   LabelType        Static
   LabelString      "Part"
   RefPrefix        part
-  Font 
+  Font
     Family         Roman
     Series         Bold
     Size           Huge
@@ -260,13 +261,14 @@ Style Section
   Argument 2
     LabelString    "Short Title|S"
     Tooltip        "The section as it appears in the table of contents/running headers"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Family         Roman
     Series         Bold
     Size           huge
   EndFont
-  LabelFont 
+  LabelFont
     Color          latex
   EndFont
   LabelStringAppendix "\Alph{section}"
@@ -318,13 +320,14 @@ Style Subsection
   Argument 2
     LabelString    "Short Title|S"
     Tooltip        "The subsection as it appears in the table of contents/running headers"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Family         Roman
     Series         Bold
     Size           larger
   EndFont
-  LabelFont 
+  LabelFont
     Color          latex
   EndFont
   LabelStringAppendix "\arabic{section}.\arabic{subsection}"
@@ -376,13 +379,14 @@ Style Subsubsection
   Argument 2
     LabelString    "Short Title|S"
     Tooltip        "The subsubsection as it appears in the table of contents/running headers"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Family         Roman
     Series         Bold
     Size           large
   EndFont
-  LabelFont 
+  LabelFont
     Color          latex
   EndFont
   LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
@@ -523,7 +527,7 @@ Style AgainFrame
   Font
     Color           latex
   EndFont
-  LabelFont 
+  LabelFont
     Family          Roman
     Color           latex
     Size            Largest
@@ -542,7 +546,7 @@ Style FrameTitle
   ParSep           1
   Align            Block
   LabelType        No_Label
-  Font 
+  Font
     Color          Blue
     Size           Largest
   EndFont
@@ -556,6 +560,7 @@ Style FrameTitle
   Argument 2
     LabelString    "Short Frame Title|S"
     Tooltip        "A short form of the frame title used in some themes"
+    InsertCotext   1
   EndArgument
 End
 
@@ -571,7 +576,7 @@ Style FrameSubtitle
   ParSep           1
   Align            Block
   LabelType        No_Label
-  Font 
+  Font
     Color          Blue
   EndFont
   Argument 1
@@ -609,7 +614,7 @@ Style Column
     Tooltip        "Column options (see beamer manual)"
   EndArgument
   LeftMargin       "Start column (increase depth!), width:xx"
-  LabelFont 
+  LabelFont
     Family         Roman
     Color          latex
   EndFont
@@ -636,7 +641,7 @@ Style Columns
   TopSep           1
   BottomSep        1
   ParSep           0
-  LabelFont 
+  LabelFont
     Family         Roman
     Color          latex
   EndFont
@@ -720,7 +725,7 @@ Style Overprint
   Align            Left
   LabelType        Static
   LabelString      "Overprint"
-  LabelFont 
+  LabelFont
     Family         Roman
     Color          latex
   EndFont
@@ -741,7 +746,7 @@ Style OverlayArea
   TopSep           1
   BottomSep        1
   ParSep           0
-  LabelFont 
+  LabelFont
     Family         Roman
     Color          latex
   EndFont
@@ -773,7 +778,7 @@ Style Uncover
   TopSep           1
   BottomSep        1
   ParSep           0
-  LabelFont 
+  LabelFont
     Family         Roman
     Color          Latex
   EndFont
@@ -897,8 +902,9 @@ Style Title
   Argument 1
     LabelString   "Short Title|S"
     Tooltip       "Short title which appears in the sidebar/header"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Size           Huge
     Series         Bold
     Color          Blue
@@ -929,8 +935,9 @@ Style Subtitle
   Argument 1
     LabelString   "Short Subtitle|S"
     Tooltip       "Short subtitle which appears in the sidebar/header"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Size           Large
     Series         Bold
     Color          Blue
@@ -952,8 +959,9 @@ Style Author
   Argument 1
     LabelString   "Short Author|S"
     Tooltip       "Short author which appears in the sidebar/header"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Size           Largest
     Color          Blue
   EndFont
@@ -974,8 +982,9 @@ Style Institute
   Argument 1
     LabelString   "Short Institute|S"
     Tooltip       "Short institute which appears in the sidebar/header"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Size           Large
     Color          Blue
   EndFont
@@ -1017,8 +1026,9 @@ Style Date
   Argument 1
     LabelString   "Short Date|S"
     Tooltip       "Short date which appears in the sidebar/header"
+    InsertCotext   1
   EndArgument
-  Font 
+  Font
     Size           Largest
     Color          Blue
   EndFont
@@ -1037,7 +1047,7 @@ Style TitleGraphic
   ParSep           1
   Align            Center
   LabelType        No_Label
-  Font 
+  Font
     Size           Huge
     Series         Bold
     Color          Blue
@@ -1066,7 +1076,7 @@ Style Bibliography
   LabelType        Bibliography
   LabelString      "References"
   LabelBottomSep   0.7
-  LabelFont 
+  LabelFont
     Series         Bold
     Size           Larger
   EndFont
@@ -1278,7 +1288,7 @@ Style LyX-Code
      \item[]}
     {\end{list}}
   EndPreamble
-  Font 
+  Font
     Family         Typewriter
   EndFont
 End
@@ -1298,7 +1308,7 @@ Style NoteItem
   LabelSep         xx
   LabelString      "Note:"
   LeftMargin       "Note:xx"
-  LabelFont 
+  LabelFont
     Family         Roman
     Color          latex
   EndFont
index 91517bb035018562034efea0a1ed67c66d107e91..4ca5576c59fae8ac00c1ce0cf22fa1f690259058 100644 (file)
@@ -134,6 +134,7 @@ Style Section
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "The title as it appears in the header"
+         InsertCotext   1
        EndArgument
        ParSkip         0.4
        TopSep          1.3
index 6e87ae25cb8c9b033e925273f2f6353c0a72f603..0e5006e186383be17d4c216c64937a3dfc416b3e 100644 (file)
@@ -64,6 +64,7 @@ Style Title
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "Short title that will appear in header line"
+         InsertCotext   1
        EndArgument
        ParSkip         0.4
        ItemSep         0
index 295868e1e7e83c34159d51047286c509b495576c..106d38241cff0767d6ce1b2b7aa39c6446a90f7e 100644 (file)
@@ -73,6 +73,7 @@ Style Title
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "Short title that will appear in header line"
+         InsertCotext   1
        EndArgument
        LabelType       No_Label
        Font
index f6e23ffbca37a14caea4ad6a705bbd28292cf1c5..eee8224a3e2b543638cfa193dfe623e9799cc380 100644 (file)
@@ -55,19 +55,21 @@ Style Part
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The part as it appears in the table of contents/running headers"
+               InsertCotext   1
        EndArgument
 End
-       
 
 
 Style Chapter
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The chapter as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The chapter as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
 End
@@ -77,6 +79,7 @@ Style Chapter*
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The chapter as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
 End
 
@@ -85,10 +88,12 @@ Style Section
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The section as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The section as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
 End
@@ -98,10 +103,12 @@ Style Subsection
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The subsection as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The subsection as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
 End
@@ -111,10 +118,12 @@ Style Subsubsection
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The subsubsection as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The subsubsection as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
 End
@@ -124,10 +133,12 @@ Style Paragraph
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The paragraph as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The paragraph as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
 End
@@ -137,10 +148,12 @@ Style Subparagraph
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The subparagraph as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The subparagraph as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
 End
@@ -204,10 +217,12 @@ Style Poemtitle
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The poem title as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
        Argument 2
                LabelString   "Short Title (Header)"
                Tooltip       "The poem title as it appears in the running headers"
+               InsertCotext  1
                Requires      1
        EndArgument
        Font
@@ -223,6 +238,7 @@ Style Poemtitle*
        Argument 1
                LabelString   "Short Title (TOC)|S"
                Tooltip       "The poem title as it appears in the table of contents"
+               InsertCotext   1
        EndArgument
 End
 
index c8f521e073d9443ac0cc1c35679b540139b02ff3..ce87e043f26de8bd3c69c56460a8efd01dbc2d63 100644 (file)
@@ -198,6 +198,7 @@ Style Title
        Argument 1
          LabelString           "Short Title|S"
          Tooltip               "Short title as it appears in the running headers"
+         InsertCotext          1
        EndArgument
        Font
          Series                Bold
index 5c2cf9782fc041cae4eebd3bb0110aee2bba5dec..312e9ccabac9e5c813504a544bbc5993a1d86ff5 100644 (file)
@@ -125,6 +125,7 @@ Style Addpart
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The part as it appears in the table of contents/running headers"
+               InsertCotext  1
        EndArgument
 End
 
@@ -135,6 +136,7 @@ Style Addchap
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The chapter as it appears in the table of contents/running headers"
+               InsertCotext  1
        EndArgument
 End
 
@@ -145,6 +147,7 @@ Style Addsec
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The section as it appears in the table of contents/running headers"
+               InsertCotext  1
        EndArgument
 End
 
@@ -282,6 +285,7 @@ InsetLayout Caption:Above
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {
@@ -304,6 +308,7 @@ InsetLayout Caption:Below
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {
index 1d64a20db025858e65dd4e23ed44b0337456ffaf..ae059e414eafbddded67b93b2b8edbbd6cd1b733 100644 (file)
@@ -204,6 +204,7 @@ Style Title
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The title as it appears in the running headers"
+               InsertCotext   1
        EndArgument
        Font
          Shape               Smallcaps
index 2477beda61ec7df69d61144c5f3d7b376cfcf31f..cbcafe11aeca5856a847cd7e589e798cb766bc0d 100644 (file)
@@ -50,6 +50,7 @@ Style Section
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The section as it appears in the table of contents/running headers"
+               InsertCotext   1
        EndArgument
 End
 
index ffc507d9c7a01725ccce4270bfb9be50964ed5b8..422d8931a319ec260e615b40dcacd626235b4155 100644 (file)
@@ -561,6 +561,7 @@ InsetLayout Caption:Standard
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {
index 0635303e4d8a1b5d716ed9840985e56bbd4d072a..63d8e4b5db878cfb87b65ad450d665ea7fdfc256 100644 (file)
@@ -31,6 +31,7 @@ Style Part
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The part as it appears in the table of contents/running headers"
+               InsertCotext  1
        EndArgument
        Font
          Series              Bold
@@ -61,6 +62,7 @@ Style Chapter
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The chapter as it appears in the table of contents/running headers"
+               InsertCotext  1
        EndArgument
        Font
          Series              Bold
@@ -90,6 +92,7 @@ Style Section
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The section as it appears in the table of contents/running headers"
+               InsertCotext  1
        EndArgument
        Font
          Series              Bold
index 755a856839433bc7b8dee1188267b8ca2f5e4bef..249300ef6e762068f1c62826deede94d8571e900 100644 (file)
@@ -79,6 +79,7 @@ Style Chapter
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "The chapter as it appears in the table of contents/running headers"
+         InsertCotext   1
        EndArgument
        Font
          Series        Bold
@@ -106,6 +107,7 @@ Style Section
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "The section as it appears in the table of contents/running headers"
+         InsertCotext   1
        EndArgument
        Font
          Series        Bold
index 61740b0b1efc26d6db23a91896f636d7d833bd3e..5e01c3fef838a7fc7e76d4f48c930264819008a5 100644 (file)
@@ -39,6 +39,7 @@ Style Part
        Argument 1
          LabelString   "Short Title|S"
          Tooltip       "The part as it appears in the table of contents/running headers"
+         InsertCotext   1
        EndArgument
        Font
          Series        Bold