summaryrefslogtreecommitdiff
path: root/app-doc/pms/files/pms-7-Makefile.patch
blob: d96abd421f0b993414b4dec2789f0e82c3e93f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/Makefile
+++ b/Makefile
@@ -52,9 +52,6 @@
 	recode -d l1..h3 $@
 	@# declare encoding as utf-8, although it is pure ascii
 	LC_ALL=C sed -i -e '/<?xml\|<meta/s/iso-8859-1/utf-8/' $@
-	@# work around irregularity in how links to longtables are
-	@# formatted in the List of Tables
-	LC_ALL=C sed -i -e '/<span class="lotToc" >&#x00A0;/{N;N;s/\(&#x00A0;<a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]\+/\2\1/}' $@
 	@# remove redundant span elements
 	LC_ALL=C sed -i -e ':x;/<span\(\s\+[^>]*\)\?$$/{N;bx;};:y;s/\(<span\s\+[^>]*>\)\([^<]*\)<\/span>\1/\1\2/;ty' $@