[LyX/master] Add GuiNames to counter declarations.
Richard Kimberly Heck
rikiheck at lyx.org
Sun May 3 02:56:55 UTC 2020
commit a7e26710cbc91353c417fc8ce30c6b1565958b32
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Sat May 2 22:37:18 2020 -0400
Add GuiNames to counter declarations.
---
lib/layouts/AEA.layout | 4 ++++
lib/layouts/IEEEtran.layout | 1 +
lib/layouts/aastex62.layout | 3 +++
lib/layouts/acmart.layout | 1 +
lib/layouts/agu_stdcounters.inc | 6 ++++++
lib/layouts/aguplus.inc | 2 ++
lib/layouts/broadway.layout | 2 ++
lib/layouts/copernicus.layout | 3 +++
lib/layouts/db_stdcounters.inc | 5 +++++
lib/layouts/ectaart.layout | 1 +
lib/layouts/elsart.layout | 3 +++
lib/layouts/endnotes.module | 1 +
lib/layouts/enotez.module | 1 +
lib/layouts/eqs-within-sections.module | 1 +
lib/layouts/ijmpc.layout | 2 ++
lib/layouts/ijmpd.layout | 10 ++++++++++
lib/layouts/knitr.module | 1 +
lib/layouts/linguistics.module | 3 +++
lib/layouts/litinsets.inc | 1 +
lib/layouts/memoir.layout | 1 +
lib/layouts/numarticle.inc | 1 +
lib/layouts/numreport.inc | 4 ++++
lib/layouts/powerdot.layout | 8 ++++++++
lib/layouts/scrbook.layout | 1 +
lib/layouts/scrclass.inc | 1 +
lib/layouts/stdcounters.inc | 16 ++++++++++++++++
lib/layouts/svmono.layout | 14 ++++++++++++++
lib/layouts/sweave.module | 1 +
lib/layouts/theorems-ams-bytype.inc | 13 +++++++++++++
lib/layouts/theorems-ams-bytype.module | 13 +++++++++++++
lib/layouts/theorems-ams-chap-bytype.inc | 13 +++++++++++++
lib/layouts/theorems-ams-chap-bytype.module | 13 +++++++++++++
lib/layouts/theorems-ams-extended-bytype.module | 11 +++++++++++
.../theorems-ams-extended-chap-bytype.module | 11 +++++++++++
lib/layouts/theorems-ams.module | 1 +
lib/layouts/theorems-bytype.module | 13 +++++++++++++
lib/layouts/theorems-case.inc | 4 ++++
lib/layouts/theorems-chap-bytype.module | 12 ++++++++++++
lib/layouts/theorems-chap.module | 1 +
lib/layouts/theorems-sec-bytype.module | 12 ++++++++++++
lib/layouts/theorems-sec.module | 1 +
lib/layouts/theorems-std.module | 1 +
lib/layouts/theorems-without-preamble.inc | 18 ++++++++++++++++++
lib/layouts/tufte-book.layout | 2 ++
44 files changed, 237 insertions(+), 0 deletions(-)
diff --git a/lib/layouts/AEA.layout b/lib/layouts/AEA.layout
index 2fd4514..a83684d 100644
--- a/lib/layouts/AEA.layout
+++ b/lib/layouts/AEA.layout
@@ -314,10 +314,14 @@ Style Proof
End
Counter case
+ GuiName Case
End
Counter remark
+ GuiName Remark
End
Counter summary
+ GuiName Summary
End
Counter solution
+ GuiName Solution
End
diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout
index d0c5ca2..4d5c0c4 100644
--- a/lib/layouts/IEEEtran.layout
+++ b/lib/layouts/IEEEtran.layout
@@ -45,6 +45,7 @@ Style Standard
End
Counter theorem
+ GuiName Theorem
End
Input stdcounters.inc
diff --git a/lib/layouts/aastex62.layout b/lib/layouts/aastex62.layout
index 01a1b8e..83a1758 100644
--- a/lib/layouts/aastex62.layout
+++ b/lib/layouts/aastex62.layout
@@ -224,6 +224,7 @@ Style Acknowledgements
End
Counter appendix
+ GuiName Appendix
Within "none"
End
@@ -239,6 +240,7 @@ Style Section_Appendix
End
Counter subappendix
+ GuiName Subappendix
Within "appendix"
End
@@ -254,6 +256,7 @@ Style Subsection_Appendix
End
Counter subsubappendix
+ GuiName Subsubappendix
Within subappendix
End
diff --git a/lib/layouts/acmart.layout b/lib/layouts/acmart.layout
index f76c1c5..d5da691 100644
--- a/lib/layouts/acmart.layout
+++ b/lib/layouts/acmart.layout
@@ -539,6 +539,7 @@ End
OutlinerName thm "Definitions & Theorems"
Counter theorem
+ GuiName Theorem
Within section
End
diff --git a/lib/layouts/agu_stdcounters.inc b/lib/layouts/agu_stdcounters.inc
index f52bc2f..c2c863e 100644
--- a/lib/layouts/agu_stdcounters.inc
+++ b/lib/layouts/agu_stdcounters.inc
@@ -6,24 +6,30 @@
Format 80
Counter sect1
+ GuiName "Section Level 1"
Within section
End
Counter sect2
+ GuiName "Section Level 2"
Within sect1
End
Counter sect3
+ GuiName "Section Level 3"
Within sect2
End
Counter sect4
+ GuiName "Section Level 4"
Within sect3
End
Counter sect5
+ GuiName "Section Level 5"
Within sect4
End
Counter para
+ GuiName Paragraph
End
diff --git a/lib/layouts/aguplus.inc b/lib/layouts/aguplus.inc
index e88a80e..a4eafb7 100644
--- a/lib/layouts/aguplus.inc
+++ b/lib/layouts/aguplus.inc
@@ -227,10 +227,12 @@ End
Counter plate
+ GuiName Plate
Within none
End
Counter planotable
+ GuiName "Plano Table"
Within none
End
diff --git a/lib/layouts/broadway.layout b/lib/layouts/broadway.layout
index ba85a18..8a2c5f9 100644
--- a/lib/layouts/broadway.layout
+++ b/lib/layouts/broadway.layout
@@ -24,10 +24,12 @@ Input stdcounters.inc
DefaultStyle Dialogue
Counter act
+ GuiName "Act Number"
End
Counter scene
+ GuiName "Scene Number"
End
diff --git a/lib/layouts/copernicus.layout b/lib/layouts/copernicus.layout
index 519afa1..4b7741c 100644
--- a/lib/layouts/copernicus.layout
+++ b/lib/layouts/copernicus.layout
@@ -241,6 +241,7 @@ Style Conclusions
End
Counter appendix
+ GuiName Appendix
Within "none"
End
@@ -252,6 +253,7 @@ Style Section_Appendix
End
Counter subappendix
+ GuiName Subappendix
Within "appendix"
End
@@ -263,6 +265,7 @@ Style Subsection_Appendix
End
Counter subsubappendix
+ GuiName Subsubappendix
Within subappendix
End
diff --git a/lib/layouts/db_stdcounters.inc b/lib/layouts/db_stdcounters.inc
index 1bad4d6..bdeacc8 100644
--- a/lib/layouts/db_stdcounters.inc
+++ b/lib/layouts/db_stdcounters.inc
@@ -6,22 +6,27 @@
Format 80
Counter sect1
+ GuiName "Section Level 1"
Within chapter
End
Counter sect2
+ GuiName "Section Level 2"
Within sect1
End
Counter sect3
+ GuiName "Section Level 3"
Within sect2
End
Counter sect4
+ GuiName "Section Level 4"
Within sect3
End
Counter sect5
+ GuiName "Section Level 5"
Within sect4
End
diff --git a/lib/layouts/ectaart.layout b/lib/layouts/ectaart.layout
index d49fb85..7d111ef 100644
--- a/lib/layouts/ectaart.layout
+++ b/lib/layouts/ectaart.layout
@@ -217,4 +217,5 @@ InsetLayout Flex:By_Same_Author_(bib)
End
Counter Thanks
+ GuiName "Thanks (Footnote)"
End
diff --git a/lib/layouts/elsart.layout b/lib/layouts/elsart.layout
index be6fcbf..97400ec 100644
--- a/lib/layouts/elsart.layout
+++ b/lib/layouts/elsart.layout
@@ -38,10 +38,12 @@ TitleLatexType Environment
TitleLatexName frontmatter
Counter summ
+ GuiName Summary
End
Counter case
+ GuiName Case
End
@@ -266,6 +268,7 @@ End
# - Case
Counter theorem
+ GuiName Theorem
End
diff --git a/lib/layouts/endnotes.module b/lib/layouts/endnotes.module
index e24b43f..5460af0 100644
--- a/lib/layouts/endnotes.module
+++ b/lib/layouts/endnotes.module
@@ -12,6 +12,7 @@
Format 80
Counter endnotes
+ GuiName Endnotes
PrettyFormat "Endnote ##"
End
diff --git a/lib/layouts/enotez.module b/lib/layouts/enotez.module
index 4636c98..53f1404 100644
--- a/lib/layouts/enotez.module
+++ b/lib/layouts/enotez.module
@@ -12,6 +12,7 @@
Format 80
Counter endnotes
+ GuiName Endnotes
PrettyFormat "Endnote ##"
End
diff --git a/lib/layouts/eqs-within-sections.module b/lib/layouts/eqs-within-sections.module
index 432e9b9..85f7a4e 100644
--- a/lib/layouts/eqs-within-sections.module
+++ b/lib/layouts/eqs-within-sections.module
@@ -14,6 +14,7 @@ AddToPreamble
EndPreamble
Counter equation
+ GuiName Equation
Within section
LabelString "\thesection.\arabic{equation}"
End
diff --git a/lib/layouts/ijmpc.layout b/lib/layouts/ijmpc.layout
index 66ab434..8a1948d 100644
--- a/lib/layouts/ijmpc.layout
+++ b/lib/layouts/ijmpc.layout
@@ -409,6 +409,7 @@ Style Question
End
Counter claim
+ GuiName Claim
Within section
End
Style Claim
@@ -441,6 +442,7 @@ Style Prop
End
Counter appendix
+ GuiName Appendix
End
Style Appendix
LatexType Command
diff --git a/lib/layouts/ijmpd.layout b/lib/layouts/ijmpd.layout
index 3e5e262..deffa6b 100644
--- a/lib/layouts/ijmpd.layout
+++ b/lib/layouts/ijmpd.layout
@@ -373,6 +373,7 @@ Style Proof
End
Counter theorem
+ GuiName Theorem
Within section
End
Style Theorem
@@ -387,6 +388,7 @@ Style Theorem
End
Counter remark
+ GuiName Remark
Within section
End
Style Remark
@@ -398,6 +400,7 @@ Style Remark
End
Counter corollary
+ GuiName Corollary
Within section
End
Style Corollary
@@ -405,6 +408,7 @@ Style Corollary
End
Counter lemma
+ GuiName Lemma
Within section
End
Style Lemma
@@ -412,6 +416,7 @@ Style Lemma
End
Counter proposition
+ GuiName Proposition
Within section
End
Style Proposition
@@ -419,6 +424,7 @@ Style Proposition
End
Counter question
+ GuiName Question
Within section
End
Style Question
@@ -429,6 +435,7 @@ Style Question
End
Counter claim
+ GuiName Claim
Within section
End
Style Claim
@@ -440,6 +447,7 @@ Style Claim
End
Counter conjecture
+ GuiName Conjecture
Within section
End
Style Conjecture
@@ -450,10 +458,12 @@ Style Conjecture
End
Counter prop
+ GuiName Prop(osition)
Within section
End
Counter appendix
+ GuiName Appendix
End
Style Appendix
LatexType Command
diff --git a/lib/layouts/knitr.module b/lib/layouts/knitr.module
index f7038b4..7400a35 100644
--- a/lib/layouts/knitr.module
+++ b/lib/layouts/knitr.module
@@ -11,6 +11,7 @@ Format 80
Input litinsets.inc
Counter chunk
+ GuiName "Knitr Chunk"
InitialValue 2
End
diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module
index 359c500..0be5f7a 100644
--- a/lib/layouts/linguistics.module
+++ b/lib/layouts/linguistics.module
@@ -15,16 +15,19 @@ Format 80
#
Counter example
+ GuiName Example
Within chapter
LabelString "(\arabic{example})"
End
Counter examplei
+ GuiName "Numbered Example (Multiline)"
Within chapter
LabelString "(\arabic{examplei})"
End
Counter subexample
+ GuiName Subexample
Within examplei
LabelString "\theexamplei (\alph{subexample})"
End
diff --git a/lib/layouts/litinsets.inc b/lib/layouts/litinsets.inc
index 08595d5..33e31de 100644
--- a/lib/layouts/litinsets.inc
+++ b/lib/layouts/litinsets.inc
@@ -9,6 +9,7 @@
Format 80
Counter chunk
+ GuiName "Knitr Chunk"
PrettyFormat "Chunk ##"
End
diff --git a/lib/layouts/memoir.layout b/lib/layouts/memoir.layout
index ef46853..246bb2c 100644
--- a/lib/layouts/memoir.layout
+++ b/lib/layouts/memoir.layout
@@ -296,6 +296,7 @@ End
#
Counter endnotes
+ GuiName Endnotes
PrettyFormat "Endnote ##"
End
diff --git a/lib/layouts/numarticle.inc b/lib/layouts/numarticle.inc
index eec983a..d9fc6f3 100644
--- a/lib/layouts/numarticle.inc
+++ b/lib/layouts/numarticle.inc
@@ -5,6 +5,7 @@ Format 80
# appendix applies to sections.
Counter section
+ GuiName Section
Within "none"
LabelString "\arabic{section}"
LabelStringAppendix "\Alph{section}"
diff --git a/lib/layouts/numreport.inc b/lib/layouts/numreport.inc
index d1da0a9..1f4cd64 100644
--- a/lib/layouts/numreport.inc
+++ b/lib/layouts/numreport.inc
@@ -4,12 +4,14 @@
Format 80
Counter chapter
+ GuiName Chapter
Within ""
LabelString "\arabic{chapter}"
LabelStringAppendix "\Alph{chapter}"
End
Counter section
+ GuiName Section
Within chapter
LabelString ""
End
@@ -32,10 +34,12 @@ Float
End
Counter listing
+ GuiName Listing
Within chapter
End
Counter footnote
+ GuiName Footnote
Within chapter
LabelString "\arabic{footnote}"
End
diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout
index 77e846f..18a7d4e 100644
--- a/lib/layouts/powerdot.layout
+++ b/lib/layouts/powerdot.layout
@@ -586,30 +586,38 @@ End
# Counters definitions
###
Counter enumi
+ GuiName "Numbered List (Level 1)"
End
Counter enumii
+ GuiName "Numbered List (Level 2)"
Within enumi
End
Counter enumiii
+ GuiName "Numbered List (Level 3)"
Within enumii
End
Counter enumiv
+ GuiName "Numbered List (Level 4)"
Within enumiii
End
Counter bibitem
+ GuiName "Bibliography Item"
End
Counter figure
+ GuiName Figure
End
Counter table
+ GuiName Table
End
Counter algorithm
+ GuiName Algorithm
End
###
diff --git a/lib/layouts/scrbook.layout b/lib/layouts/scrbook.layout
index adccc35..749f2cd 100644
--- a/lib/layouts/scrbook.layout
+++ b/lib/layouts/scrbook.layout
@@ -22,6 +22,7 @@ End
# Equations are numbered by chapter
Counter equation
+ GuiName Equation
Within chapter
LabelString "\thechapter.\arabic{equation}"
End
diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc
index 1068397..1558a3c 100644
--- a/lib/layouts/scrclass.inc
+++ b/lib/layouts/scrclass.inc
@@ -45,6 +45,7 @@ Input stdfloats.inc
# Adapt enumii counter display to KOMA default
Counter enumii
+ GuiName "Numbered List (Level 2)"
Within enumi
LabelString "\alph{enumii})"
End
diff --git a/lib/layouts/stdcounters.inc b/lib/layouts/stdcounters.inc
index d6ccaed..8342855 100644
--- a/lib/layouts/stdcounters.inc
+++ b/lib/layouts/stdcounters.inc
@@ -6,73 +6,89 @@
Format 80
Counter part
+ GuiName Part
LabelString "\Roman{part}"
PrettyFormat "Part \Roman{part}"
End
Counter chapter
+ GuiName Chapter
PrettyFormat "Chapter ##"
End
Counter section
+ GuiName Section
Within chapter
PrettyFormat "Section ##"
End
Counter subsection
+ GuiName Subsection
Within section
PrettyFormat "Section ##"
End
Counter subsubsection
+ GuiName Subsubsection
Within subsection
PrettyFormat "Section ##"
End
Counter paragraph
+ GuiName Paragraph
Within subsubsection
PrettyFormat "Paragraph ##"
End
Counter subparagraph
+ GuiName Subparagraph
Within paragraph
PrettyFormat "Paragraph ##"
End
Counter enumi
+ GuiName "Numbered List (Level 1)"
LabelString "\arabic{enumi}."
End
Counter enumii
+ GuiName "Numbered List (Level 2)"
Within enumi
LabelString "(\alph{enumii})"
End
Counter enumiii
+ GuiName "Numbered List (Level 3)"
Within enumii
LabelString "\roman{enumiii}."
End
Counter enumiv
+ GuiName "Numbered List (Level 4)"
Within enumiii
LabelString "\Alph{enumiv}."
End
Counter bibitem
+ GuiName "Bibliography Item"
End
Counter listing
+ GuiName Listing
End
Counter equation
+ GuiName Equation
PrettyFormat "Equation ##"
End
Counter footnote
+ GuiName Footnote
PrettyFormat "Footnote ##"
End
Counter thanks
+ GuiName "Thanks (Footnote)"
PrettyFormat "Footnote ##"
LabelString "\fnsymbol{thanks}"
End
diff --git a/lib/layouts/svmono.layout b/lib/layouts/svmono.layout
index 443c5dd..86ba794 100644
--- a/lib/layouts/svmono.layout
+++ b/lib/layouts/svmono.layout
@@ -25,58 +25,72 @@ Style Abstract
End
Counter theorem
+ GuiName Theorem
Within chapter
End
Counter definition
+ GuiName Definition
Within chapter
End
Counter remark
+ GuiName Remark
Within chapter
End
Counter corollary
+ GuiName Corollary
Within chapter
End
Counter lemma
+ GuiName Lemma
Within chapter
End
Counter proposition
+ GuiName Proposition
Within chapter
End
Counter claim
+ GuiName Claim
Within chapter
End
Counter conjecture
+ GuiName Conjecture
Within chapter
End
Counter question
+ GuiName Question
Within chapter
End
Counter example
+ GuiName Example
Within chapter
End
Counter exercise
+ GuiName Exercise
Within chapter
End
Counter case
+ GuiName Case
Within chapter
End
Counter property
+ GuiName Property
Within chapter
End
Counter note
+ GuiName Note
Within chapter
End
diff --git a/lib/layouts/sweave.module b/lib/layouts/sweave.module
index 123477b..033a849 100644
--- a/lib/layouts/sweave.module
+++ b/lib/layouts/sweave.module
@@ -11,6 +11,7 @@ Format 80
Input litinsets.inc
Counter chunk
+ GuiName "Knitr Chunk"
InitialValue 2
End
diff --git a/lib/layouts/theorems-ams-bytype.inc b/lib/layouts/theorems-ams-bytype.inc
index d55cacf..899c7f7 100644
--- a/lib/layouts/theorems-ams-bytype.inc
+++ b/lib/layouts/theorems-ams-bytype.inc
@@ -24,30 +24,43 @@
# We need separate counters for each theorem-like style.
Format 80
Counter theorem
+ GuiName Theorem
End
Counter corollary
+ GuiName Corollary
End
Counter lemma
+ GuiName Lemma
End
Counter proposition
+ GuiName Proposition
End
Counter conjecture
+ GuiName Conjecture
End
Counter fact
+ GuiName Fact
End
Counter definition
+ GuiName Definition
End
Counter example
+ GuiName Example
End
Counter problem
+ GuiName Problem
End
Counter exercise
+ GuiName Exercise
End
Counter solution
+ GuiName Solution
End
Counter remark
+ GuiName Remark
End
Counter claim
+ GuiName Claim
End
OutlinerName thm "Definitions & Theorems"
diff --git a/lib/layouts/theorems-ams-bytype.module b/lib/layouts/theorems-ams-bytype.module
index c5842cc..b275dc1 100644
--- a/lib/layouts/theorems-ams-bytype.module
+++ b/lib/layouts/theorems-ams-bytype.module
@@ -24,30 +24,43 @@ Requires amsmath,amsthm
# We need separate counters for each theorem-like style.
Counter theorem
+ GuiName Theorem
End
Counter corollary
+ GuiName Corollary
End
Counter lemma
+ GuiName Lemma
End
Counter proposition
+ GuiName Proposition
End
Counter conjecture
+ GuiName Conjecture
End
Counter fact
+ GuiName Fact
End
Counter definition
+ GuiName Definition
End
Counter example
+ GuiName Example
End
Counter solution
+ GuiName Solution
End
Counter problem
+ GuiName Problem
End
Counter exercise
+ GuiName Exercise
End
Counter remark
+ GuiName Remark
End
Counter claim
+ GuiName Claim
End
Input theorems-order.inc
diff --git a/lib/layouts/theorems-ams-chap-bytype.inc b/lib/layouts/theorems-ams-chap-bytype.inc
index edfd18e..c5774b3 100644
--- a/lib/layouts/theorems-ams-chap-bytype.inc
+++ b/lib/layouts/theorems-ams-chap-bytype.inc
@@ -26,30 +26,43 @@
# We need separate counters for each theorem-like style.
Format 80
Counter theorem
+ GuiName Theorem
End
Counter corollary
+ GuiName Corollary
End
Counter lemma
+ GuiName Lemma
End
Counter proposition
+ GuiName Proposition
End
Counter conjecture
+ GuiName Conjecture
End
Counter fact
+ GuiName Fact
End
Counter definition
+ GuiName Definition
End
Counter example
+ GuiName Example
End
Counter problem
+ GuiName Problem
End
Counter exercise
+ GuiName Exercise
End
Counter solution
+ GuiName Solution
End
Counter remark
+ GuiName Remark
End
Counter claim
+ GuiName Claim
End
OutlinerName thm "Definitions & Theorems"
diff --git a/lib/layouts/theorems-ams-chap-bytype.module b/lib/layouts/theorems-ams-chap-bytype.module
index 2bf081b..0bf4ee5 100644
--- a/lib/layouts/theorems-ams-chap-bytype.module
+++ b/lib/layouts/theorems-ams-chap-bytype.module
@@ -40,30 +40,43 @@ Requires amsmath,amsthm
# We need separate counters for each theorem-like style.
Counter theorem
+ GuiName Theorem
End
Counter corollary
+ GuiName Corollary
End
Counter lemma
+ GuiName Lemma
End
Counter proposition
+ GuiName Proposition
End
Counter conjecture
+ GuiName Conjecture
End
Counter fact
+ GuiName Fact
End
Counter definition
+ GuiName Definition
End
Counter example
+ GuiName Example
End
Counter solution
+ GuiName Solution
End
Counter problem
+ GuiName Problem
End
Counter exercise
+ GuiName Exercise
End
Counter remark
+ GuiName Remark
End
Counter claim
+ GuiName Claim
End
diff --git a/lib/layouts/theorems-ams-extended-bytype.module b/lib/layouts/theorems-ams-extended-bytype.module
index 4b90dc0..fd202a5 100644
--- a/lib/layouts/theorems-ams-extended-bytype.module
+++ b/lib/layouts/theorems-ams-extended-bytype.module
@@ -38,26 +38,37 @@ Requires amsmath
# We need separate counters for each theorem-like style.
Counter criterion
+ GuiName Criterion
End
Counter algorithm
+ GuiName Algorithm
End
Counter axiom
+ GuiName Axiom
End
Counter condition
+ GuiName Condition
End
Counter note
+ GuiName Note
End
Counter notation
+ GuiName Notation
End
Counter summary
+ GuiName Summary
End
Counter acknowledgement
+ GuiName Acknowledgement
End
Counter conclusion
+ GuiName Conclusion
End
Counter assumption
+ GuiName Assumption
End
Counter question
+ GuiName Question
End
diff --git a/lib/layouts/theorems-ams-extended-chap-bytype.module b/lib/layouts/theorems-ams-extended-chap-bytype.module
index 7a76d59..e0a000c 100644
--- a/lib/layouts/theorems-ams-extended-chap-bytype.module
+++ b/lib/layouts/theorems-ams-extended-chap-bytype.module
@@ -39,26 +39,37 @@ Requires amsmath
# We need separate counters for each theorem-like style.
Counter criterion
+ GuiName Criterion
End
Counter algorithm
+ GuiName Algorithm
End
Counter axiom
+ GuiName Axiom
End
Counter condition
+ GuiName Condition
End
Counter note
+ GuiName Note
End
Counter notation
+ GuiName Notation
End
Counter summary
+ GuiName Summary
End
Counter acknowledgement
+ GuiName Acknowledgement
End
Counter conclusion
+ GuiName Conclusion
End
Counter assumption
+ GuiName Assumption
End
Counter question
+ GuiName Question
End
diff --git a/lib/layouts/theorems-ams.module b/lib/layouts/theorems-ams.module
index aa6d9d8..74e78d9 100644
--- a/lib/layouts/theorems-ams.module
+++ b/lib/layouts/theorems-ams.module
@@ -19,6 +19,7 @@ Format 80
Requires amsmath,amsthm
Counter theorem
+ GuiName Theorem
End
Input theorems-order.inc
diff --git a/lib/layouts/theorems-bytype.module b/lib/layouts/theorems-bytype.module
index ad91e50..49ed919 100644
--- a/lib/layouts/theorems-bytype.module
+++ b/lib/layouts/theorems-bytype.module
@@ -16,30 +16,43 @@ Format 80
# We need separate counters for each theorem-like style.
Counter theorem
+ GuiName Theorem
End
Counter corollary
+ GuiName Corollary
End
Counter lemma
+ GuiName Lemma
End
Counter proposition
+ GuiName Proposition
End
Counter conjecture
+ GuiName Conjecture
End
Counter fact
+ GuiName Fact
End
Counter definition
+ GuiName Definition
End
Counter example
+ GuiName Example
End
Counter problem
+ GuiName Problem
End
Counter exercise
+ GuiName Exercise
End
Counter solution
+ GuiName Solution
End
Counter remark
+ GuiName Remark
End
Counter claim
+ GuiName Claim
End
Input theorems-bytype.inc
diff --git a/lib/layouts/theorems-case.inc b/lib/layouts/theorems-case.inc
index 829b409..e5be40e 100644
--- a/lib/layouts/theorems-case.inc
+++ b/lib/layouts/theorems-case.inc
@@ -9,17 +9,21 @@
Format 80
Counter casei
+ GuiName "Case (Level 1)"
LabelString "Case \arabic{casei}."
End
Counter caseii
+ GuiName "Case (Level 2)"
Within casei
LabelString "Case \roman{caseii}."
End
Counter caseiii
+ GuiName "Case (Level 3)"
Within caseii
LabelString "Case \alph{caseiii}."
End
Counter caseiv
+ GuiName "Case (Level 4)"
Within caseiii
LabelString "Case \arabic{caseiv}."
End
diff --git a/lib/layouts/theorems-chap-bytype.module b/lib/layouts/theorems-chap-bytype.module
index b855220..39acfab 100644
--- a/lib/layouts/theorems-chap-bytype.module
+++ b/lib/layouts/theorems-chap-bytype.module
@@ -16,39 +16,51 @@ Format 80
# We need separate counters for each theorem-like style.
Counter theorem
+ GuiName Theorem
Within chapter
End
Counter corollary
+ GuiName Corollary
Within chapter
End
Counter lemma
+ GuiName Lemma
Within chapter
End
Counter proposition
+ GuiName Proposition
Within chapter
End
Counter conjecture
+ GuiName Conjecture
Within chapter
End
Counter fact
+ GuiName Fact
Within chapter
End
Counter definition
+ GuiName Definition
Within chapter
End
Counter example
+ GuiName Example
Within chapter
End
Counter problem
+ GuiName Problem
Within chapter
End
Counter exercise
+ GuiName Exercise
Within chapter
End
Counter remark
+ GuiName Remark
Within chapter
End
Counter claim
+ GuiName Claim
Within chapter
End
diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module
index b456e4b..58f9f3e 100644
--- a/lib/layouts/theorems-chap.module
+++ b/lib/layouts/theorems-chap.module
@@ -13,6 +13,7 @@
Format 80
Counter theorem
+ GuiName Theorem
Within chapter
End
diff --git a/lib/layouts/theorems-sec-bytype.module b/lib/layouts/theorems-sec-bytype.module
index 99608fc..2b08a12 100644
--- a/lib/layouts/theorems-sec-bytype.module
+++ b/lib/layouts/theorems-sec-bytype.module
@@ -16,39 +16,51 @@ Format 80
# We need separate counters for each theorem-like style.
Counter theorem
+ GuiName Theorem
Within section
End
Counter corollary
+ GuiName Corollary
Within section
End
Counter lemma
+ GuiName Lemma
Within section
End
Counter proposition
+ GuiName Proposition
Within section
End
Counter conjecture
+ GuiName Conjecture
Within section
End
Counter fact
+ GuiName Fact
Within section
End
Counter definition
+ GuiName Definition
Within section
End
Counter example
+ GuiName Example
Within section
End
Counter problem
+ GuiName Problem
Within section
End
Counter exercise
+ GuiName Exercise
Within section
End
Counter remark
+ GuiName Remark
Within section
End
Counter claim
+ GuiName Claim
Within section
End
diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module
index d2fcf45..b3a933a 100644
--- a/lib/layouts/theorems-sec.module
+++ b/lib/layouts/theorems-sec.module
@@ -12,6 +12,7 @@
Format 80
Counter theorem
+ GuiName Theorem
Within section
End
diff --git a/lib/layouts/theorems-std.module b/lib/layouts/theorems-std.module
index ff3def1..f8c09c7 100644
--- a/lib/layouts/theorems-std.module
+++ b/lib/layouts/theorems-std.module
@@ -12,6 +12,7 @@
Format 80
Counter theorem
+ GuiName Theorem
End
Input theorems.inc
diff --git a/lib/layouts/theorems-without-preamble.inc b/lib/layouts/theorems-without-preamble.inc
index ad7580b..efd45bb 100644
--- a/lib/layouts/theorems-without-preamble.inc
+++ b/lib/layouts/theorems-without-preamble.inc
@@ -31,6 +31,7 @@ Format 80
OutlinerName thm "Definitions & Theorems"
Counter theorem
+ GuiName Theorem
End
Style Theorem
Category Reasoning
@@ -75,6 +76,7 @@ End
Counter corollary
+ GuiName Corollary
End
Style Corollary
CopyStyle Theorem
@@ -91,6 +93,7 @@ End
Counter lemma
+ GuiName Lemma
End
Style Lemma
CopyStyle Theorem
@@ -107,6 +110,7 @@ End
Counter proposition
+ GuiName Proposition
End
Style Proposition
CopyStyle Theorem
@@ -123,6 +127,7 @@ End
Counter prop
+ GuiName Prop(osition)
End
Style Prop
CopyStyle Theorem
@@ -139,6 +144,7 @@ End
Counter conjecture
+ GuiName Conjecture
End
Style Conjecture
CopyStyle Theorem
@@ -162,6 +168,7 @@ End
Counter fact
+ GuiName Fact
End
Style Fact
CopyStyle Theorem
@@ -178,6 +185,7 @@ End
Counter definition
+ GuiName Definition
End
Style Definition
CopyStyle Theorem
@@ -202,6 +210,7 @@ End
Counter example
+ GuiName Example
End
Style Example
CopyStyle Conjecture
@@ -219,6 +228,7 @@ End
Counter problem
+ GuiName Problem
End
Style Problem
CopyStyle Definition
@@ -237,6 +247,7 @@ End
Counter prob
+ GuiName Prob(lem)
Within chapter
End
# Prob does not copy a style to avoid preamble code
@@ -269,6 +280,7 @@ End
Counter solution
+ GuiName Solution
End
Style Solution
CopyStyle Problem
@@ -300,6 +312,7 @@ End
Counter exercise
+ GuiName Exercise
End
Style Exercise
CopyStyle Definition
@@ -317,6 +330,7 @@ End
Counter remark
+ GuiName Remark
End
Style Remark
CopyStyle Conjecture
@@ -347,6 +361,7 @@ End
Counter case
+ GuiName Case
End
Style Case
CopyStyle Remark
@@ -364,6 +379,7 @@ End
Counter property
+ GuiName Property
End
Style Property
CopyStyle Claim
@@ -381,6 +397,7 @@ End
Counter question
+ GuiName Question
End
Style Question
CopyStyle Claim
@@ -398,6 +415,7 @@ End
Counter note
+ GuiName Note
End
Style Note
CopyStyle Claim
diff --git a/lib/layouts/tufte-book.layout b/lib/layouts/tufte-book.layout
index 80c01cf..cbade5a 100644
--- a/lib/layouts/tufte-book.layout
+++ b/lib/layouts/tufte-book.layout
@@ -236,9 +236,11 @@ End
# this steps the counters
Counter marginfigure
+ GuiName "Margin Figure"
End
Counter margintable
+ GuiName "Margin Table"
End
# define the floats
More information about the lyx-cvs
mailing list