diff options
author | 2009-04-16 20:37:27 +0100 | |
---|---|---|
committer | 2009-04-23 23:57:16 +0100 | |
commit | e5cadcc5d9d08fec469ec4ecd112cc1c9c13ae04 (patch) | |
tree | 1af681ee902f6ef3d58effcfc9a56bfb70d6b932 /Makefile | |
parent | Work around TeX4ht being weird (diff) | |
download | pms-e5cadcc5d9d08fec469ec4ecd112cc1c9c13ae04.tar.gz pms-e5cadcc5d9d08fec469ec4ecd112cc1c9c13ae04.tar.bz2 pms-e5cadcc5d9d08fec469ec4ecd112cc1c9c13ae04.zip |
Update TeX4ht sed hacks
Account for slightly different whitespace in the output of newer
versions, the possibility of tables in appendices, and the silly
locale-dependent behaviour of sed.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,12 +21,12 @@ pms.html: $(SOURCEFILES) pms.bbl xhlatex pms @# work around irregularity in how links to longtables are @# formatted in the List of Tables - sed -i -e '/<span class="lotToc" > /{N;N;s/\( <a \nhref="[^"]\+">\)\([0-9.]\+\)\n/\2\1/}' pms.html + LC_ALL=C sed -i -e '/<span class="lotToc" > /{N;N;s/\( <a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]/\2\1/}' pms.html @# indent algorithms properly, and avoid adding extra vertical @# space in Konqueror - sed -i -e 's/span style="width:/span style="display:-moz-inline-box;display:inline-block;height:1px;width:/' pms.html + LC_ALL=C sed -i -e 's/span style="width:/span style="display:-moz-inline-box;display:inline-block;height:1px;width:/' pms.html @# align algorithm line numbers properly - sed -i -e '/<span class="ALCitem">/{N;s/\n\(class="[^"]\+">\)\([0-9]:\)<\/span>/\1\ \2/}' pms.html + LC_ALL=C sed -i -e '/<span class="ALCitem">/{N;s/\n\(class="[^"]\+">\)\([0-9]:\)<\/span>/\1\ \2/}' pms.html pms.bbl: pms.bib pms.tex vc.tex eapi-cheatsheet.pdf latex pms |