<!ENTITY man.font.funcsynopsisinfo SYSTEM "../params/man.font.funcsynopsisinfo.xml">
<!ENTITY man.font.table.headings SYSTEM "../params/man.font.table.headings.xml">
<!ENTITY man.font.table.title SYSTEM "../params/man.font.table.title.xml">
+<!ENTITY man.funcsynopsis.style SYSTEM "../params/man.funcsynopsis.style.xml">
<!ENTITY man.hyphenate.computer.inlines SYSTEM "../params/man.hyphenate.computer.inlines.xml">
<!ENTITY man.hyphenate.filenames SYSTEM "../params/man.hyphenate.filenames.xml">
<!ENTITY man.hyphenate SYSTEM "../params/man.hyphenate.xml">
&man.font.funcsynopsisinfo;
&man.font.table.headings;
&man.font.table.title;
+ </reference>
+ <reference xml:id="synopsis">
+ <title>SYNOPSIS section</title>
+&man.funcsynopsis.style;
</reference>
<reference xml:id="authors">
<title>AUTHORS and COPYRIGHT sections</title>
<src:fragref linkend="man.font.funcsynopsisinfo.frag"/>
<src:fragref linkend="man.font.table.headings.frag"/>
<src:fragref linkend="man.font.table.title.frag"/>
+<src:fragref linkend="man.funcsynopsis.style.frag"/>
<src:fragref linkend="man.hyphenate.computer.inlines.frag"/>
<src:fragref linkend="man.hyphenate.filenames.frag"/>
<src:fragref linkend="man.hyphenate.frag"/>
</variablelist>
</refparameter>
<refsee role="params">
- <para><parameter>funcsynopsis.style</parameter></para>
+ <para><parameter>man.funcsynopsis.style</parameter></para>
</refsee>
</doc:pi>
<xsl:template name="pi.dbman_funcsynopsis-style">
<xsl:value-of select="$man-funcprototype-style"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$funcsynopsis.style"/>
+ <xsl:value-of select="$man.funcsynopsis.style"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
--- /dev/null
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="man.funcsynopsis.style">
+<refmeta>
+<refentrytitle>man.funcsynopsis.style</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
+<refmiscinfo class="other" otherclass="value">ansi</refmiscinfo>
+<refmiscinfo class="other" otherclass="value">kr</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.funcsynopsis.style</refname>
+<refpurpose>What style of <tag>funcsynopsis</tag> should be generated?</refpurpose>
+</refnamediv>
+<refsynopsisdiv>
+<src:fragment xml:id="man.funcsynopsis.style.frag"><xsl:param name="man.funcsynopsis.style">ansi</xsl:param></src:fragment>
+</refsynopsisdiv>
+<refsection><info><title>Description</title></info>
+<para>If <parameter>man.funcsynopsis.style</parameter> is
+<literal>ansi</literal>, ANSI-style function synopses are
+generated for a <tag>funcsynopsis</tag>, otherwise K&R-style
+function synopses are generated.</para>
+</refsection>
+</refentry>