diff options
author | Ulrich Mueller <ulm@gentoo.org> | 2011-01-20 11:26:23 +0100 |
---|---|---|
committer | Ulrich Mueller <ulm@gentoo.org> | 2011-01-27 06:57:42 +0100 |
commit | cf086b2e2399688c7e3b6fb7de4f771f57436564 (patch) | |
tree | 2d4312dc4b670726dab8c204fc1c3af9f709555e /Makefile | |
parent | Whitespace. (diff) | |
download | pms-cf086b2e2399688c7e3b6fb7de4f771f57436564.tar.gz pms-cf086b2e2399688c7e3b6fb7de4f771f57436564.tar.bz2 pms-cf086b2e2399688c7e3b6fb7de4f771f57436564.zip |
Fixes for TeX4ht.
Postpone definition of \b command.
Don't load pdfpages.sty when processing with TeX4ht.
Avoid parboxes in tables.
Recode the few non-ascii characters in pms.html.
Fix xhtml syntax in longtable captions.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -19,14 +19,19 @@ pms.html: $(SOURCEFILES) pms.bbl @# need to do it twice to make the big env var table work mk4ht xhlatex pms mk4ht xhlatex pms + @# some www servers ignore meta tags, resulting in a wrong charset. + @# therefore recode the very few non-ascii characters + recode -d l1..h3 pms.html @# work around irregularity in how links to longtables are @# formatted in the List of Tables LC_ALL=C sed -i -e '/<span class="lotToc" > /{N;N;s/\( <a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]/\2\1/}' pms.html + @# fix xhtml syntax in longtable captions + LC_ALL=C sed -i -e 's%</td>\( *<div class="multicolumn"\)%\1%;tx;b;:x;s%</tr>%</td>&%;t;n;bx' pms.html @# indent algorithms properly, and avoid adding extra vertical @# space in Konqueror 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\ \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 |