typography.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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>To make things easier to follow, there are a few typographical
  10. conventions used throughout the book. Following are some examples:</para>
  11. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  12. <blockquote><para>This form of text is designed to be typed exactly
  13. as seen unless otherwise noted in the surrounding text. It is also used
  14. in the explanation sections to identify which of the commands is being
  15. referenced.</para></blockquote>
  16. <screen><computeroutput>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
  17. <blockquote><para>This form of text (fixed width text) is showing screen
  18. output, probably as the result of commands issued, and is also used to
  19. show filenames, such as <filename>/etc/ld.so.conf</filename>.</para></blockquote>
  20. <para><emphasis>Emphasis</emphasis></para>
  21. <blockquote><para>This form of text is used for several purposes in the
  22. book, mainly to emphasize important points or items.</para></blockquote>
  23. <para><ulink url="&lfs-root;"/></para>
  24. <blockquote><para>This form of text is used for hyperlinks, both within the
  25. book and to external pages such as HOWTOs, download locations and
  26. websites.</para></blockquote>
  27. <screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"
  28. root:x:0:
  29. bin:x:1:
  30. ......
  31. EOF</userinput></screen>
  32. <blockquote><para>This type of section is used mainly when creating
  33. configuration files. The first command tells the system to create
  34. the file <filename>$LFS/etc/group</filename> from whatever is typed on the following lines until
  35. the sequence EOF is encountered. Therefore, this whole section is generally
  36. typed as seen.</para></blockquote>
  37. <para><replaceable>[REPLACED TEXT]</replaceable></para>
  38. <blockquote><para>This form of text is used to encapsulate text that is
  39. not to be typed as seen or copy and pasted.</para></blockquote>
  40. </sect1>