From 529ad13fa259a55ef02d77c8bcd09ebd35302476 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 29 Aug 2003 01:37:03 +0000 Subject: [PATCH] Added preliminary support for macro documentation [SVN r19845] --- xsl/annotation.xsl | 37 +++++++++++++++++++++ xsl/docbook.xsl | 14 ++++++-- xsl/macro.xsl | 70 ++++++++++++++++++++++++++++++++++++++++ xsl/reference.xsl | 1 + xsl/source-highlight.xsl | 2 +- 5 files changed, 121 insertions(+), 3 deletions(-) create mode 100644 xsl/macro.xsl diff --git a/xsl/annotation.xsl b/xsl/annotation.xsl index 4c7dea2..4c0d7d0 100644 --- a/xsl/annotation.xsl +++ b/xsl/annotation.xsl @@ -5,6 +5,7 @@ + @@ -161,6 +162,42 @@ + + + + + + + + warning: cannot find macro ` + + ' + + + + + + + + + + + + + + + + + + error: macro ` + + ' is multiply defined. + + + + + + diff --git a/xsl/docbook.xsl b/xsl/docbook.xsl index fe8eddf..c149726 100644 --- a/xsl/docbook.xsl +++ b/xsl/docbook.xsl @@ -69,7 +69,17 @@ - + + + + + + + + + + + @@ -341,7 +351,7 @@ Error: XSL template 'link-or-anchor' called with invalid link-type ' + conceptname|macroname"> diff --git a/xsl/macro.xsl b/xsl/macro.xsl new file mode 100644 index 0000000..d31a7b3 --- /dev/null +++ b/xsl/macro.xsl @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Macro + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + , + + + + ) + + + + + + + diff --git a/xsl/reference.xsl b/xsl/reference.xsl index 61df4c6..e081e20 100644 --- a/xsl/reference.xsl +++ b/xsl/reference.xsl @@ -11,6 +11,7 @@ + diff --git a/xsl/source-highlight.xsl b/xsl/source-highlight.xsl index 69030f2..14e7dc8 100644 --- a/xsl/source-highlight.xsl +++ b/xsl/source-highlight.xsl @@ -152,7 +152,7 @@ + conceptname|macroname" mode="highlight">