1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/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 this book. This section contains some
|
---|
12 | examples of the typographical format found throughout Linux From
|
---|
13 | Scratch.</para>
|
---|
14 |
|
---|
15 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
16 |
|
---|
17 | <para>This form of text is designed to be typed exactly as seen unless
|
---|
18 | otherwise noted in the surrounding text. It is also used in the
|
---|
19 | explanation sections to identify which of the commands is being
|
---|
20 | referenced.</para>
|
---|
21 |
|
---|
22 | <screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
|
---|
23 |
|
---|
24 | <para>This form of text (fixed width text) shows screen output,
|
---|
25 | probably as the result of commands issued. This format is also used
|
---|
26 | to show filenames, such as
|
---|
27 | <filename>/etc/ld.so.conf</filename>.</para>
|
---|
28 |
|
---|
29 | <para><emphasis>Emphasis</emphasis></para>
|
---|
30 |
|
---|
31 | <para>This form of text is used for several purposes in the book,
|
---|
32 | mainly to emphasize important points or items.</para>
|
---|
33 |
|
---|
34 | <para><ulink url="&lfs-root;"/></para>
|
---|
35 |
|
---|
36 | <para>This format is used for hyperlinks, both within the LFS
|
---|
37 | community and to external pages, including HOWTOs, download locations,
|
---|
38 | and websites.</para>
|
---|
39 |
|
---|
40 | <screen><userinput>cat > $LFS/etc/group << "EOF"
|
---|
41 | <literal>root:x:0:
|
---|
42 | bin:x:1:
|
---|
43 | ......</literal>
|
---|
44 | EOF</userinput></screen>
|
---|
45 |
|
---|
46 | <para>This format is used when creating configuration files. The first
|
---|
47 | command tells the system to create the file
|
---|
48 | <filename>$LFS/etc/group</filename> from whatever is typed on the
|
---|
49 | following lines until the sequence end of file (EOF) is encountered.
|
---|
50 | Therefore, this entire section is generally typed as seen.</para>
|
---|
51 |
|
---|
52 | <para><replaceable>[REPLACED TEXT]</replaceable></para>
|
---|
53 |
|
---|
54 | <para>This format is used to encapsulate text that is not to be typed
|
---|
55 | as seen<phrase condition="html"> or copy-and-pasted</phrase>.</para>
|
---|
56 |
|
---|
57 | </sect1>
|
---|
58 |
|
---|