Bug#972167: texlive-lang: changed the pdftexconfig.tex file to /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex, breaking paper size config
Source: texlive-lang
Version: 2020.20200925-2
Severity: important
I've noticed that the upgrade to the texlive-lang packages changed
the pdftexconfig.tex file from
/var/lib/texmf/tex/generic/config/pdftexconfig.tex
to
/var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex
(as seen in "tl-paper status" output).
This apparently breaks paper size configuration: after setting the
papersize to letter with "dpkg-reconfigure libpaper1", I now get:
cventin:~> tl-paper status
Current context paper size (from /var/lib/texmf/tex/context/user/cont-sys-paper.tex): letter
Current dvipdfmx paper size (from /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg): letter
Current dvips paper size (from /var/lib/texmf/dvips/config/config-paper.ps): letter
Current pdftex paper size (from /var/lib/texmf/tex/generic/config/pdftexconfig.tex): a4
Current xdvi paper size (from /var/lib/texmf/xdvi/XDvi-paper): letter
i.e. the pdftex paper size has not been affected. And now,
cventin:~> diff -u /var/lib/texmf/tex/generic/*/pdftexconfig.tex
--- /var/lib/texmf/tex/generic/config/pdftexconfig.tex 2020-09-21 13:11:04.265767145 +0200
+++ /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex 2020-10-13 15:57:44.109817024 +0200
@@ -6,8 +6,8 @@
\pdfoutput = 1
% Paper size: dimensions given in absolute terms
-\pdfpageheight = 297 true mm
-\pdfpagewidth = 210 true mm
+\pdfpageheight = 11 true in
+\pdfpagewidth = 8.5 true in
% Enable PDF 1.5 output and thus more compression
\pdfminorversion = 5
Note: before the "dpkg-reconfigure libpaper1", I got
cventin:~> kpsewhich --progname=pdftex --format=tex pdftexconfig.tex
/var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex
and now I get
cventin:~> kpsewhich --progname=pdftex --format=tex pdftexconfig.tex
/var/lib/texmf/tex/generic/config/pdftexconfig.tex
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.8.0-3-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: