commit: ee879159b86b19cb72ccd708eb7a42de664f72c9 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Jun 15 17:03:21 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Jun 15 17:03:21 2020 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=ee879159
Makefile: Remove workaround for list of tables. This broke HTML output with TeX Live 2020. Without the workaround, formatting within the list of tables is consistent, but the list of tables is now inconsistent with the table of contents. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index 612af4c..89fd7a2 100644 --- a/Makefile +++ b/Makefile @@ -51,10 +51,6 @@ pms.html: $(LATEXFILES) pms.bbl $(COMMITINFO) @# replace ligatures by their component letters LC_ALL=C sed -i "$$(printf 's/\\xef\\xac\\x8%s/%s/g;' \ 0 ff 1 fi 2 fl 3 ffi 4 ffl)" $@ - @# work around irregularity in how links to longtables are - @# formatted in the List of Tables - LC_ALL=C sed -Ei '/<span class="lotToc" *>\B/{N;N;'\ - 's/([^>]*<a\s+href="[^"]+">)([0-9A-Z.]+)\s+/\2\1/;}' $@ @# remove redundant span elements LC_ALL=C sed -Ei ':x;/<span(\s+[^>]*)?$$/{N;bx;};'\ ':y;s,(<span\s+[^>]*>)([^<]*)</span>\1,\1\2,;ty' $@