xry111/arm64
Last change
on this file since d8c2d84 was 51a5442f, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago |
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.
|
-
Property mode
set to
100755
|
File size:
450 bytes
|
Rev | Line | |
---|
[3684f6c] | 1 | #!/bin/bash
|
---|
[6708e6a] | 2 |
|
---|
[3781c69] | 3 | if [ $# -lt 1 ] ; then
|
---|
[6708e6a] | 4 | echo "This script needs the location of the fo file to update"
|
---|
| 5 | exit 1
|
---|
| 6 | fi
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | FILE=$1
|
---|
| 10 |
|
---|
| 11 | LINE=$( grep -n "DO NOT EDIT" $FILE | cut -f1 -d: )
|
---|
| 12 | LINE=$(( LINE - 1 ))
|
---|
| 13 |
|
---|
[e436213] | 14 | # Not needed
|
---|
| 15 | #sed -i -e "$LINE s/monospace/&\" font-size=\"9pt/" $FILE
|
---|
[51a5442f] | 16 | sed -i -e "s/monospace/&\" font-size=\"9pt/g" $FILE
|
---|
[6708e6a] | 17 |
|
---|
[040ecb6] | 18 | # Break a block of code at the right place
|
---|
| 19 | sed -i -e 's@gcc --version@<fo:block page-break-before="always"></fo:block>&@' $FILE
|
---|
Note:
See
TracBrowser
for help on using the repository browser.