From: Richard Heck Date: Sat, 8 Mar 2014 16:36:22 +0000 (-0500) Subject: Revert addition of Question and Question* environments, for the X-Git-Tag: 2.1.0rc1~82 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f10df83fab64771df89ac96f9c2ab82366f3b6fc;p=features.git Revert addition of Question and Question* environments, for the reasons discussed at bug #9015. --- diff --git a/lib/layouts/theorems-ams-extended-bytype.module b/lib/layouts/theorems-ams-extended-bytype.module index 1b8eb52f41..b887a21d63 100644 --- a/lib/layouts/theorems-ams-extended-bytype.module +++ b/lib/layouts/theorems-ams-extended-bytype.module @@ -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 diff --git a/lib/layouts/theorems-refprefix.inc b/lib/layouts/theorems-refprefix.inc index fea3f19315..be67cc0e83 100644 --- a/lib/layouts/theorems-refprefix.inc +++ b/lib/layouts/theorems-refprefix.inc @@ -89,8 +89,3 @@ End IfStyle Assumption RefPrefix assu End - - -IfStyle Question - RefPrefix que -End