]> git.lyx.org Git - features.git/blobdiff - lib/layouts/theorems-ams-chap-bytype.inc
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / theorems-ams-chap-bytype.inc
index e4528f712fdd321c894f5f34818839093b576a10..94bc673876e53700aa2128d28d06a59d53e17e5d 100644 (file)
@@ -24,7 +24,7 @@
 
 
 # We need separate counters for each theorem-like style.
-Format 82
+Format 85
 Counter theorem
        GuiName Theorem
        Within         chapter
@@ -129,6 +129,8 @@ Style Theorem
                \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
        EndBabelPreamble
        Requires              amsthm
+       DocBookTag            para
+       DocBookAttr           role='theorem'
 End
 
 
@@ -151,6 +153,8 @@ Style Corollary
        BabelPreamble
                \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
        EndBabelPreamble
+       DocBookTag            para
+       DocBookAttr           role='corollary'
 End
 
 
@@ -173,6 +177,8 @@ Style Lemma
          \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
        EndBabelPreamble
        LabelCounter          lemma
+       DocBookTag            para
+       DocBookAttr           role='lemma'
 End
 
 
@@ -195,6 +201,8 @@ Style Proposition
          \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
        EndBabelPreamble
        LabelCounter          proposition
+       DocBookTag            para
+       DocBookAttr           role='proposition'
 End
 
 
@@ -217,6 +225,8 @@ Style Conjecture
          \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
        EndBabelPreamble
        LabelCounter          conjecture
+       DocBookTag            para
+       DocBookAttr           role='conjecture'
 End
 
 
@@ -239,6 +249,8 @@ Style Fact
          \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
        EndBabelPreamble
        LabelCounter          fact
+       DocBookTag            para
+       DocBookAttr           role='fact'
 End
 
 
@@ -268,6 +280,8 @@ Style Definition
          \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
        EndBabelPreamble
        LabelCounter          definition
+       DocBookTag            para
+       DocBookAttr           role='definition'
 End
 
 
@@ -291,6 +305,9 @@ Style Example
          \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
        EndBabelPreamble
        LabelCounter          example
+       DocBookWrapperTag     informalexample
+       DocBookTag            para
+       DocBookAttr        ""
 End
 
 
@@ -314,6 +331,8 @@ Style Problem
          \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
        EndBabelPreamble
        LabelCounter          problem
+       DocBookTag            para
+       DocBookAttr           role='problem'
 End
 
 
@@ -337,6 +356,8 @@ Style Exercise
          \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
        EndBabelPreamble
        LabelCounter          exercise
+       DocBookTag            para
+       DocBookAttr           role='exercise'
 End
 
 
@@ -360,6 +381,8 @@ Style Solution
                \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
        EndBabelPreamble
        LabelCounter          solution
+       DocBookTag            para
+       DocBookAttr           role='solution'
 End
 
 
@@ -415,6 +438,9 @@ Style Claim
          \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
        EndBabelPreamble
        LabelCounter          claim
+       DocBookTag            para
+       DocBookAttr           role='claim'
+       DocBookItemTag        ""
 End