From 35f12b5095799e41b563f47a7923a1d01015c71c Mon Sep 17 00:00:00 2001 From: Frerich Raabe Date: Wed, 23 Sep 2015 22:53:50 +0200 Subject: 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. --- pandoc.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'pandoc.cabal') 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 -- cgit v1.2.3