aboutsummaryrefslogtreecommitdiffstats
path: root/prologue/typography.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-05-03 10:33:11 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-05-03 10:33:11 +0000
commit287ea55da70ceb1f0990554b7db921d525fef816 (patch)
tree5aff1bbd2cbdc38ec513f0e1ef1a2f456cfe49e9 /prologue/typography.xml
parentcaa08b6106748fa290447d8183adbe6094eed07d (diff)
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3434 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue/typography.xml')
-rw-r--r--prologue/typography.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/prologue/typography.xml b/prologue/typography.xml
new file mode 100644
index 000000000..3a54e8b0c
--- /dev/null
+++ b/prologue/typography.xml
@@ -0,0 +1,52 @@
+<?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>
+
+<para><filename>install-info: unknown option
+`--dir-file=/mnt/lfs/usr/info/dir'</filename></para>
+
+<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, and to give examples of
+what to type.</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 &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput>
+root:x:0:
+bin:x:1:
+......
+<userinput>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 $LFS/etc/group 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>