conventions.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <sect1 id="ch01-conventions">
  2. <title>Conventions used in this book</title>
  3. <?dbhtml filename="conventions.html" dir="chapter01"?>
  4. <para>To make things easy to follow, there are a number of conventions used
  5. throughout the book. Following are some examples:</para>
  6. <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
  7. <blockquote><para>This form of text is designed to be typed exactly
  8. as seen unless otherwise noted in the surrounding text. It is also used
  9. in the explanation sections to identify which of the commands is being
  10. referenced.</para></blockquote>
  11. <para><filename>install-info: unknown option
  12. `--dir-file=/mnt/lfs/usr/info/dir'</filename></para>
  13. <blockquote><para>This form of text (fixed width text) is showing screen
  14. output, probably as the result of commands issued, and is also used to
  15. show filenames, such as <filename>/etc/lilo.conf</filename>.</para></blockquote>
  16. <para><emphasis>Emphasis</emphasis></para>
  17. <blockquote><para>This form of text is used for several purposes in the
  18. book, mainly to emphasize important points, and to give examples of
  19. what to type.</para></blockquote>
  20. <para><ulink url="http://www.linuxfromscratch.org/"/></para>
  21. <blockquote><para>This form of text is used for hyperlinks, both within the
  22. book and to external pages such as HOWTOs, download locations and
  23. websites.</para></blockquote>
  24. <para><screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput>
  25. root:x:0:
  26. bin:x:1:
  27. ......
  28. <userinput>EOF</userinput>
  29. </screen></para>
  30. <blockquote><para>This type of section is used mainly when creating
  31. configuration files. The first command (in bold) tells the system to create
  32. the file $LFS/etc/group from whatever is typed on the following lines until
  33. the sequence EOF is encountered. Therefore, this whole section is generally
  34. typed as seen.</para></blockquote>
  35. </sect1>