conventions.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <sect1 id="ch01-conventions">
  2. <title>Conventions used in this book</title>
  3. <para>To make things easy to follow, there are a number of conventions used
  4. throughout the book. Following are some examples:</para>
  5. <para><userinput>./configure --prefix=/usr</userinput></para>
  6. <blockquote><para>This form of text is designed to be typed exactly
  7. as seen unless otherwise noted in the surrounding text. It is also used
  8. in the explanation sections to identify which of the commands is being
  9. referred to.</para></blockquote>
  10. <para><filename>install-info: unknown option
  11. `--dir-file=/mnt/lfs/usr/info/dir'</filename></para>
  12. <blockquote><para>This form of text (fixed width text) is showing screen
  13. output, probably as the result of commands issued and is also used to
  14. show filenames such as <filename>/etc/lilo.conf</filename></para></blockquote>
  15. <para><emphasis>Emphasis</emphasis></para>
  16. <blockquote><para>This form of text is used for several purposes in the
  17. book but mainly to emphasise important points or to give examples as to
  18. what to type.</para></blockquote>
  19. <para><ulink url="http://www.linuxfromscratch.org/">http://www.linuxfromscratch.org/</ulink></para>
  20. <blockquote><para>This form of text is used for hyperlinks, both within the
  21. book and to external pages such as HowTo's, download locations,
  22. websites, etc.</para></blockquote>
  23. <para><screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput>
  24. root:x:0:
  25. bin:x:1:
  26. ......
  27. <userinput>EOF</userinput>
  28. </screen>
  29. </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>