diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2005-02-19 22:16:42 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2005-02-19 22:16:42 +0000 |
commit | 81fd230419b0cfd052b08fc1ed352bb7d49975df (patch) | |
tree | 24c98d2876e5b457dcb88d39e7cca4905f58691a /prologue/typography.xml | |
parent | 2f9131f8390243dbc350fe2eeb9e1d58f0264888 (diff) |
Trunk is now identical to Testing
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue/typography.xml')
-rw-r--r-- | prologue/typography.xml | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/prologue/typography.xml b/prologue/typography.xml index d13d31282..3a74378a4 100644 --- a/prologue/typography.xml +++ b/prologue/typography.xml @@ -7,6 +7,52 @@ <title>Typography</title> <?dbhtml filename="typography.html"?> -<para>See testing</para> +<para>To make things easier to follow, there are a few typographical +conventions used throughout this book. This section contains some +examples of the typographical format found throughout Linux From +Scratch.</para> + +<screen><userinput>./configure --prefix=/usr</userinput></screen> + +<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> + +<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen> + +<para>This form of text (fixed width text) shows screen output, +probably as the result of commands issued. This format is also used +to show filenames, such as +<filename>/etc/ld.so.conf</filename>.</para> + +<para><emphasis>Emphasis</emphasis></para> + +<para>This form of text is used for several purposes in the book, +mainly to emphasize important points or items.</para> + +<para><ulink url="&lfs-root;"/></para> + +<para>This format is used for hyperlinks, both within the LFS +community and to external pages, including HOWTOs, download locations, +and websites.</para> + +<screen><userinput>cat > $LFS/etc/group << "EOF" +<literal>root:x:0: +bin:x:1: +......</literal> +EOF</userinput></screen> + +<para>This format is used 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 end of file (EOF) is encountered. +Therefore, this entire section is generally typed as seen.</para> + +<para><replaceable>[REPLACED TEXT]</replaceable></para> + +<para>This format is used to encapsulate text that is not to be typed +as seen<phrase condition="html"> or copy-and-pasted</phrase>.</para> </sect1> + |