Debian Codegraph @

debian/patches/xdvi-config-paper-factorization

raw
1 ---
2 texmf-dist/xdvi/XDvi | 12 +++++++++++-
3 texmf-dist/xdvi/XDvi-paper | 1 +
4 tlpkg/texlive.tlpdb | 1 +
5 3 files changed, 13 insertions(+), 1 deletion(-)
6
7 --- texlive-base-2026.20260527.orig/texmf-dist/xdvi/XDvi
8 +++ texlive-base-2026.20260527/texmf-dist/xdvi/XDvi
9 @@ -21,7 +21,17 @@
10 !!! and greater flexibility for shrink values. Generating MF fonts shouldn't be an
11 !!! issue when using T1lib.
12 !*mfMode: ljfour
13 -*paper: a4
14 +
15 +!!! include the various places where system-admins can configure the papersize
16 +!!! for xdvi:
17 +!!! the default as shipped in TeX Live is in the same directory as XDvi
18 +#include "XDvi-paper"
19 +!!! the file used by tl-paper for setting up the paper size
20 +#include "/var/lib/texmf/xdvi/XDvi-paper"
21 +!!! the file a sysadm can use to override everything in /etc
22 +#include "/etc/texmf/xdvi/XDvi-paper"
23 +!!! the last one takes precedence, and there is no problem with missing
24 +!!! files, which amounts to what we want.
25
26 !!! This should be the best choice for modern displays with large color depth.
27 *thorough: true
28 --- /dev/null
29 +++ texlive-base-2026.20260527/texmf-dist/xdvi/XDvi-paper
30 @@ -0,0 +1 @@
31 +*paper: a4
32 --- texlive-base-2026.20260527.orig/tlpkg/texlive.tlpdb
33 +++ texlive-base-2026.20260527/tlpkg/texlive.tlpdb
34 @@ -379804,6 +379804,7 @@
35 runfiles size=9
36 texmf-dist/dvips/xdvi/config.xdvi
37 texmf-dist/xdvi/XDvi
38 + texmf-dist/xdvi/XDvi-paper
39 texmf-dist/xdvi/pixmap/toolbar.xpm
40 texmf-dist/xdvi/pixmap/toolbar2.xpm
41 catalogue-alias xdvik