Mike Gerwitz

Activist for User Freedom

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2015-09-29 00:00:06 -0400
committerMike Gerwitz <mtg@gnu.org>2015-09-29 00:00:09 -0400
commitc9f9ab5d503fb82c842ed50b9006059375763880 (patch)
tree6f5adf0d6608e896dc4a623786634c9932d6a307
parentc3d0839b9ae457af2df3b0029461f243148f35ec (diff)
downloadliterate-xsl-c9f9ab5d503fb82c842ed50b9006059375763880.tar.gz
literate-xsl-c9f9ab5d503fb82c842ed50b9006059375763880.tar.bz2
literate-xsl-c9f9ab5d503fb82c842ed50b9006059375763880.zip
Prefix woven definition with text indicator
This helps make clear that the code snippet is not an example, or part of an example that ends the description (in the docblock).
-rw-r--r--src/texinfo.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/texinfo.xsl b/src/texinfo.xsl
index 9c3fe5d..88af54e 100644
--- a/src/texinfo.xsl
+++ b/src/texinfo.xsl
@@ -143,6 +143,8 @@
$xt:nl,
$doc,
$xt:nl,
+ '@emph{Definition:}',
+ $xt:nl,
'@verbatim',
$xt:nl,
xt:serialize( . ),