typography.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="pre-typography">
  7. <title>Typography</title>
  8. <?dbhtml filename="typography.html"?>
  9. <para>See testing</para>
  10. <!--
  11. <para>To make things easier to follow, there are a few typographical
  12. conventions used throughout the book. Following are some examples:</para>
  13. <screen><userinput>./configure -prefix=/usr</userinput></screen>
  14. <blockquote><para>This form of text is designed to be typed exactly
  15. as seen unless otherwise noted in the surrounding text. It is also used
  16. in the explanation sections to identify which of the commands is being
  17. referenced.</para></blockquote>
  18. <screen><computeroutput>install-info: unknown option `-dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
  19. <blockquote><para>This form of text (fixed width text) is showing screen
  20. output, probably as the result of commands issued, and is also used to
  21. show filenames, such as <filename>/etc/ld.so.conf</filename>.</para></blockquote>
  22. <para><emphasis>Emphasis</emphasis></para>
  23. <blockquote><para>This form of text is used for several purposes in the
  24. book, mainly to emphasize important points or items.</para></blockquote>
  25. <para><ulink url="&lfs-root;"/></para>
  26. <blockquote><para>This form of text is used for hyperlinks, both within the
  27. book and to external pages such as HOWTOs, download locations and
  28. websites.</para></blockquote>
  29. <screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"
  30. root:x:0:
  31. bin:x:1:
  32. ......
  33. EOF</userinput></screen>
  34. <blockquote><para>This type of section is used mainly when creating
  35. configuration files. The first command tells the system to create
  36. the file <filename>$LFS/etc/group</filename> from whatever is typed on the following lines until
  37. the sequence EOF is encountered. Therefore, this whole section is generally
  38. typed as seen.</para></blockquote>
  39. <para><replaceable>[REPLACED TEXT]</replaceable></para>
  40. <blockquote><para>This form of text is used to encapsulate text that is
  41. not to be typed as seen or copy and pasted.</para></blockquote>
  42. -->
  43. </sect1>