conventions.xml 1.8 KB

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