docbook5 template: use lang and subtitle variables (#3855)

This commit is contained in:
Jens Getreu 2017-08-22 07:10:41 +03:00 committed by John MacFarlane
parent 0a839cbdc9
commit 9375e50b96
2 changed files with 9 additions and 2 deletions

View file

@ -5,9 +5,15 @@
$if(mathml)$
xmlns:mml="http://www.w3.org/1998/Math/MathML"
$endif$
xmlns:xlink="http://www.w3.org/1999/xlink" >
xmlns:xlink="http://www.w3.org/1999/xlink"
$if(lang)$
xml:lang="$lang$"
$endif$ >
<info>
<title>$title$</title>
$if(subtitle)$
<subtitle>$subtitle$</subtitle>
$endif$
$if(author)$
<authorgroup>
$for(author)$

View file

@ -2,7 +2,8 @@
<!DOCTYPE article>
<article
xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xlink="http://www.w3.org/1999/xlink" >
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<info>
<title>Pandoc Test Suite</title>
<authorgroup>