]> granicus.if.org Git - docbook-dsssl/commitdiff
New parameters
authorNorman Walsh <ndw@nwalsh.com>
Sat, 12 Apr 2003 20:53:26 +0000 (20:53 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 12 Apr 2003 20:53:26 +0000 (20:53 +0000)
xsl/params/ebnf.assignment.xml [new file with mode: 0644]
xsl/params/ebnf.statement.terminator.xml [new file with mode: 0644]
xsl/params/root.properties.xml [new file with mode: 0644]

diff --git a/xsl/params/ebnf.assignment.xml b/xsl/params/ebnf.assignment.xml
new file mode 100644 (file)
index 0000000..4300071
--- /dev/null
@@ -0,0 +1,35 @@
+<refentry id="ebnf.assignment">
+<refmeta>
+<refentrytitle>ebnf.assignment</refentrytitle>
+<refmiscinfo role="type">rtf</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ebnf.assignment</refname>
+<refpurpose>The EBNF production assignment operator</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ebnf.assignment.frag'>
+<xsl:param condition="html" name="ebnf.assignment">
+<tt>::=</tt>
+</xsl:param>
+<xsl:param condition="fo" name="ebnf.assignment"
+           xmlns:fo="http://www.w3.org/1999/XSL/Format">
+  <fo:inline font-family="{$monospace.font.family}">
+    <xsl:text>::=</xsl:text>
+  </fo:inline>
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>ebnf.assignment</parameter> parameter determines what
+text is used to show <quote>assignment</quote> in <sgmltag>production</sgmltag>s
+in <sgmltag>productionset</sgmltag>s.</para>
+
+<para>While <quote><literal>::=</literal></quote> is common, so are several
+other operators.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/ebnf.statement.terminator.xml b/xsl/params/ebnf.statement.terminator.xml
new file mode 100644 (file)
index 0000000..b3a8d86
--- /dev/null
@@ -0,0 +1,27 @@
+<refentry id="ebnf.statement.terminator">
+<refmeta>
+<refentrytitle>ebnf.statement.terminator</refentrytitle>
+<refmiscinfo role="type">rtf</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ebnf.statement.terminator</refname>
+<refpurpose>Punctuation that ends an EBNF statement.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ebnf.statement.terminator.frag'>
+<xsl:param condition="html" name="ebnf.statement.terminator"/>
+<xsl:param condition="fo" name="ebnf.statement.terminator"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>ebnf.statement.terminator</parameter> parameter determines what
+text is used to terminate each <sgmltag>production</sgmltag>
+in <sgmltag>productionset</sgmltag>.</para>
+
+<para>Some notations end each statement with a period.</para>
+
+</refsect1>
+</refentry>
diff --git a/xsl/params/root.properties.xml b/xsl/params/root.properties.xml
new file mode 100644 (file)
index 0000000..1460df3
--- /dev/null
@@ -0,0 +1,37 @@
+<refentry id="root.properties">
+<refmeta>
+<refentrytitle>root.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>root.properties</refname>
+<refpurpose>The properties of the fo:root element</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='root.properties.frag'>
+<xsl:attribute-set name="root.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.size"/>
+  </xsl:attribute>
+  <xsl:attribute name="text-align">
+    <xsl:value-of select="$alignment"/>
+  </xsl:attribute>
+  <xsl:attribute name="line-height">
+    <xsl:value-of select="$line-height"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set is used on the <sgmltag>fo:root</sgmltag> element of
+an FO file. It defines a set of default, global parameters.</para>
+
+</refsect1>
+</refentry>