diff --git a/general.ent b/general.ent
index 135a38d888..ab096dfb1d 100644
--- a/general.ent
+++ b/general.ent
@@ -1,12 +1,12 @@
-
+
-
+
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index c9defa6c93..857d9dd522 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -41,6 +41,16 @@
-->
+
+ August 13th, 2020
+
+
+ [xry111] - Revert r23505, and fix the instruction to build
+ texlive with poppler-20.08.
+
+
+
+
August 12th, 2020
diff --git a/pst/typesetting/texlive.xml b/pst/typesetting/texlive.xml
index fa73f0a5c7..98ac64e118 100644
--- a/pst/typesetting/texlive.xml
+++ b/pst/typesetting/texlive.xml
@@ -222,7 +222,7 @@
-
+
- If you wish to upgrade to current texlive
+ Similarly, if you wish to upgrade to current texlive
on an older system where extra packages (asymptote.
biber, dvisvgm or
xindy) have been installed, you will need to
@@ -257,6 +257,35 @@
# End texlive &texlive-year; addition
EOF
+
+ TexLive ships with a very old version of
+ poppler, and some updated files for newer versions.
+ To use the system version, first identify it and then copy the correct
+ versions of the updated files (please read the Caution above):
+
+
+
+SYSPOP= &&
+let MYPOPPLER_MAJOR=$(pkg-config --modversion poppler | cut -d '.' -f1)
+let MYPOPPLER_MINOR=$(pkg-config --modversion poppler | cut -d '.' -f2)
+if [ "$MYPOPPLER_MAJOR" -eq 0 ] && [ "$MYPOPPLER_MINOR" -lt 85 ]; then
+ # BLFS-9.1 uses 0.85.0, ignore earlier versions in this script.
+ SYSPOP=
+else
+ SYSPOP="--with-system-poppler --with-system-xpdf"
+ if [ "$MYPOPPLER_MAJOR" -eq 0 ] && [ "$MYPOPPLER_MINOR" -lt 86 ]; then
+ mv -v texk/web2c/pdftexdir/pdftoepdf{-poppler0.83.0,}.cc
+ else # 0.86.0 or later, including 20.08.0.
+ mv -v texk/web2c/pdftexdir/pdftoepdf{-poppler0.86.0,}.cc
+ fi
+ # For pdftosrc BLFS-9.1 uses 0.83.0 and that is the latest variant.
+ mv -v texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc
+fi &&
+export SYSPOP &&
+unset MYPOPPLER_{MAJOR,MINOR}
+
A successful install requires some texlive
@@ -270,12 +299,6 @@ EOF
-
-
-
export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
mkdir texlive-build &&
@@ -304,10 +327,12 @@ cd texlive-build &&
--with-system-libpng \
--with-system-mpfr \
--with-system-pixman \
+ ${SYSPOP} \
--with-system-zlib \
--with-banner-add=" - BLFS" &&
-make
+make &&
+unset SYSPOP
To test the results, issue: make -k check.
diff --git a/xincludes/texrecommendlibs.xml b/xincludes/texrecommendlibs.xml
index 2a6addc317..98229605a7 100644
--- a/xincludes/texrecommendlibs.xml
+++ b/xincludes/texrecommendlibs.xml
@@ -17,8 +17,7 @@
(built with graphite2 enabled),
,
(used by at least context and xelatex),
- and
-
+ and , also
+ (only used if suitable file versions
+ are available in texk/web2c/pdftexdir)