Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:master commit in: /
Date: Wed, 08 Feb 2017 20:15:08
Message-Id: 1486584029.e56c6887eb850cfe6abbd7a358990aff89f8112e.ulm@gentoo
1 commit: e56c6887eb850cfe6abbd7a358990aff89f8112e
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 8 20:00:29 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 8 20:00:29 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=e56c6887
7
8 Makefile: Remove some workarounds for tex4ht bugs.
9
10 Indentation and alignment of line numbers in the algorithmic environment
11 have been fixed in dev-tex/tex4ht-20090611_p1038-r5, so the sed hacks
12 working around these bugs are no longer necessary.
13
14 https://bugs.gentoo.org/580532
15 https://puszcza.gnu.org.ua/bugs/index.php?314
16
17 Makefile | 5 -----
18 1 file changed, 5 deletions(-)
19
20 diff --git a/Makefile b/Makefile
21 index df536ff..5847f81 100644
22 --- a/Makefile
23 +++ b/Makefile
24 @@ -32,11 +32,6 @@ pms.html: $(LATEXFILES) pms.bbl vc.tex
25 @# work around irregularity in how links to longtables are
26 @# formatted in the List of Tables
27 LC_ALL=C sed -i -e '/<span class="lotToc" >&#x00A0;/{N;N;s/\(&#x00A0;<a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]/\2\1/}' pms.html
28 - @# indent algorithms properly, and avoid adding extra vertical
29 - @# space in Konqueror
30 - LC_ALL=C sed -i -e 's/span style="width:/span style="display:-moz-inline-box;display:inline-block;height:1px;width:/' pms.html
31 - @# align algorithm line numbers properly
32 - LC_ALL=C sed -i -e '/<span class="ALCitem">/{N;s/\n\(class="[^"]\+">\)\([0-9]:<\/span>\)/\1\&#x2007;\2/}' pms.html
33 @# fix broken span on title page
34 LC_ALL=C sed -i -e '/<\/span><span $$/{N;s/<\/span><span [^>]*>\(&[a-z]uml;\)/\1/}' pms.html