diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-04-14 09:37:17 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-04-14 09:37:17 +0000 |
commit | 0090db5c7b0cb69fc9c06da99ad868814414d2b0 (patch) | |
tree | ae4db250fab5b28bd3b688e2553959db4d5cd433 | |
parent | b55b3c4ff2c23fd0ae6734552a769b6237af387c (diff) |
Changed typography convections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 12 | ||||
-rw-r--r-- | chapter02/creatingfilesystem.xml | 12 | ||||
-rw-r--r-- | chapter02/mounting.xml | 12 | ||||
-rw-r--r-- | chapter06/binutils.xml | 2 | ||||
-rw-r--r-- | chapter06/bzip2.xml | 2 | ||||
-rw-r--r-- | chapter06/db.xml | 6 | ||||
-rw-r--r-- | chapter06/e2fsprogs.xml | 4 | ||||
-rw-r--r-- | chapter06/file.xml | 2 | ||||
-rw-r--r-- | chapter06/gcc.xml | 2 | ||||
-rw-r--r-- | chapter06/gettext.xml | 2 | ||||
-rw-r--r-- | chapter06/glibc.xml | 16 | ||||
-rw-r--r-- | chapter06/groff.xml | 2 | ||||
-rw-r--r-- | chapter06/iproute2.xml | 2 | ||||
-rw-r--r-- | chapter06/libtool.xml | 2 | ||||
-rw-r--r-- | chapter06/man-db.xml | 4 | ||||
-rw-r--r-- | chapter06/ncurses.xml | 6 | ||||
-rw-r--r-- | chapter06/readline.xml | 2 | ||||
-rw-r--r-- | chapter06/shadow.xml | 2 | ||||
-rw-r--r-- | chapter06/zlib.xml | 2 | ||||
-rw-r--r-- | chapter07/hostname.xml | 4 | ||||
-rw-r--r-- | chapter07/hosts.xml | 13 | ||||
-rw-r--r-- | chapter07/network.xml | 8 | ||||
-rw-r--r-- | chapter07/profile.xml | 24 | ||||
-rw-r--r-- | chapter07/usage.xml | 4 | ||||
-rw-r--r-- | chapter08/fstab.xml | 8 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | prologue/typography.xml | 12 |
27 files changed, 94 insertions, 77 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3f7def9b1..510d48b0b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,18 @@ --> <listitem> + <para>April 14, 2006</para> + <itemizedlist> + <listitem> + <para>[manuel] - Changed typography convections. From now, + eplaceable text is encamsulated inside < $gt:, optional text + inside [ ], and libraries extensions inside { }. Thanks to + Bruce Dubbs for submint the patch.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>April 13, 2006</para> <itemizedlist> <listitem> diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index 4e7346b20..d9587d20f 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -21,9 +21,9 @@ <para>To create an <systemitem class="filesystem">ext2</systemitem> file system on the LFS partition, run the following:</para> -<screen role="nodump"><userinput>mke2fs -v /dev/<replaceable>[xxx]</replaceable></userinput></screen> +<screen role="nodump"><userinput>mke2fs -v /dev/<replaceable><xxx></replaceable></userinput></screen> - <para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS + <para>Replace <replaceable><xxx></replaceable> with the name of the LFS partition (<filename class="devicefile">hda5</filename> in our previous example).</para> @@ -35,7 +35,7 @@ features, upgrade your e2fsprogs</quote>. To check if your host system uses custom enhancements, run the following command:</para> -<screen role="nodump"><userinput>debugfs -R feature /dev/<replaceable>[xxx]</replaceable></userinput></screen> +<screen role="nodump"><userinput>debugfs -R feature /dev/<replaceable><xxx></replaceable></userinput></screen> <para>If the output contains features other than: <option>dir_index</option>; <option>filetype</option>; <option>large_file</option>; @@ -51,7 +51,7 @@ mkdir -v build cd build ../configure make #note that we intentionally don't 'make install' here! -./misc/mke2fs -v /dev/<replaceable>[xxx]</replaceable> +./misc/mke2fs -v /dev/<replaceable><xxx></replaceable> cd /tmp rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen> </note> @@ -61,9 +61,9 @@ rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen> If you are using an existing <systemitem class="filesystem">swap</systemitem> partition, there is no need to format it.</para> -<screen role="nodump"><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen> +<screen role="nodump"><userinput>mkswap /dev/<replaceable><yyy></replaceable></userinput></screen> - <para>Replace <replaceable>[yyy]</replaceable> with the name of the + <para>Replace <replaceable><yyy></replaceable> with the name of the <systemitem class="filesystem">swap</systemitem> partition.</para> </sect1> diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index 67f786203..2d081fc79 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -26,9 +26,9 @@ running:</para> <screen role="nodump"><userinput>mkdir -pv $LFS -mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen> +mount -v /dev/<replaceable><xxx></replaceable> $LFS</userinput></screen> - <para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS + <para>Replace <replaceable><xxx></replaceable> with the designation of the LFS partition.</para> <para>If using multiple partitions for LFS (e.g., one for <filename @@ -36,12 +36,12 @@ mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen> class="directory">/usr</filename>), mount them using:</para> <screen role="nodump"><userinput>mkdir -pv $LFS -mount -v /dev/<replaceable>[xxx]</replaceable> $LFS +mount -v /dev/<replaceable><xxx></replaceable> $LFS mkdir -v $LFS/usr -mount -v /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen> +mount -v /dev/<replaceable><yyy></replaceable> $LFS/usr</userinput></screen> - <para>Replace <replaceable>[xxx]</replaceable> and - <replaceable>[yyy]</replaceable> with the appropriate partition + <para>Replace <replaceable><xxx></replaceable> and + <replaceable><yyy></replaceable> with the appropriate partition names.</para> <para>Ensure that this new partition is not mounted with permissions that diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 0d1184ebf..3ee411059 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -127,7 +127,7 @@ cd ../binutils-build</userinput></screen> <seglistitem> <seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip</seg> - <seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg> + <seg>libiberty.a, libbfd.{a,so}, and libopcodes.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml index 4fd91d3d8..5fb3498a5 100644 --- a/chapter06/bzip2.xml +++ b/chapter06/bzip2.xml @@ -119,7 +119,7 @@ ln -sv bzip2 /bin/bzcat</userinput></screen> <seglistitem> <seg>bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff, bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless, and bzmore</seg> - <seg>libbz2.[a,so]</seg> + <seg>libbz2.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/db.xml b/chapter06/db.xml index 7d2f4a498..c15f2ef52 100644 --- a/chapter06/db.xml +++ b/chapter06/db.xml @@ -133,7 +133,7 @@ chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen> <seglistitem> <seg>db_archive, db_checkpoint, db_deadlock, db_dump, db_hotbackup, db_load, db_printlog, db_recover, db_stat, db_upgrade, and db_verify</seg> - <seg>libdb.[so,a] and libdb_cxx.[so,a]</seg> + <seg>libdb.{so,ar}and libdb_cxx.r{o,ar}</seg> </seglistitem> </segmentedlist> @@ -259,7 +259,7 @@ chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen> <varlistentry id="libdb"> - <term><filename class="libraryfile">libdb.[so,a]</filename></term> + <term><filename class="libraryfile">libdb.{so,a}</filename></term> <listitem> <para>Contains functions to manipulate database files from C programs</para> @@ -270,7 +270,7 @@ chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen> </varlistentry> <varlistentry id="libdb_cxx"> - <term><filename class="libraryfile">libdb_cxx.[so,a]</filename></term> + <term><filename class="libraryfile">libdb_cxx.{so,a}</filename></term> <listitem> <para>Contains functions to manipulate database files from C++ programs</para> diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 60c1cc5a6..896ca4ae3 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -125,8 +125,8 @@ cd build</userinput></screen> e2image, e2label, findfs, fsck, fsck.ext2, fsck.ext3, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mklost+found, resize2fs, tune2fs, and uuidgen.</seg> - <seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so], - libext2fs.[a,so], libss.[a,so], and libuuid.[a,so]</seg> + <seg>libblkid.{a,so}, libcom_err.{a,so}, libe2p.{a,so}, + libext2fs.{a,so}, libss.{a,so}, and libuuid.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/file.xml b/chapter06/file.xml index 2fb0f3f3b..ea3721a36 100644 --- a/chapter06/file.xml +++ b/chapter06/file.xml @@ -70,7 +70,7 @@ <seglistitem> <seg>file</seg> - <seg>libmagic.[a,so]</seg> + <seg>libmagic.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index fac78f1c1..74fec55b2 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -141,7 +141,7 @@ cd ../gcc-build</userinput></screen> <seglistitem> <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg> - <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libstdc++.[a,so], and + <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libstdc++.{a,so}, and libsupc++.a</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/gettext.xml b/chapter06/gettext.xml index 0c88354c4..3067910ed 100644 --- a/chapter06/gettext.xml +++ b/chapter06/gettext.xml @@ -76,7 +76,7 @@ gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, ngettext, and xgettext</seg> - <seg>libasprintf.[a,so], libgettextlib.so, libgettextpo.[a,so], and + <seg>libasprintf.{a,so}, libgettextlib.so, libgettextpo.{a,so}, and libgettextsrc.so</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index dfab1c2a5..f09ce9daa 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -271,10 +271,10 @@ EOF</userinput></screen> <emphasis>Canada/Eastern</emphasis>). Then create the <filename>/etc/localtime</filename> file by running:</para> -<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \ +<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>$lt;xxx></replaceable> \ /etc/localtime</userinput></screen> - <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone + <para>Replace <replaceable><xxx></replaceable> with the name of the time zone that <command>tzselect</command> provided (e.g., Canada/Eastern).</para> <variablelist> @@ -342,13 +342,13 @@ EOF</userinput></screen> ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace, zdump, and zic</seg> - <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so], - libbsd-compat.a, libc.[a,so], libcidn.so, libcrypt.[a,so], libdl.[a,so], - libg.a, libieee.a, libm.[a,so], libmcheck.a, libmemusage.so, libnsl.a, + <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so}, + libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so}, + libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so, - libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.[a,so], - libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and - libutil.[a,so]</seg> + libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so}, + libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and + libutil.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/groff.xml b/chapter06/groff.xml index 21166ba88..6e1d0d0cc 100644 --- a/chapter06/groff.xml +++ b/chapter06/groff.xml @@ -72,7 +72,7 @@ <para>Prepare Groff for compilation:</para> -<screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr --enable-multibyte</userinput></screen> +<screen><userinput>PAGE=<replaceable><paper_size></replaceable> ./configure --prefix=/usr --enable-multibyte</userinput></screen> <para>Compile the package:</para> diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index fdf93aa08..21bf91f71 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -144,7 +144,7 @@ <listitem> <para>The main executable. It has several different functions:</para> - <para><command>ip link <replaceable>[device]</replaceable></command> + <para><command>ip link <replaceable><device></replaceable></command> allows users to look at the state of devices and to make changes</para> <para><command>ip addr</command> allows users to look at addresses and diff --git a/chapter06/libtool.xml b/chapter06/libtool.xml index 6d554cf48..27e95d3bb 100644 --- a/chapter06/libtool.xml +++ b/chapter06/libtool.xml @@ -72,7 +72,7 @@ <seglistitem> <seg>libtool and libtoolize</seg> - <seg>libltdl.[a,so]</seg> + <seg>libltdl.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index 17b05259b..44f3c79ed 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -296,8 +296,8 @@ install -m755 convert-mans /usr/bin</userinput></screen> <para>If upstream distributes the manual pages in the same encoding as Man-DB expects, the manual pages can be copied to - <filename class="directory">/usr/share/man/<replaceable>[language - code]</replaceable></filename>. E.g., French manual pages + <filename class="directory">/usr/share/man/<replaceable><language + code></replaceable></filename>. E.g., French manual pages (<ulink url="http://ccb.club.fr/man/man-fr-1.58.0.tar.bz2"/>) can be installed with the following command:</para> diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index a8ec143c3..25f1524be 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -165,9 +165,9 @@ cp -av lib/lib*.so.5* /usr/lib</userinput></screen> <seglistitem> <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput, and tset</seg> - <seg>libcursesw.[a,so] (symlink and linker script to libncursesw.[a,so]), - libformw.[a,so], libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so], - libpanelw.[a,so] and their non-wide-character counterparts without "w" + <seg>libcursesw.{a,so} (symlink and linker script to libncursesw.{a,so}), + libformw.{a,so}, libmenuw.{a,so}, libncurses++w.a, libncursesw.{a,so}, + libpanelw.{a,so} and their non-wide-character counterparts without "w" in the library names.</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/readline.xml b/chapter06/readline.xml index 7a434e58d..6a18282d2 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -102,7 +102,7 @@ ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen> <segtitle>Installed libraries</segtitle> <seglistitem> - <seg>libhistory.[a,so], and libreadline.[a,so]</seg> + <seg>libhistory.{a,so}, and libreadline.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 1ce93107d..6ef44b66f 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -221,7 +221,7 @@ ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> logoutd, newgrp, newusers, passwd, pwck, pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod, vigr (link to vipw), and vipw</seg> - <seg>libshadow.[a,so]</seg> + <seg>libshadow.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index 14dbbdbbe..1ea5f3fea 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -101,7 +101,7 @@ make</userinput></screen> <segtitle>Installed libraries</segtitle> <seglistitem> - <seg>libz.[a,so]</seg> + <seg>libz.{a,so}</seg> </seglistitem> </segmentedlist> diff --git a/chapter07/hostname.xml b/chapter07/hostname.xml index 7515d6a03..26f1e20b3 100644 --- a/chapter07/hostname.xml +++ b/chapter07/hostname.xml @@ -22,9 +22,9 @@ <para>Create the <filename>/etc/sysconfig/network</filename> file and enter a hostname by running:</para> -<screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" > /etc/sysconfig/network</userinput></screen> +<screen><userinput>echo "HOSTNAME=<replaceable><lfs></replaceable>" > /etc/sysconfig/network</userinput></screen> - <para><replaceable>[lfs]</replaceable> needs to be replaced with the name given + <para><replaceable><lfs></replaceable> needs to be replaced with the name given to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That information will be put in the <filename>/etc/hosts</filename> file in the next section.</para> diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 0b196cefd..e51aa37be 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -26,7 +26,7 @@ fully-qualified domain name (FQDN), and possible aliases for use in the <filename>/etc/hosts</filename> file. The syntax is:</para> -<screen><literal><IP address> myhost.example.org aliases</literal></screen> +<screen><literal>IP_address myhost.example.org aliases</literal></screen> <para>Unless the computer is to be visible to the Internet (i.e., there is a registered domain and a valid block of assigned IP @@ -54,16 +54,17 @@ <literal># Begin /etc/hosts (network card version) 127.0.0.1 localhost -<replaceable>[192.168.1.1]</replaceable> <replaceable>[<HOSTNAME>.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> +<replaceable><192.168.1.1></replaceable> <replaceable><HOSTNAME.example.org></replaceable> <replaceable>[alias1] [alias2 ...]</replaceable> # End /etc/hosts (network card version)</literal> EOF</userinput></screen> - <para>The <replaceable>[192.168.1.1]</replaceable> and - <replaceable>[<HOSTNAME>.example.org]</replaceable> + <para>The <replaceable><192.168.1.1></replaceable> and + <replaceable><HOSTNAME.example.org></replaceable> values need to be changed for specific users or requirements (if assigned an IP address by a network/system administrator and the - machine will be connected to an existing network).</para> + machine will be connected to an existing network). The optional alias + name(s) can be omitted.</para> <para>If a network card is not going to be configured, create the <filename>/etc/hosts</filename> file by running:</para> @@ -71,7 +72,7 @@ EOF</userinput></screen> <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" <literal># Begin /etc/hosts (no network card version) -127.0.0.1 <replaceable>[<HOSTNAME>.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> localhost +127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost # End /etc/hosts (no network card version)</literal> EOF</userinput></screen> diff --git a/chapter07/network.xml b/chapter07/network.xml index ac6082271..8ae1399ca 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -139,14 +139,14 @@ EOF</userinput></screen> <screen><userinput>cat > /etc/resolv.conf << "EOF" <literal># Begin /etc/resolv.conf -domain {<replaceable>[Your Domain Name]</replaceable>} -nameserver <replaceable>[IP address of your primary nameserver]</replaceable> -nameserver <replaceable>[IP address of your secondary nameserver]</replaceable> +domain {<replaceable><Your Domain Name></replaceable>} +nameserver <replaceable><IP address of your primary nameserver></replaceable> +nameserver <replaceable><IP address of your secondary nameserver></replaceable> # End /etc/resolv.conf</literal> EOF</userinput></screen> - <para>Replace <replaceable>[IP address of the nameserver]</replaceable> + <para>Replace <replaceable><IP address of the nameserver></replaceable> with the IP address of the DNS most appropriate for the setup. There will often be more than one entry (requirements demand secondary servers for fallback capability). If you only need or want one DNS server, remove the diff --git a/chapter07/profile.xml b/chapter07/profile.xml index e2748d9df..9255ef81c 100644 --- a/chapter07/profile.xml +++ b/chapter07/profile.xml @@ -65,10 +65,10 @@ makes Bash and Readline use the <filename>/etc/inputrc</filename> file created earlier.</para> - <para>Replace <replaceable>[ll]</replaceable> below with the two-letter code + <para>Replace <replaceable><ll></replaceable> below with the two-letter code for the desired language (e.g., <quote>en</quote>) and - <replaceable>[CC]</replaceable> with the two-letter code for the appropriate - country (e.g., <quote>GB</quote>). <replaceable>[charmap]</replaceable> should + <replaceable><CC></replaceable> with the two-letter code for the appropriate + country (e.g., <quote>GB</quote>). <replaceable><charmap></replaceable> should be replaced with the canonical charmap for your chosen locale. Optional modifiers such as <quote>@euro</quote> may also be present.</para> @@ -83,11 +83,11 @@ that <quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not <quote>utf8</quote>), so it is safest in most cases to choose the canonical name for a particular locale. To determine - the canonical name, run the following command, where <replaceable>[locale - name]</replaceable> is the output given by <command>locale -a</command> for + the canonical name, run the following command, where <replaceable><locale + name></replaceable> is the output given by <command>locale -a</command> for your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para> -<screen role="nodump"><userinput>LC_ALL=<replaceable>[locale name]</replaceable> locale charmap</userinput></screen> +<screen role="nodump"><userinput>LC_ALL=<replaceable><locale name></replaceable> locale charmap</userinput></screen> <para>For the <quote>en_GB.iso88591</quote> locale, the above command will print:</para> @@ -98,11 +98,11 @@ It is important that the locale found using the heuristic above is tested prior to it being added to the Bash startup files:</para> -<screen role="nodump"><userinput>LC_ALL=[locale name] locale country -LC_ALL=[locale name] locale language -LC_ALL=[locale name] locale charmap -LC_ALL=[locale name] locale int_curr_symbol -LC_ALL=[locale name] locale int_prefix</userinput></screen> +<screen role="nodump"><userinput>LC_ALL=<locale name> locale country +LC_ALL=<locale name> locale language +LC_ALL=<locale name> locale charmap +LC_ALL=<locale name> locale int_curr_symbol +LC_ALL=<locale name> locale int_prefix</userinput></screen> <para>The above commands should print the country and language names, the character encoding used by the locale, the local currency and the prefix to dial @@ -143,7 +143,7 @@ LC_ALL=[locale name] locale int_prefix</userinput></screen> <screen><userinput>cat > /etc/profile << "EOF" <literal># Begin /etc/profile -export LANG=<replaceable>[ll]</replaceable>_<replaceable>[CC]</replaceable>.<replaceable>[charmap]</replaceable><replaceable>[@modifiers]</replaceable> +export LANG=<replaceable><ll></replaceable>_<replaceable><CC></replaceable>.<replaceable><charmap></replaceable><replaceable><@modifiers></replaceable> export INPUTRC=/etc/inputrc # End /etc/profile</literal> diff --git a/chapter07/usage.xml b/chapter07/usage.xml index 991cf55dc..6e2bab32f 100644 --- a/chapter07/usage.xml +++ b/chapter07/usage.xml @@ -38,8 +38,8 @@ 6: reboot the computer</literallayout> <para>The command used to change run-levels is <command>init - <replaceable>[runlevel]</replaceable></command>, where - <replaceable>[runlevel]</replaceable> is the target run-level. For example, to + <replaceable><runlevel></replaceable></command>, where + <replaceable><runlevel></replaceable> is the target run-level. For example, to reboot the computer, a user could issue the <command>init 6</command> command, which is an alias for the <command>reboot</command> command. Likewise, <command>init 0</command> is an alias for the <command>halt</command> diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index fb7961346..fa834d374 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -25,8 +25,8 @@ # file system mount-point type options dump fsck # order -/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1 -/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0 +/dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 +/dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devpts /dev/pts devpts gid=4,mode=620 0 0 @@ -34,8 +34,8 @@ shm /dev/shm tmpfs defaults 0 0 # End /etc/fstab</literal> EOF</userinput></screen> - <para>Replace <replaceable>[xxx]</replaceable>, - <replaceable>[yyy]</replaceable>, and <replaceable>[fff]</replaceable> + <para>Replace <replaceable><xxx></replaceable>, + <replaceable><yyy></replaceable>, and <replaceable><fff></replaceable> with the values appropriate for the system, for example, <filename class="partition">hda2</filename>, <filename class="partition">hda5</filename>, and <systemitem diff --git a/general.ent b/general.ent index 3123456b7..62157e789 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "SVN-20060413"> -<!ENTITY releasedate "April 13, 2006"> +<!ENTITY version "SVN-20060414"> +<!ENTITY releasedate "April 14, 2006"> <!ENTITY milestone "6.2"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> diff --git a/prologue/typography.xml b/prologue/typography.xml index ddafff780..ab884840d 100644 --- a/prologue/typography.xml +++ b/prologue/typography.xml @@ -49,10 +49,14 @@ EOF</userinput></screen> is encountered. Therefore, this entire section is generally typed as seen.</para> - <para><replaceable>[REPLACED TEXT]</replaceable></para> + <para><replaceable><REPLACED TEXT></replaceable></para> <para>This format is used to encapsulate text that is not to be typed - as seen or copied-and-pasted.</para> + as seen or for copy-and-paste operations.</para> + + <para><replaceable>[OPTIONAL TEXT]</replaceable></para> + + <para>This format is used to encapsulate text that is optional.</para> <para><filename>passwd(5)</filename></para> @@ -70,8 +74,8 @@ EOF</userinput></screen> <filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will need to run <command>man 5 passwd</command> in order to read the specific page being referred to. It should be noted that most man pages do not have duplicate - page names in different sections. Therefore, <command>man <replaceable>[program - name]</replaceable></command> is generally sufficient.</para> + page names in different sections. Therefore, <command>man <replaceable><program + name></replaceable></command> is generally sufficient.</para> </sect1> |