replace unsupported chars
This commit is contained in:
parent
85884dad78
commit
063bdda19c
1 changed files with 14 additions and 2 deletions
|
@ -44,6 +44,18 @@ if [ "$(grep '^.IMG\s' "$FILE")" ] ; then
|
|||
FILE="$TEMP"
|
||||
fi
|
||||
|
||||
# Enable custom macros | Bibliography | Generate PDF using preprocessors
|
||||
soelim -I "$MAC" "$FILE" | refer -p "$BIB" | groff -mspdf -T pdf -U "$PRE"
|
||||
sed "
|
||||
s/Á/\\\['A\]/g;
|
||||
s/É/\\\['E\]/g;
|
||||
s/Í/\\\['I\]/g;
|
||||
s/Ó/\\\['O\]/g;
|
||||
s/Ú/\\\['U\]/g;
|
||||
s/á/\\\['a\]/g;
|
||||
s/é/\\\['e\]/g;
|
||||
s/í/\\\['i\]/g;
|
||||
s/ó/\\\['o\]/g;
|
||||
s/ú/\\\['u\]/g;
|
||||
" "$FILE" |
|
||||
soelim -I "$MAC" | refer -p "$BIB" | groff -mspdf -T pdf -U "$PRE"
|
||||
|
||||
rm -f "$TEMP"
|
||||
|
|
Loading…
Reference in a new issue