summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-01-19 15:00:37 +0100
committerUlrich Müller <ulm@gentoo.org>2014-01-19 15:00:37 +0100
commitaeae4ba8eee4753551a6d2d70bd56b6ac6b3afe6 (patch)
treea4aa6ebde06310938b5193aa61ff6f969c7b4b06 /Makefile
parentInline footnotes in HTML output, and number them consecutively. (diff)
downloadpms-aeae4ba8eee4753551a6d2d70bd56b6ac6b3afe6.tar.gz
pms-aeae4ba8eee4753551a6d2d70bd56b6ac6b3afe6.tar.bz2
pms-aeae4ba8eee4753551a6d2d70bd56b6ac6b3afe6.zip
Small fixup of tex4ht output.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 45a4ab1..e7ccdc6 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,8 @@ pms.html: $(SOURCEFILES) pms.bbl
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
LC_ALL=C sed -i -e '/<span class="ALCitem">/{N;s/\n\(class="[^"]\+">\)\([0-9]:<\/span>\)/\1\&#x2007;\2/}' pms.html
+ @# fix broken span on title page
+ LC_ALL=C sed -i -e '/<\/span><span $$/{N;s/<\/span><span [^>]*>\(&[a-z]uml;\)/\1/}' pms.html
pms.bbl: pms.bib pms.tex vc.tex eapi-cheatsheet.pdf
latex pms