[LyX/master] DocBook: many fixes for the user guide.
Thibaut Cuvelier
tcuvelier at lyx.org
Thu Nov 5 01:13:22 UTC 2020
commit 302bed3f6809e93b1300b967087aa809cf557134
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Thu Nov 5 02:42:03 2020 +0100
DocBook: many fixes for the user guide.
---
development/autotests/invertedTests | 2 ++
lib/layouts/lyxmacros.inc | 5 +++++
lib/layouts/stdlayouts.inc | 2 +-
3 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 8d477e0..d3ff98c 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -459,6 +459,8 @@ export/export/latex/languages/supported-languages_(|babel|babel_auto-legacy|poly
export/doc(|/de|/es|/fr|/ja)/EmbeddedObjects_docbook5
# - Math: formula in inline tag, formula with two references (only one xml:id allowed per <equation> tag).
export/doc(|/de|/es|/fr|/ja|/ru)/Math_docbook5
+# - UserGuide: formula in inline tag, use of fancyhdr
+export/doc(|/de|/es|/fr|/ja|/ru)/UserGuide_docbook5
Sublabel: docbook poster
# Posters cannot be properly exported, the LyX documents are too far from
diff --git a/lib/layouts/lyxmacros.inc b/lib/layouts/lyxmacros.inc
index 3f5729e..aca4014 100644
--- a/lib/layouts/lyxmacros.inc
+++ b/lib/layouts/lyxmacros.inc
@@ -62,6 +62,8 @@ Style Address
\noindent\par}
}
EndPreamble
+ DocBookTag address
+ DocBookTagType paragraph
End
@@ -83,4 +85,7 @@ Style Right_Address
\par}
}
EndPreamble
+ DocBookTag address
+ DocBookTagType paragraph
+ DocBookAttr role='right-address'
End
diff --git a/lib/layouts/stdlayouts.inc b/lib/layouts/stdlayouts.inc
index e3c5242..dcf725c 100644
--- a/lib/layouts/stdlayouts.inc
+++ b/lib/layouts/stdlayouts.inc
@@ -77,7 +77,7 @@ Style Verse
HTMLTag blockquote
HTMLItem p
DocBookTag literallayout
- DocBookItemTag para
+ DocBookTagType paragraph
End
More information about the lyx-cvs
mailing list