blob: 2a5b638d8cc99b8083b79d401f8dcd41e6b7ee57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="pre-typography">
<title>Typography</title>
<?dbhtml filename="typography.html"?>
<para>To make things easier to follow, there are a few typographical
conventions used throughout the book. Following are some examples:</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>
<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 which of the commands is being
referenced.</para></blockquote>
<screen><computeroutput>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
<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>/etc/ld.so.conf</filename>.</para></blockquote>
<para><emphasis>Emphasis</emphasis></para>
<blockquote><para>This form of text is used for several purposes in the
book, mainly to emphasize important points or items.</para></blockquote>
<para><ulink url="&lfs-root;"/></para>
<blockquote><para>This form of text is used for hyperlinks, both within the
book and to external pages such as HOWTOs, download locations and
websites.</para></blockquote>
<screen><userinput>cat > $LFS/etc/group << "EOF"
root:x:0:
bin:x:1:
......
EOF</userinput></screen>
<blockquote><para>This type of section is used mainly when creating
configuration files. The first command 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>
</sect1>
|