commit:     e56c6887eb850cfe6abbd7a358990aff89f8112e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  8 20:00:29 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 20:00:29 2017 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=e56c6887

Makefile: Remove some workarounds for tex4ht bugs.

Indentation and alignment of line numbers in the algorithmic environment
have been fixed in dev-tex/tex4ht-20090611_p1038-r5, so the sed hacks
working around these bugs are no longer necessary.

https://bugs.gentoo.org/580532
https://puszcza.gnu.org.ua/bugs/index.php?314

 Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Makefile b/Makefile
index df536ff..5847f81 100644
--- a/Makefile
+++ b/Makefile
@@ -32,11 +32,6 @@ pms.html: $(LATEXFILES) pms.bbl vc.tex
        @# 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/}' 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\&#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
 

Reply via email to