2004-06-10 10:40:59 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-10 10:40:59 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
<sect1 id="intro-welcome-conventions">
|
2005-05-08 01:54:06 +08:00
|
|
|
<?dbhtml filename="conventions.html"?>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-12 04:43:48 +08:00
|
|
|
<title>Conventions Used in this Book</title>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<para>To make things easy to follow, there are a number of conventions used
|
|
|
|
throughout the book. Following are some examples:</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<blockquote>
|
|
|
|
<para>This form of text is designed to be typed exactly
|
|
|
|
as seen unless otherwise noted in the surrounding text. It is also used
|
|
|
|
in the explanation sections to identify references to specific commands.</para>
|
|
|
|
</blockquote>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<screen><computeroutput>install-info: unknown option
|
|
|
|
`--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<blockquote>
|
|
|
|
<para>This form of text (fixed width text) is showing screen
|
|
|
|
output, probably as the result of commands issued and is also used to
|
|
|
|
show filenames such as <filename>/boot/grub/grub.conf</filename></para>
|
|
|
|
</blockquote>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<para><emphasis>Emphasis</emphasis></para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<blockquote>
|
|
|
|
<para>This form of text is used for several purposes in the
|
|
|
|
book but mainly to emphasize important points or to give examples as to
|
|
|
|
what to type.</para>
|
|
|
|
</blockquote>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<para><ulink url="http://www.linuxfromscratch.org/"/></para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<blockquote>
|
|
|
|
<para>This form of text is used for hypertext links, both within
|
|
|
|
the book and to external pages such as HowTo's, download locations,
|
|
|
|
websites, etc.</para>
|
|
|
|
</blockquote>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<screen><userinput>cat > $LFS/etc/group << "EOF"
|
|
|
|
<literal>root:x:0:
|
|
|
|
bin:x:1:
|
|
|
|
......</literal>
|
|
|
|
EOF</userinput></screen>
|
2004-05-29 16:25:12 +08:00
|
|
|
|
2005-05-08 01:54:06 +08:00
|
|
|
<blockquote>
|
|
|
|
<para>This type of section is used mainly when creating
|
|
|
|
configuration files. The first command (in bold) tells the system to create
|
|
|
|
the file <filename>$LFS/etc/group</filename> from whatever is typed on the
|
|
|
|
following lines until the sequence EOF is encountered.
|
|
|
|
Therefore, this whole section is generally typed as seen.</para>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<para><replaceable>[REPLACED TEXT]</replaceable></para>
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
<para>This form of text is used to encapsulate text that should be
|
|
|
|
modified and is not to be typed as seen or copy and pasted.</para>
|
|
|
|
</blockquote>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-05-29 16:25:12 +08:00
|
|
|
</sect1>
|