diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-03-14 13:08:40 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-03-14 13:08:40 -0500 |
commit | 51a5442f1614bcd49f1e3e9d00d153f91658a66d (patch) | |
tree | 571bf40150c8460896e0228f408b22c1a50f330d | |
parent | 582da16ec4c90fb4e670eeae4d4868d7da610e24 (diff) |
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.
-rw-r--r-- | chapter07/createfiles.xml | 2 | ||||
-rw-r--r-- | chapter08/stripping.xml | 2 | ||||
-rwxr-xr-x | pdf-fixups.sh | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml index d5f9febde..7b038ef3d 100644 --- a/chapter07/createfiles.xml +++ b/chapter07/createfiles.xml @@ -36,7 +36,7 @@ <para>Historically, Linux maintains a list of the mounted file systems in the 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 expect the presence of <filename>/etc/mtab</filename>, create the following symbolic link:</para> diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index 772b91c5f..22b34562a 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -47,7 +47,7 @@ <!-- 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_usrlib="$(cd /usr/lib; ls ld-linux*) +<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*) libc.so.6 libthread_db.so.1 libquadmath.so.&libquadmath-version; diff --git a/pdf-fixups.sh b/pdf-fixups.sh index 44fe56370..d39d3f10f 100755 --- a/pdf-fixups.sh +++ b/pdf-fixups.sh @@ -13,6 +13,7 @@ LINE=$(( LINE - 1 )) # Not needed #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 sed -i -e 's@gcc --version@<fo:block page-break-before="always"></fo:block>&@' $FILE |