funcsynopsis.style.xml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="funcsynopsis.style">
  7. <refmeta>
  8. <refentrytitle>funcsynopsis.style</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
  10. <refmiscinfo class="other" otherclass="value">ansi</refmiscinfo>
  11. <refmiscinfo class="other" otherclass="value">kr</refmiscinfo>
  12. </refmeta>
  13. <refnamediv>
  14. <refname>funcsynopsis.style</refname>
  15. <refpurpose>What style of <tag>funcsynopsis</tag> should be generated?</refpurpose>
  16. </refnamediv>
  17. <refsynopsisdiv>
  18. <src:fragment xml:id="funcsynopsis.style.frag"><xsl:param name="funcsynopsis.style">kr</xsl:param></src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If <parameter>funcsynopsis.style</parameter> is <literal>ansi</literal>,
  22. ANSI-style function synopses are generated for a
  23. <tag>funcsynopsis</tag>, otherwise K&amp;R-style
  24. function synopses are generated.
  25. </para>
  26. </refsection>
  27. </refentry>