[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#972167: texlive-lang: changed the pdftexconfig.tex file to /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex, breaking paper size config



On 2020-10-13 23:38:31 +0900, Norbert Preining wrote:
> Hi
> 
> thanks for the report, indeed, indeed. That is btw a problem also
> upstream. The problem is that the previous file under
> 	TEXMFVAR/tex/generic/config/pdftexconfig.tex
> is still present but changes are done in
> 	TEXMFVAR/tex/generic/tex-ini-files/pdftexconfig.tex
> 
> Searching for all of these files with
> 	kpsewhich -all pdftexconfig.tex
> gives three hits.

Note that after setting the paper size back to a4 with
"dpkg-reconfigure libpaper1", i.e.

# dpkg-reconfigure libpaper1
Replacing config file /etc/papersize with new version
a4
tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex
Running mktexlsr. This may take some time... done.
Building format(s) --refresh.
        This may take some time... done.
a4
tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps
Running mktexlsr. This may take some time... done.
a4
tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg
Running mktexlsr. This may take some time... done.
a4
tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper
Running mktexlsr. This may take some time... done.

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): a4
Current dvips paper size (from /var/lib/texmf/dvips/config/config-paper.ps): a4
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): a4

This time, it is the context paper size that has not changed back
to a4. The config file has change from

  /etc/texmf/tex/context/user/cont-sys.rme

to

  /var/lib/texmf/tex/context/user/cont-sys-paper.tex

I don't know whether this is the same bug, but while a4 was changed
to letter for context, I can't see any change for context in the
"dpkg-reconfigure libpaper1" above. At least the above two files
have not changed:

-rw-r--r-- 1 root root 4655 2015-06-25 07:43:39 /etc/texmf/tex/context/user/cont-sys.rme
-rw-r--r-- 1 root root 4687 2020-10-13 15:57:43 /var/lib/texmf/tex/context/user/cont-sys-paper.tex

(2020-10-13 15:57:43 was the change to letter).

-- 
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: