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 |
|
---|
10 | <para>To make things easier to follow, there are a few typographical
|
---|
11 | conventions used throughout the book. Following are some examples:</para>
|
---|
12 |
|
---|
13 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
14 |
|
---|
15 | <blockquote><para>This form of text is designed to be typed exactly
|
---|
16 | as seen unless otherwise noted in the surrounding text. It is also used
|
---|
17 | in the explanation sections to identify which of the commands is being
|
---|
18 | referenced.</para></blockquote>
|
---|
19 |
|
---|
20 | <screen><computeroutput>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
|
---|
21 |
|
---|
22 | <blockquote><para>This form of text (fixed width text) is showing screen
|
---|
23 | output, probably as the result of commands issued, and is also used to
|
---|
24 | show filenames, such as <filename>/etc/ld.so.conf</filename>.</para></blockquote>
|
---|
25 |
|
---|
26 | <para><emphasis>Emphasis</emphasis></para>
|
---|
27 |
|
---|
28 | <blockquote><para>This form of text is used for several purposes in the
|
---|
29 | book, mainly to emphasize important points or items.</para></blockquote>
|
---|
30 |
|
---|
31 | <para><ulink url="&lfs-root;"/></para>
|
---|
32 |
|
---|
33 | <blockquote><para>This form of text is used for hyperlinks, both within the
|
---|
34 | book and to external pages such as HOWTOs, download locations and
|
---|
35 | websites.</para></blockquote>
|
---|
36 |
|
---|
37 | <screen><userinput>cat > $LFS/etc/group << "EOF"
|
---|
38 | root:x:0:
|
---|
39 | bin:x:1:
|
---|
40 | ......
|
---|
41 | EOF</userinput></screen>
|
---|
42 |
|
---|
43 | <blockquote><para>This type of section is used mainly when creating
|
---|
44 | configuration files. The first command tells the system to create
|
---|
45 | the file <filename>$LFS/etc/group</filename> from whatever is typed on the following lines until
|
---|
46 | the sequence EOF is encountered. Therefore, this whole section is generally
|
---|
47 | typed as seen.</para></blockquote>
|
---|
48 |
|
---|
49 | </sect1>
|
---|