typography.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. <para><filename>install-info: unknown option
  17. `--dir-file=/mnt/lfs/usr/info/dir'</filename></para>
  18. <blockquote><para>This form of text (fixed width text) is showing screen
  19. output, probably as the result of commands issued, and is also used to
  20. show filenames, such as <filename>/etc/ld.so.conf</filename>.</para></blockquote>
  21. <para><emphasis>Emphasis</emphasis></para>
  22. <blockquote><para>This form of text is used for several purposes in the
  23. book, mainly to emphasize important points, and to give examples of
  24. what to type.</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"</userinput>
  30. root:x:0:
  31. bin:x:1:
  32. ......
  33. <userinput>EOF</userinput>
  34. </screen>
  35. <blockquote><para>This type of section is used mainly when creating
  36. configuration files. The first command tells the system to create
  37. the file $LFS/etc/group from whatever is typed on the following lines until
  38. the sequence EOF is encountered. Therefore, this whole section is generally
  39. typed as seen.</para></blockquote>
  40. </sect1>