From a2149e4f07188eef9ef9dd693e822bc24548ae09 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Fri, 22 Jun 2001 12:33:07 +0000 Subject: [PATCH] Support EBNF --- xsl/fo/docbook.xsl | 8 ++ xsl/fo/ebnf.xsl | 318 +++++++++++++++++++++++++++++++++++++++++++ xsl/html/docbook.xsl | 1 + xsl/html/ebnf.xsl | 41 +++--- 4 files changed, 345 insertions(+), 23 deletions(-) create mode 100644 xsl/fo/ebnf.xsl diff --git a/xsl/fo/docbook.xsl b/xsl/fo/docbook.xsl index 7f081a631..181b2aa22 100644 --- a/xsl/fo/docbook.xsl +++ b/xsl/fo/docbook.xsl @@ -59,8 +59,10 @@ + + @@ -125,6 +127,9 @@ + + + @@ -133,6 +138,9 @@ + + + diff --git a/xsl/fo/ebnf.xsl b/xsl/fo/ebnf.xsl new file mode 100644 index 000000000..168060c68 --- /dev/null +++ b/xsl/fo/ebnf.xsl @@ -0,0 +1,318 @@ + + + + + + + + +$Id$ + +Walsh +Norman +199920002001 +Norman Walsh + + +HTML EBNF Reference + + +
Introduction + +This is technical reference documentation for the DocBook XSL +Stylesheets; it documents (some of) the parameters, templates, and +other elements of the stylesheets. + +This reference describes the templates and parameters relevant +to formatting EBNF markup. + +This is not intended to be user documentation. +It is provided for developers writing customization layers for the +stylesheets, and for anyone who's interested in how it +works. + +Although I am trying to be thorough, this documentation is known +to be incomplete. Don't forget to read the source, too :-) +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + ::= + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + Error: no ID for productionrecap linkend: + + . + + + + + + Warning: multiple "IDs" for productionrecap linkend: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + production + + + + + + + + + Non-terminals with no content must point to + production elements in the current document. + + + Invalid xpointer for empty nt: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + /*  + +  */ + + + + + + + + + + constraintdef + + + + + + + + + + + + + + + + + + + : + + + + + + + : + + + + + + + + + +  ] + + + + + + + + + + + + + + + + + +
diff --git a/xsl/html/docbook.xsl b/xsl/html/docbook.xsl index df66280c3..54e335e3b 100644 --- a/xsl/html/docbook.xsl +++ b/xsl/html/docbook.xsl @@ -58,6 +58,7 @@ + diff --git a/xsl/html/ebnf.xsl b/xsl/html/ebnf.xsl index 598d577b4..1c75508bb 100644 --- a/xsl/html/ebnf.xsl +++ b/xsl/html/ebnf.xsl @@ -48,12 +48,6 @@ to be incomplete. Don't forget to read the source, too :-) - - - - - - #F5DCB3 @@ -180,23 +174,22 @@ borders, otherwise they don't. - - - - Error: no ID for productionrecap linkend: - - . - - + + + Error: no ID for productionrecap linkend: + + . + + - - - Warning: multiple "IDs" for productionrecap linkend: - - . - - + + + Warning: multiple "IDs" for productionrecap linkend: + + . + + @@ -310,7 +303,7 @@ borders, otherwise they don't.
- [ + @@ -332,11 +325,13 @@ borders, otherwise they don't. - ] +  ] +
+
-- 2.40.0