From d3b94fed30d560698392b2317033ab30d062a8d4 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sun, 30 Dec 2012 20:30:35 +0100 Subject: [PATCH] Added categories for style Bibliography, TwoAuthors, ThreeAuthors, TwoAffiliations, ThreeAffiliations, Institute, DinBrief, Section, Subsection, Theorem, Labeling, Opening, Closing, Signature, Name --- lib/layouts/amsdefs.inc | 1 + lib/layouts/apa.layout | 4 ++++ lib/layouts/cl2emult.layout | 1 + lib/layouts/dinbrief.layout | 1 + lib/layouts/egs.layout | 3 +++ lib/layouts/elsart.layout | 2 ++ lib/layouts/enumitem.module | 1 + lib/layouts/europecv.layout | 2 +- lib/layouts/foils.layout | 1 + lib/layouts/g-brief.layout | 2 ++ lib/layouts/g-brief2.layout | 3 +++ lib/layouts/heb-article.layout | 2 ++ lib/layouts/llncs.layout | 3 +++ lib/layouts/ltugboat.layout | 2 ++ lib/layouts/moderncv.layout | 2 ++ lib/layouts/powerdot.layout | 2 ++ lib/layouts/scrclass.inc | 1 + lib/layouts/scrlettr.layout | 3 +++ lib/layouts/scrlttr2.layout | 2 ++ lib/layouts/simplecv.layout | 2 ++ lib/layouts/stdletter.inc | 2 ++ 21 files changed, 41 insertions(+), 1 deletion(-) diff --git a/lib/layouts/amsdefs.inc b/lib/layouts/amsdefs.inc index 50345a6b88..460e13360b 100644 --- a/lib/layouts/amsdefs.inc +++ b/lib/layouts/amsdefs.inc @@ -197,6 +197,7 @@ End Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography diff --git a/lib/layouts/apa.layout b/lib/layouts/apa.layout index c2551bf0ff..374a048f65 100644 --- a/lib/layouts/apa.layout +++ b/lib/layouts/apa.layout @@ -133,6 +133,7 @@ End Style TwoAuthors + Category FrontMatter LatexName twoauthors LatexType Command InTitle 1 @@ -140,6 +141,7 @@ End Style ThreeAuthors + Category FrontMatter LatexName threeauthors LatexType Command InTitle 1 @@ -177,6 +179,7 @@ End Style TwoAffiliations + Category FrontMatter LatexName twoaffiliations LatexType Command InTitle 1 @@ -184,6 +187,7 @@ End Style ThreeAffiliations + Category FrontMatter LatexName threeaffiliations LatexType Command InTitle 1 diff --git a/lib/layouts/cl2emult.layout b/lib/layouts/cl2emult.layout index 70ccb6dd6c..5fe6f6ebf0 100644 --- a/lib/layouts/cl2emult.layout +++ b/lib/layouts/cl2emult.layout @@ -71,6 +71,7 @@ End Style Institute + Category FrontMatter LatexType Command InTitle 1 LatexName institute diff --git a/lib/layouts/dinbrief.layout b/lib/layouts/dinbrief.layout index cb9973c11b..a251364434 100644 --- a/lib/layouts/dinbrief.layout +++ b/lib/layouts/dinbrief.layout @@ -27,6 +27,7 @@ EndPreamble # the LeftMargin is set to the probably longest string # (no typo! the umlaut is delibarately omitted) Style DinBrief + Category Letter LatexType Command Margin Static LeftMargin "Rucksende-Adresse:" diff --git a/lib/layouts/egs.layout b/lib/layouts/egs.layout index 9c6b328786..5d139cae5a 100644 --- a/lib/layouts/egs.layout +++ b/lib/layouts/egs.layout @@ -30,6 +30,7 @@ End Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName section @@ -52,6 +53,7 @@ End Style Subsection + Category Sectioning Margin Dynamic LatexType Command LatexName subsection @@ -569,6 +571,7 @@ End Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography diff --git a/lib/layouts/elsart.layout b/lib/layouts/elsart.layout index d7768aef24..77c68398bb 100644 --- a/lib/layouts/elsart.layout +++ b/lib/layouts/elsart.layout @@ -270,6 +270,7 @@ End Style Theorem + Category Theorem Margin First_Dynamic LatexType Environment LatexName thm @@ -299,6 +300,7 @@ End # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu) Style Proof + Category Theorem Margin First_Dynamic LatexType Environment # elsart defines the unusual environment pf for proofs. diff --git a/lib/layouts/enumitem.module b/lib/layouts/enumitem.module index 57f44d23f7..b93aaf769b 100644 --- a/lib/layouts/enumitem.module +++ b/lib/layouts/enumitem.module @@ -80,6 +80,7 @@ End Input stdlyxlist.inc Style Labeling + Category List LatexName elabeling # FIXME This should probably be defined using \newlist instead Preamble diff --git a/lib/layouts/europecv.layout b/lib/layouts/europecv.layout index 546794777e..3c7f25b1af 100644 --- a/lib/layouts/europecv.layout +++ b/lib/layouts/europecv.layout @@ -125,10 +125,10 @@ Style Page End Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName ecvsection - Category MainText NeedProtect 1 NextNoIndent 1 Argument 1 diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout index d589b37e31..c63e1bbd26 100644 --- a/lib/layouts/foils.layout +++ b/lib/layouts/foils.layout @@ -218,6 +218,7 @@ End Style Theorem + Category Theorem Margin First_Dynamic LatexType Environment LatexName Theorem diff --git a/lib/layouts/g-brief.layout b/lib/layouts/g-brief.layout index 9e503b871f..3bf63e09e1 100644 --- a/lib/layouts/g-brief.layout +++ b/lib/layouts/g-brief.layout @@ -34,6 +34,7 @@ End Style Name + Category Letter Margin Static LatexType Command LatexName Name @@ -230,6 +231,7 @@ End Style Closing + Category Letter CopyStyle Name LatexName LyxGruss BottomSep 1.5 diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout index ab98396f22..34b7216741 100644 --- a/lib/layouts/g-brief2.layout +++ b/lib/layouts/g-brief2.layout @@ -843,6 +843,7 @@ End # Opening style definition Style Opening + Category Letter Margin Static LatexType Command LatexName Anrede @@ -865,6 +866,7 @@ End # Gruss style definition Style Closing + Category Letter Margin Static LatexType Command LatexName LyxGruss @@ -891,6 +893,7 @@ End # Unterschrift des Absenders Style Signature + Category Letter Margin Static LatexType Command LatexName Unterschrift diff --git a/lib/layouts/heb-article.layout b/lib/layouts/heb-article.layout index 2741133438..028492eb8c 100644 --- a/lib/layouts/heb-article.layout +++ b/lib/layouts/heb-article.layout @@ -17,6 +17,7 @@ EndPreamble Style Theorem + Category Theorem Margin First_Dynamic LatexType Environment LatexName theorem @@ -94,6 +95,7 @@ End Style Proof + Category Theorem Margin First_Dynamic LatexType Environment LatexName proof diff --git a/lib/layouts/llncs.layout b/lib/layouts/llncs.layout index e5e7539986..8da673fe50 100644 --- a/lib/layouts/llncs.layout +++ b/lib/layouts/llncs.layout @@ -218,6 +218,7 @@ End Style Institute + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -266,6 +267,7 @@ End Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography @@ -289,6 +291,7 @@ End # Mathematics-like definitions: Style Case + Category Theorem Margin First_Dynamic LatexType Environment LatexName case diff --git a/lib/layouts/ltugboat.layout b/lib/layouts/ltugboat.layout index 5e67ba9934..93f5c49f0a 100644 --- a/lib/layouts/ltugboat.layout +++ b/lib/layouts/ltugboat.layout @@ -45,6 +45,7 @@ End Input stdlists.inc Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName section @@ -65,6 +66,7 @@ End Style Subsection + Category Sectioning Margin Dynamic LatexType Command LatexName subsection diff --git a/lib/layouts/moderncv.layout b/lib/layouts/moderncv.layout index 0b0970e6a2..9640de91e1 100644 --- a/lib/layouts/moderncv.layout +++ b/lib/layouts/moderncv.layout @@ -172,6 +172,7 @@ Style Quote End Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName section @@ -393,6 +394,7 @@ Style MakeLetterClosing End Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout index 4685d1c296..868fb92ef4 100644 --- a/lib/layouts/powerdot.layout +++ b/lib/layouts/powerdot.layout @@ -226,6 +226,7 @@ End ### Style Section CopyStyle Slide + Category Sectioning TocLevel 1 LatexName lyxend\section LabelType Counter @@ -294,6 +295,7 @@ End # Bibliography style definition ### Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc index 3201b75ffb..f870eee916 100644 --- a/lib/layouts/scrclass.inc +++ b/lib/layouts/scrclass.inc @@ -41,6 +41,7 @@ Style Description End Style Labeling + Category List LatexName labeling # overwrite the preamble code definition Preamble diff --git a/lib/layouts/scrlettr.layout b/lib/layouts/scrlettr.layout index d4a88f0ec6..bc9cc75d4b 100644 --- a/lib/layouts/scrlettr.layout +++ b/lib/layouts/scrlettr.layout @@ -40,6 +40,7 @@ Input stdlayouts.inc Style Letter + Category Letter LatexType Command LatexName letter KeepEmpty 1 @@ -70,6 +71,7 @@ End Style Closing + Category Letter LatexType Command LatexName closing KeepEmpty 0 @@ -112,6 +114,7 @@ End Style Name + Category Letter LatexType Command LatexName name KeepEmpty 1 diff --git a/lib/layouts/scrlttr2.layout b/lib/layouts/scrlttr2.layout index 42d6f6f26a..0e1183f5fe 100644 --- a/lib/layouts/scrlttr2.layout +++ b/lib/layouts/scrlttr2.layout @@ -94,6 +94,7 @@ End Style Opening + Category Letter LatexType Command LatexName opening KeepEmpty 0 @@ -145,6 +146,7 @@ End Style Name + Category Letter LatexType Command LatexName setkomavar LatexParam {fromname} diff --git a/lib/layouts/simplecv.layout b/lib/layouts/simplecv.layout index 8956a923a3..1aa79e7413 100644 --- a/lib/layouts/simplecv.layout +++ b/lib/layouts/simplecv.layout @@ -29,6 +29,7 @@ End Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName section @@ -151,6 +152,7 @@ End Style Bibliography CopyStyle Topic + Category BackMatter LatexName thebibliography LatexType Bib_Environment LabelType Bibliography diff --git a/lib/layouts/stdletter.inc b/lib/layouts/stdletter.inc index bc0c1f5feb..269e5907ae 100644 --- a/lib/layouts/stdletter.inc +++ b/lib/layouts/stdletter.inc @@ -48,6 +48,7 @@ End Style Opening + Category Letter Margin Static LatexType Command LatexName opening @@ -70,6 +71,7 @@ End Style Signature + Category Letter Margin Static LatexType Command LatexName signature -- 2.39.2