[LyX/master] DocBook: do a little something for Sweave & co.
Thibaut Cuvelier
tcuvelier at lyx.org
Sun Nov 15 22:38:52 UTC 2020
commit afba0672d03f9d29071e504292e0113976efcd1f
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Sun Nov 15 23:54:23 2020 +0100
DocBook: do a little something for Sweave & co.
---
development/autotests/invertedTests | 2 ++
lib/layouts/litinsets.inc | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 65933ee..437dea1 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -504,6 +504,8 @@ export/examples/Modules/Fancy_Colored_Boxes_docbook5
# - Waiting for a new version of DocBook to be tagged on https://github.com/docbook/docbook (anything over 5.2b10a3).
export/export/docbook/Localization_Test_docbook5
export/examples/Graphics_and_Insets/Minted_Listings_docbook5
+# - Sweave and other literate-programming tools cannot be implemented properly without the LaTeX tooling.
+export/examples/Modules/Sweave_docbook5
Sublabel: docbook poster
# Posters cannot be properly exported, the LyX documents are too far from
diff --git a/lib/layouts/litinsets.inc b/lib/layouts/litinsets.inc
index 5537fc6..03c4c05 100644
--- a/lib/layouts/litinsets.inc
+++ b/lib/layouts/litinsets.inc
@@ -54,4 +54,6 @@ InsetLayout "Flex:Chunk"
ForceOwnlines true
NeedCProtect true
EditExternal true
+ DocBookTag programlisting
+ DocBookAttr role='literate-programming'
End
More information about the lyx-cvs
mailing list