]> git.lyx.org Git - features.git/commitdiff
Revert addition of Question and Question* environments, for the
authorRichard Heck <rgheck@lyx.org>
Sat, 8 Mar 2014 16:36:22 +0000 (11:36 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 8 Mar 2014 16:38:50 +0000 (11:38 -0500)
reasons discussed at bug #9015.

lib/layouts/theorems-ams-extended-bytype.module
lib/layouts/theorems-refprefix.inc

index 1b8eb52f41de7dd5eac2032af451f127fb5ec95e..b887a21d637ee318d7975bbb4cad829a250aaba0 100644 (file)
@@ -33,7 +33,6 @@ Requires      amsmath
 # - Acknowledgement
 # - Conclusion
 # - Assumption
-# - Question
 
 # We need separate counters for each theorem-like style.
 Counter criterion
@@ -56,8 +55,6 @@ Counter conclusion
 End
 Counter assumption
 End
-Counter question
-End
 
 
 Style Criterion
@@ -408,38 +405,4 @@ Style Assumption*
        EndBabelPreamble
 End
 
-Style Question
-       CopyStyle             Theorem
-       DependsOn             Theorem
-       LatexName             question
-       LabelString           "Question \thequestion."
-       Preamble
-         \theoremstyle{plain}
-         \newtheorem{question}{\protect\questionname}
-       EndPreamble
-       LangPreamble
-         \providecommand{\questionname}{_(Question)}
-       EndLangPreamble
-       BabelPreamble
-         \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
-       EndBabelPreamble
-       LabelCounter          question
-End
-
-Style Question*
-       CopyStyle             Theorem*
-       LatexName             question*
-       LabelString           "Question."
-       Preamble
-         \theoremstyle{plain}
-         \newtheorem*{question*}{\protect\questionname}
-       EndPreamble
-       LangPreamble
-         \providecommand{\questionname}{_(Question)}
-       EndLangPreamble
-       BabelPreamble
-         \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
-       EndBabelPreamble
-End
-
 Input theorems-refprefix.inc
index fea3f193153946d758a415cabbb3d9ddbbd93fa0..be67cc0e8368d4f1a612eb01717ac25f27e49227 100644 (file)
@@ -89,8 +89,3 @@ End
 IfStyle Assumption
        RefPrefix assu
 End
-
-
-IfStyle Question
-       RefPrefix que
-End