[287ea55] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c2133bc] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[287ea55] | 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
|
---|
[ee45b2ee] | 11 | conventions used throughout this book. This section contains some
|
---|
| 12 | examples of the typographical format found throughout Linux From
|
---|
| 13 | Scratch.</para>
|
---|
[287ea55] | 14 |
|
---|
| 15 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 16 |
|
---|
[ee45b2ee] | 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>
|
---|
[287ea55] | 21 |
|
---|
[00cc7ce] | 22 | <screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
|
---|
[287ea55] | 23 |
|
---|
[ee45b2ee] | 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>
|
---|
[287ea55] | 28 |
|
---|
| 29 | <para><emphasis>Emphasis</emphasis></para>
|
---|
| 30 |
|
---|
[ee45b2ee] | 31 | <para>This form of text is used for several purposes in the book,
|
---|
| 32 | mainly to emphasize important points or items.</para>
|
---|
[287ea55] | 33 |
|
---|
| 34 | <para><ulink url="&lfs-root;"/></para>
|
---|
| 35 |
|
---|
[ee45b2ee] | 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>
|
---|
[287ea55] | 39 |
|
---|
[0719866] | 40 | <screen><userinput>cat > $LFS/etc/group << "EOF"
|
---|
[c863747] | 41 | <literal>root:x:0:
|
---|
[287ea55] | 42 | bin:x:1:
|
---|
[c863747] | 43 | ......</literal>
|
---|
[0719866] | 44 | EOF</userinput></screen>
|
---|
[287ea55] | 45 |
|
---|
[69993f4] | 46 | <para>This format is used when creating configuration files. The first
|
---|
[ee45b2ee] | 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>
|
---|
[287ea55] | 51 |
|
---|
[fbe4cf1] | 52 | <para><replaceable>[REPLACED TEXT]</replaceable></para>
|
---|
| 53 |
|
---|
[ee45b2ee] | 54 | <para>This format is used to encapsulate text that is not to be typed
|
---|
[1cc7be0] | 55 | as seen or copy-and-pasted.</para>
|
---|
[fbe4cf1] | 56 |
|
---|
[287ea55] | 57 | </sect1>
|
---|
[ee45b2ee] | 58 |
|
---|