[LyX/master] DocBook: implement AMS articles.
Thibaut Cuvelier
tcuvelier at lyx.org
Wed Nov 4 21:22:40 UTC 2020
commit 0ba926a3ce3939e2bd4f6a9e47515b9bb16afd95
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Wed Nov 4 22:43:05 2020 +0100
DocBook: implement AMS articles.
---
development/autotests/invertedTests | 4 ++--
lib/layouts/amsart.layout | 1 +
lib/layouts/amsdefs.inc | 4 ++++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 0d1f581..8116023 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -447,9 +447,9 @@ export/templates/Letters/KOMA-Script_Letter_%28V._2%29_docbook5
export/examples(|/de)/Letters/Serial_Letter_.*_docbook5
# - DIN-Brief: order of paragraphs cannot match valid DocBook.
export/templates/Letters/DIN-Brief_docbook5
-# - AMS Book: order of elements is not compatible with DocBook (some parts must be in <info>, others cannot, while
+# - AMS: order of elements is not compatible with DocBook (some parts must be in <info>, others cannot, while
# still being in the book's header).
-export/examples/Books/American_Mathematical_Society_%28AMS%29_docbook5
+export/examples/.*/American_Mathematical_Society_%28AMS%29_docbook5
# - Branches may cause problems (especially when mixing with parts that must go in <info>).
export/export/latex/languages/supported-languages_(|babel|babel_auto-legacy|polyglossia)_?docbook5
diff --git a/lib/layouts/amsart.layout b/lib/layouts/amsart.layout
index c7d7f6b..3936d8b 100644
--- a/lib/layouts/amsart.layout
+++ b/lib/layouts/amsart.layout
@@ -39,6 +39,7 @@ Style Standard
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
+ DocBookTag para
End
Input stdfloats.inc
diff --git a/lib/layouts/amsdefs.inc b/lib/layouts/amsdefs.inc
index 85132a1..a0a9948 100644
--- a/lib/layouts/amsdefs.inc
+++ b/lib/layouts/amsdefs.inc
@@ -128,6 +128,10 @@ Style Abstract
LabelFont
Shape Smallcaps
EndFont
+ DocBookTag para
+ DocBookWrapperTag abstract
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
# Clear Address definition from lyxmacros
More information about the lyx-cvs
mailing list