Fix pdf presentation issues and some misc issues

Change pdf generation to use 9 point fonts for monospace
sections of the book.  Otherwise texy overflows, especially
in Chapter 8, Stripping.

Fix a minor spacing issue in the stripping issue.

MAke a minor grammar fix in creatingfiles.xml.
This commit is contained in:
Bruce Dubbs 2022-03-14 13:08:40 -05:00
parent 582da16ec4
commit 51a5442f16
3 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@
<para>Historically, Linux maintains a list of the mounted file systems in the <para>Historically, Linux maintains a list of the mounted file systems in the
file <filename>/etc/mtab</filename>. Modern kernels maintain this list file <filename>/etc/mtab</filename>. Modern kernels maintain this list
internally and exposes it to the user via the <filename internally and expose it to the user via the <filename
class="directory">/proc</filename> filesystem. To satisfy utilities that class="directory">/proc</filename> filesystem. To satisfy utilities that
expect the presence of <filename>/etc/mtab</filename>, create the following expect the presence of <filename>/etc/mtab</filename>, create the following
symbolic link:</para> symbolic link:</para>

View File

@ -47,7 +47,7 @@
<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC --> <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC -->
<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*) <screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*)
libc.so.6 libc.so.6
libthread_db.so.1 libthread_db.so.1
libquadmath.so.&libquadmath-version; libquadmath.so.&libquadmath-version;

View File

@ -13,6 +13,7 @@ LINE=$(( LINE - 1 ))
# Not needed # Not needed
#sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE #sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE
sed -i -e "s/monospace/&\" font-size=\"9pt/g" $FILE
# Break a block of code at the right place # Break a block of code at the right place
sed -i -e 's@gcc --version@<fo:block page-break-before="always"></fo:block>&@' $FILE sed -i -e 's@gcc --version@<fo:block page-break-before="always"></fo:block>&@' $FILE