default.units.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="default.units">
  7. <refmeta>
  8. <refentrytitle>default.units</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
  10. <refmiscinfo class="other" otherclass="value">cm</refmiscinfo>
  11. <refmiscinfo class="other" otherclass="value">mm</refmiscinfo>
  12. <refmiscinfo class="other" otherclass="value">in</refmiscinfo>
  13. <refmiscinfo class="other" otherclass="value">pt</refmiscinfo>
  14. <refmiscinfo class="other" otherclass="value">pc</refmiscinfo>
  15. <refmiscinfo class="other" otherclass="value">px</refmiscinfo>
  16. <refmiscinfo class="other" otherclass="value">em</refmiscinfo>
  17. </refmeta>
  18. <refnamediv>
  19. <refname>default.units</refname>
  20. <refpurpose>Default units for an unqualified dimension</refpurpose>
  21. </refnamediv>
  22. <refsynopsisdiv>
  23. <src:fragment xml:id="default.units.frag">
  24. <xsl:param name="default.units">pt</xsl:param>
  25. </src:fragment>
  26. </refsynopsisdiv>
  27. <refsection><info><title>Description</title></info>
  28. <para>If an unqualified dimension is encountered (for example, in a
  29. graphic width), the <parameter>default.units</parameter> will be used for the
  30. units. Unqualified dimensions are not allowed in XSL Formatting Objects.
  31. </para>
  32. </refsection>
  33. </refentry>