diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /app-doc/pms/files/pms-5-Makefile.patch | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'app-doc/pms/files/pms-5-Makefile.patch')
-rw-r--r-- | app-doc/pms/files/pms-5-Makefile.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-doc/pms/files/pms-5-Makefile.patch b/app-doc/pms/files/pms-5-Makefile.patch new file mode 100644 index 000000000000..5f50404881c7 --- /dev/null +++ b/app-doc/pms/files/pms-5-Makefile.patch @@ -0,0 +1,24 @@ +--- a/Makefile ++++ b/Makefile +@@ -19,19 +19,11 @@ + @# need to do it twice to make the big env var table work + mk4ht xhlatex pms + mk4ht xhlatex pms ++ @# ... and a third time for the eapi features table ++ 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 + + pms.bbl: pms.bib pms.tex vc.tex eapi-cheatsheet.pdf + latex pms |