From 248f93a7734705d57c8388e157ff0b29ac7f2850 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 7 Apr 2019 11:21:21 +0200 Subject: [PATCH] Module re-categorization, part 2 Re-categorize remaining modules Improve categorization Give some modules a more descriptive name. --- lib/layouts/InStar.module | 2 +- lib/layouts/algorithm2e.module | 4 ++-- lib/layouts/bicaption.module | 5 +++-- lib/layouts/changebars.module | 3 ++- lib/layouts/chessboard.module | 3 ++- lib/layouts/customHeadersFooters.module | 3 ++- lib/layouts/figs-within-sections.module | 1 + lib/layouts/fix-cm.module | 4 ++-- lib/layouts/fixltx2e.module | 4 ++-- lib/layouts/fixme.module | 4 ++-- lib/layouts/foottoend.module | 2 +- lib/layouts/hanging.module | 2 +- lib/layouts/hpstatement.module | 3 ++- lib/layouts/initials.module | 4 ++-- lib/layouts/landscape.module | 3 ++- lib/layouts/lilypond.module | 3 ++- lib/layouts/linguistics.module | 1 + lib/layouts/minimalistic.module | 4 ++-- lib/layouts/multicol.module | 1 + lib/layouts/natbibapa.module | 3 ++- lib/layouts/pdfcomment.module | 2 +- lib/layouts/pdfform.module | 2 +- lib/layouts/rsphrase.module | 3 ++- lib/layouts/tabs-within-sections.module | 1 + lib/layouts/theorems-ams-bytype.module | 3 ++- lib/layouts/theorems-ams-chap-bytype.module | 2 +- lib/layouts/theorems-ams-extended-bytype.module | 2 +- lib/layouts/theorems-ams-extended-chap-bytype.module | 2 +- lib/layouts/theorems-ams-extended.module | 2 +- lib/layouts/theorems-ams.module | 2 +- lib/layouts/theorems-bytype.module | 2 +- lib/layouts/theorems-chap-bytype.module | 2 +- lib/layouts/theorems-chap.module | 2 +- lib/layouts/theorems-named.module | 2 +- lib/layouts/theorems-sec-bytype.module | 3 ++- lib/layouts/theorems-sec.module | 2 +- lib/layouts/theorems-starred.module | 2 +- lib/layouts/theorems-std.module | 2 +- lib/layouts/todonotes.module | 2 +- 39 files changed, 57 insertions(+), 42 deletions(-) diff --git a/lib/layouts/InStar.module b/lib/layouts/InStar.module index bfdec71e20..6052635df3 100644 --- a/lib/layouts/InStar.module +++ b/lib/layouts/InStar.module @@ -1,5 +1,5 @@ #\DeclareLyXModule{Title and Preamble Hacks} -#\DeclareCategory{Fixes and Hacks} +#\DeclareCategory{Fixes & Hacks} #DescriptionBegin #Provides two new styles: #1. An 'In Preamble' style that puts whatever is entered into it into the preamble. diff --git a/lib/layouts/algorithm2e.module b/lib/layouts/algorithm2e.module index 43893f460a..a8ec9ae835 100644 --- a/lib/layouts/algorithm2e.module +++ b/lib/layouts/algorithm2e.module @@ -1,5 +1,5 @@ -#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e} -#\DeclareCategory{Floats} +#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e Float} +#\DeclareCategory{Floats & Captions} #DescriptionBegin # Use the algorithm2e package for algorithm floats rather # than LyX's home-brewed algorithm floats. Use the Algorithm diff --git a/lib/layouts/bicaption.module b/lib/layouts/bicaption.module index e65f071d71..a84b2d7fa7 100644 --- a/lib/layouts/bicaption.module +++ b/lib/layouts/bicaption.module @@ -1,6 +1,7 @@ -#\DeclareLyXModule[bicaption.sty]{Multilingual Captions} +#\DeclareLyXModule[bicaption.sty]{Bilingual Captions} +#\DeclareCategory{Floats & Captions} #DescriptionBegin -#Provides two styles to typeset multilingual captions. +#Provides two styles to typeset bilingual captions. #For a description see the file MultilingualCaptions.lyx in LyX's examples folder. #DescriptionEnd #Author: Uwe Stöhr diff --git a/lib/layouts/changebars.module b/lib/layouts/changebars.module index 21ae66261b..50937fa2dd 100644 --- a/lib/layouts/changebars.module +++ b/lib/layouts/changebars.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[changebar.sty]{Change bars} +#\DeclareLyXModule[changebar.sty]{Change Tracking Bars} +#\DeclareCategory{Annotation & Revision} # #DescriptionBegin #Enables LyX to add vertical change bars in the margin of PDF output diff --git a/lib/layouts/chessboard.module b/lib/layouts/chessboard.module index e78be18e98..0fdbe4cffe 100644 --- a/lib/layouts/chessboard.module +++ b/lib/layouts/chessboard.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[chessboard.sty,chessfss.sty,xskak.sty]{Chessboard} +#\DeclareLyXModule[chessboard.sty,chessfss.sty,xskak.sty]{Chess Board} +#\DeclareCategory{Leisure, Sports & Music} #DescriptionBegin #Support for the chessboard package to print chess games #See chessboard-article.lyx example file. diff --git a/lib/layouts/customHeadersFooters.module b/lib/layouts/customHeadersFooters.module index 185f756ae8..4413714bde 100644 --- a/lib/layouts/customHeadersFooters.module +++ b/lib/layouts/customHeadersFooters.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footerlines} +#\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footer Text} +#\DeclareCategory{Page Layout} #DescriptionBegin #Adds environments to define header and footer lines. #NOTE: To use this module you must set the 'Headings style' in diff --git a/lib/layouts/figs-within-sections.module b/lib/layouts/figs-within-sections.module index 7704426c14..330cbbfb12 100644 --- a/lib/layouts/figs-within-sections.module +++ b/lib/layouts/figs-within-sections.module @@ -1,4 +1,5 @@ #\DeclareLyXModule{Number Figures by Section} +#\DeclareCategory{Floats & Captions} #DescriptionBegin #Resets the figure number at section start and prepends #the section number to the figure number, as in 'fig. 2.1'. diff --git a/lib/layouts/fix-cm.module b/lib/layouts/fix-cm.module index e1991c1b1d..376f01487c 100644 --- a/lib/layouts/fix-cm.module +++ b/lib/layouts/fix-cm.module @@ -1,5 +1,5 @@ -#\DeclareLyXModule{Fix cm} -#\DeclareCategory{Fixes and Hacks} +#\DeclareLyXModule{Fix Computer Modern Fonts} +#\DeclareCategory{Fixes & Hacks} #DescriptionBegin #Fix-cm improves the appearance of Computer Modern fonts and makes them #available with arbitrary sizes. For details see the documentation diff --git a/lib/layouts/fixltx2e.module b/lib/layouts/fixltx2e.module index bad78d6b33..6054691e36 100644 --- a/lib/layouts/fixltx2e.module +++ b/lib/layouts/fixltx2e.module @@ -1,5 +1,5 @@ -#\DeclareLyXModule{Fix LaTeX (Obsolete)} -#\DeclareCategory{Fixes and Hacks} +#\DeclareLyXModule{LaTeX Kernel Fixes (Obsolete)} +#\DeclareCategory{Fixes & Hacks} #DescriptionBegin #Loads the LaTeX package fixltx2e which contains some bug fixes for LaTeX. #Those fixes were not part of older LaTeX kernels because of backward compatibility. diff --git a/lib/layouts/fixme.module b/lib/layouts/fixme.module index d98d47a387..3a226f627a 100644 --- a/lib/layouts/fixme.module +++ b/lib/layouts/fixme.module @@ -1,5 +1,5 @@ -#\DeclareLyXModule[fixme.sty]{FiXme} -#\DeclareCategory{Annotations} +#\DeclareLyXModule[fixme.sty]{FiXme Notes} +#\DeclareCategory{Annotation & Revision} #DescriptionBegin #Provides 'FiXme' (marginal) annotations for document revision purposes. #A list of annotations can be produced by using the 'List of FIXMEs' paragraph style. diff --git a/lib/layouts/foottoend.module b/lib/layouts/foottoend.module index 3ba3afd6a2..4a51f7b183 100644 --- a/lib/layouts/foottoend.module +++ b/lib/layouts/foottoend.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule[endnotes.sty]{Foot to End} +#\DeclareLyXModule[endnotes.sty]{Footnotes as Endnotes} #\DeclareCategory{Foot- and Endnotes} #DescriptionBegin #Sets all footnotes as endnotes. You will need to add \theendnotes diff --git a/lib/layouts/hanging.module b/lib/layouts/hanging.module index a9ac37d47f..52bc3e55e2 100644 --- a/lib/layouts/hanging.module +++ b/lib/layouts/hanging.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Hanging} +#\DeclareLyXModule{Hanging Paragraphs} #\DeclareCategory{Paragraph Styles} #DescriptionBegin #Adds an environment for hanging paragraphs. diff --git a/lib/layouts/hpstatement.module b/lib/layouts/hpstatement.module index 7afce52ee9..a4c170ff61 100644 --- a/lib/layouts/hpstatement.module +++ b/lib/layouts/hpstatement.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[hpstatement.sty]{Hazard and Precautionary Statements} +#\DeclareLyXModule[hpstatement.sty]{Chemistry: Hazard and Precautionary Statements} +#\DeclareCategory{Academic Field Specifics} #DescriptionBegin #Provides two insets to typeset numbers and phrases of chemical hazard #and precautionary statements. For a description see the file diff --git a/lib/layouts/initials.module b/lib/layouts/initials.module index aedd3da1be..7616f18b94 100644 --- a/lib/layouts/initials.module +++ b/lib/layouts/initials.module @@ -1,7 +1,7 @@ -#\DeclareLyXModule{Initials} +#\DeclareLyXModule{Initials (Drop Caps)} #\DeclareCategory{Paragraph Styles} #DescriptionBegin -#Define a style for paragraphs with an initial. +#Defines a style for paragraphs with an enlarged initial letter (drop cap). #See the EmbeddedObjects manual for a detailed description. #DescriptionEnd #Authors: Pavel Sanda and Uwe Stöhr diff --git a/lib/layouts/landscape.module b/lib/layouts/landscape.module index 0fa4c24ee7..656be769e0 100644 --- a/lib/layouts/landscape.module +++ b/lib/layouts/landscape.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Landscape} +#\DeclareLyXModule{Landscape Document Parts} +#\DeclareCategory{Page Layout} #DescriptionBegin #Output parts of the document in landscape mode. #DescriptionEnd diff --git a/lib/layouts/lilypond.module b/lib/layouts/lilypond.module index 50256c6883..f1ebd11fe3 100644 --- a/lib/layouts/lilypond.module +++ b/lib/layouts/lilypond.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[lilypond-book->latex]{LilyPond Book} +#\DeclareLyXModule[lilypond-book->latex]{LilyPond Music Notation} +#\DeclareCategory{Leisure, Sports & Music} #DescriptionBegin #This module adds an inset to enter LilyPond code directly into LyX. #It will be processed in the output. See the lilypond.lyx example file. diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 79cd1c2ba9..2b50be94b4 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -1,4 +1,5 @@ #\DeclareLyXModule[covington.sty,enumitem.sty,forest.sty]{Linguistics} +#\DeclareCategory{Academic Field Specifics} #DescriptionBegin #Defines some special environments useful for linguistics (numbered examples, #glosses, semantic markup, tableau floats). diff --git a/lib/layouts/minimalistic.module b/lib/layouts/minimalistic.module index 554754459b..6c5fb2bcae 100644 --- a/lib/layouts/minimalistic.module +++ b/lib/layouts/minimalistic.module @@ -1,5 +1,5 @@ -#\DeclareLyXModule{Minimalistic} -#\DeclareCategory{Fixes and Hacks} +#\DeclareLyXModule{Minimalistic Insets} +#\DeclareCategory{Fixes & Hacks} #DescriptionBegin # Redefines several insets (Index, Branch, URL) as being Minimalistic. #DescriptionEnd diff --git a/lib/layouts/multicol.module b/lib/layouts/multicol.module index f619abdee6..951468a0b5 100644 --- a/lib/layouts/multicol.module +++ b/lib/layouts/multicol.module @@ -1,4 +1,5 @@ #\DeclareLyXModule[multicol.sty]{Multiple Columns} +#\DeclareCategory{Page Layout} #DescriptionBegin #Adds a custom inset whose content is set with multiple columns (2 by default). #See the Additional manual, section 'Multiple Text Columns', for a detailed diff --git a/lib/layouts/natbibapa.module b/lib/layouts/natbibapa.module index 7699c1ebaa..65fccef217 100644 --- a/lib/layouts/natbibapa.module +++ b/lib/layouts/natbibapa.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[natbib.sty,apacite.sty]{Natbibapa} +#\DeclareLyXModule[natbib.sty,apacite.sty]{APA Style with Natbib} +#\DeclareCategory{Bibliography} #DescriptionBegin #This module adds support for using natbib together with #apacite (the bibliography style need not be apacite--it diff --git a/lib/layouts/pdfcomment.module b/lib/layouts/pdfcomment.module index 93322a062e..38a3e9a70d 100644 --- a/lib/layouts/pdfcomment.module +++ b/lib/layouts/pdfcomment.module @@ -1,5 +1,5 @@ #\DeclareLyXModule[datetime.sty,fmtcount.sty]{PDF Comments} -#\DeclareCategory{Annotations} +#\DeclareCategory{Annotation & Revision} #DescriptionBegin #Provides various kinds of annotations for the PDF output. The module uses #the pdfcomment package. Please consult the LyX example file PDF-comment.lyx diff --git a/lib/layouts/pdfform.module b/lib/layouts/pdfform.module index 700dc8544b..988e2b3ed0 100644 --- a/lib/layouts/pdfform.module +++ b/lib/layouts/pdfform.module @@ -1,5 +1,5 @@ #\DeclareLyXModule{PDF Form} -#\DeclareCategory{Annotations} +#\DeclareCategory{Annotation & Revision} #DescriptionBegin #Provides fields and buttons for PDF forms. The module uses #the LaTeX package hyperref. Please consult the LyX example file PDF-form.lyx diff --git a/lib/layouts/rsphrase.module b/lib/layouts/rsphrase.module index b7d4e618a1..ba887610cc 100644 --- a/lib/layouts/rsphrase.module +++ b/lib/layouts/rsphrase.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[rsphrase.sty]{Risk and Safety Statements} +#\DeclareLyXModule[rsphrase.sty]{Chemistry: Risk and Safety Statements} +#\DeclareCategory{Academic Field Specifics} #DescriptionBegin #Provides two insets and one environment to typeset numbers and phrases of #chemical risk and safety statements. For a description see the file diff --git a/lib/layouts/tabs-within-sections.module b/lib/layouts/tabs-within-sections.module index 81a6b5b173..91f26873fe 100644 --- a/lib/layouts/tabs-within-sections.module +++ b/lib/layouts/tabs-within-sections.module @@ -1,4 +1,5 @@ #\DeclareLyXModule{Number Tables by Section} +#\DeclareCategory{Floats & Captions} #DescriptionBegin #Resets the table number at section start and prepends #the section number to the table number, as in 'Table 2.1'. diff --git a/lib/layouts/theorems-ams-bytype.module b/lib/layouts/theorems-ams-bytype.module index b85e83b544..f3615a8187 100644 --- a/lib/layouts/theorems-ams-bytype.module +++ b/lib/layouts/theorems-ams-bytype.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Theorems (AMS, Numbered by Type)} +#\DeclareLyXModule{AMS Theorems (Numbered by Type)} +#\DeclareCategory{Theorems} #DescriptionBegin #Defines theorem environments and the proof environment using the extended #AMS machinery. Both numbered and unnumbered types are provided. Contrary to the diff --git a/lib/layouts/theorems-ams-chap-bytype.module b/lib/layouts/theorems-ams-chap-bytype.module index 02dfd40a9a..7604e3bc3a 100644 --- a/lib/layouts/theorems-ams-chap-bytype.module +++ b/lib/layouts/theorems-ams-chap-bytype.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (AMS, Numbered by Type within Chapters)} +#\DeclareLyXModule{AMS Theorems (Numbered by Type within Chapters)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines theorem environments and the proof environment using the extended diff --git a/lib/layouts/theorems-ams-extended-bytype.module b/lib/layouts/theorems-ams-extended-bytype.module index 990b9faaf4..0c256514cc 100644 --- a/lib/layouts/theorems-ams-extended-bytype.module +++ b/lib/layouts/theorems-ams-extended-bytype.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (AMS-Extended, Numbered by Type)} +#\DeclareLyXModule{AMS Theorems (Extended, Numbered by Type)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines some additional theorem environments for use with the diff --git a/lib/layouts/theorems-ams-extended-chap-bytype.module b/lib/layouts/theorems-ams-extended-chap-bytype.module index c09346ff6c..20005d9d90 100644 --- a/lib/layouts/theorems-ams-extended-chap-bytype.module +++ b/lib/layouts/theorems-ams-extended-chap-bytype.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (AMS-Extended, Numbered by Type within Chapters)} +#\DeclareLyXModule{AMS Theorems (Extended, Numbered by Type within Chapters)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines some additional theorem environments for use with the diff --git a/lib/layouts/theorems-ams-extended.module b/lib/layouts/theorems-ams-extended.module index 59ab8078ab..3ee2beb213 100644 --- a/lib/layouts/theorems-ams-extended.module +++ b/lib/layouts/theorems-ams-extended.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (AMS-Extended)} +#\DeclareLyXModule{AMS Theorems (Extended)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines some additional theorem environments for use with the diff --git a/lib/layouts/theorems-ams.module b/lib/layouts/theorems-ams.module index e332539617..80f616b2da 100644 --- a/lib/layouts/theorems-ams.module +++ b/lib/layouts/theorems-ams.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (AMS)} +#\DeclareLyXModule{AMS Theorems} #\DeclareCategory{Theorems} #DescriptionBegin #Defines theorem environments and the proof environment using the extended diff --git a/lib/layouts/theorems-bytype.module b/lib/layouts/theorems-bytype.module index 1abb188620..3159555643 100644 --- a/lib/layouts/theorems-bytype.module +++ b/lib/layouts/theorems-bytype.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (Numbered by Type)} +#\DeclareLyXModule{Standard Theorems (Numbered by Type)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines some theorem environments for use with non-AMS classes. Contrary to the diff --git a/lib/layouts/theorems-chap-bytype.module b/lib/layouts/theorems-chap-bytype.module index 664d136523..7ccdd5ebcb 100644 --- a/lib/layouts/theorems-chap-bytype.module +++ b/lib/layouts/theorems-chap-bytype.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (Numbered by Type within Chapters)} +#\DeclareLyXModule{Standard Theorems (Numbered by Type within Chapters)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines some theorem environments for use with non-AMS classes. Contrary to the diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module index 3b1c2277eb..ce61e25aee 100644 --- a/lib/layouts/theorems-chap.module +++ b/lib/layouts/theorems-chap.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (Numbered by Chapter)} +#\DeclareLyXModule{Standard Theorems (Numbered by Chapter)} #\DeclareCategory{Theorems} #DescriptionBegin #Numbers theorems and the like by chapter (i.e., the counter is reset at diff --git a/lib/layouts/theorems-named.module b/lib/layouts/theorems-named.module index 072fe402e4..687b6ddb71 100644 --- a/lib/layouts/theorems-named.module +++ b/lib/layouts/theorems-named.module @@ -1,5 +1,5 @@ #% Do not delete the line below; configure depends on this -#\DeclareLyXModule{Named Theorems} +#\DeclareLyXModule{Standard Theorems (Nameable)} #\DeclareCategory{Theorems} #DescriptionBegin # Facilitates the use of named theorems. The name of the theorem diff --git a/lib/layouts/theorems-sec-bytype.module b/lib/layouts/theorems-sec-bytype.module index a9bbadaf08..e737f3e463 100644 --- a/lib/layouts/theorems-sec-bytype.module +++ b/lib/layouts/theorems-sec-bytype.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Theorems (Numbered by Type within Sections)} +#\DeclareLyXModule{Standard Theorems (Numbered by Type within Sections)} +#\DeclareCategory{Theorems} #DescriptionBegin #Defines some theorem environments for use with non-AMS classes. Contrary to the #plain Theorem module, the different theorem types provided here each have a separate diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index 0c5317fab3..429dfec575 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (Numbered by Section)} +#\DeclareLyXModule{Standard Theorems (Numbered by Section)} #\DeclareCategory{Theorems} #DescriptionBegin #Numbers theorems and the like by section (i.e., the counter is reset at diff --git a/lib/layouts/theorems-starred.module b/lib/layouts/theorems-starred.module index 62cd989b8b..04dfd03803 100644 --- a/lib/layouts/theorems-starred.module +++ b/lib/layouts/theorems-starred.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems (Unnumbered)} +#\DeclareLyXModule{Standard Theorems (Unnumbered)} #\DeclareCategory{Theorems} #DescriptionBegin #Defines only unnumbered theorem environments, and the proof environment, using diff --git a/lib/layouts/theorems-std.module b/lib/layouts/theorems-std.module index 01106f8815..c30dc5c16e 100644 --- a/lib/layouts/theorems-std.module +++ b/lib/layouts/theorems-std.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule{Theorems} +#\DeclareLyXModule{Standard Theorems} #\DeclareCategory{Theorems} #DescriptionBegin #Defines some theorem environments for use with non-AMS classes. By default, diff --git a/lib/layouts/todonotes.module b/lib/layouts/todonotes.module index d073945799..f3269bbbf2 100644 --- a/lib/layouts/todonotes.module +++ b/lib/layouts/todonotes.module @@ -1,5 +1,5 @@ #\DeclareLyXModule[todonotes.sty]{TODO Notes} -#\DeclareCategory{Annotations} +#\DeclareCategory{Annotation & Revision} #DescriptionBegin #Provides custom insets to insert TODO items in your document #(using the todonotes package). In order to generate a 'List of TODOs', -- 2.39.5