summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@froglogic.com>2015-09-23 22:53:50 +0200
committerFrerich Raabe <raabe@froglogic.com>2015-09-24 18:26:55 +0200
commit35f12b5095799e41b563f47a7923a1d01015c71c (patch)
tree11c156045a0811fee4512366e387034ea1991e1f /pandoc.cabal
parentf6538144f0763ae17b60c78810ed52ab96df308d (diff)
Added proper support for DocBook 'xref' elements
'xref' is used to create cross references to other parts of the document. It is an empty element - the cross reference text depends on various attributes. Quoting 'DocBook: The Definitive Guide': 1. If the endterm attribute is specified on xref, the content of the element pointed to by endterm will be used as the text of the cross-reference. 2. Otherwise, if the object pointed to has a specified XRefLabel, the content of that attribute will be used as the cross-reference text.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 0e1e75897..934d51a58 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -125,6 +125,7 @@ Extra-Source-Files:
tests/bodybg.gif
tests/*.native
tests/docbook-reader.docbook
+ tests/docbook-xref.docbook
tests/html-reader.html
tests/opml-reader.opml
tests/haddock-reader.haddock