File: xdvi-config-paper-factorization

package info (click to toggle)
texlive-base 2022.20230122-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 943,248 kB
  • sloc: perl: 43,776; sh: 5,749; makefile: 3,870; javascript: 3,034; ruby: 2,266; tcl: 2,130; xml: 1,874; python: 1,025; awk: 606; cpp: 549; lisp: 447; ansic: 103; sed: 8
file content (41 lines) | stat: -rw-r--r-- 1,495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
 texmf-dist/xdvi/XDvi       |   12 +++++++++++-
 texmf-dist/xdvi/XDvi-paper |    1 +
 tlpkg/texlive.tlpdb        |    1 +
 3 files changed, 13 insertions(+), 1 deletion(-)

--- texlive-base-2022.20220722.orig/texmf-dist/xdvi/XDvi
+++ texlive-base-2022.20220722/texmf-dist/xdvi/XDvi
@@ -21,7 +21,17 @@
 !!! and greater flexibility for shrink values. Generating MF fonts shouldn't be an
 !!! issue when using T1lib.
 !*mfMode: ljfour
-*paper: a4
+
+!!! include the various places where system-admins can configure the papersize
+!!! for xdvi:
+!!! the default as shipped in TeX Live is in the same directory as XDvi
+#include "XDvi-paper"
+!!! the file used by tl-paper for setting up the paper size
+#include "/var/lib/texmf/xdvi/XDvi-paper"
+!!! the file a sysadm can use to override everything in /etc
+#include "/etc/texmf/xdvi/XDvi-paper"
+!!! the last one takes precedence, and there is no problem with missing
+!!! files, which amounts to what we want.
 
 !!! This should be the best choice for modern displays with large color depth.
 *thorough: true
--- /dev/null
+++ texlive-base-2022.20220722/texmf-dist/xdvi/XDvi-paper
@@ -0,0 +1 @@
+*paper: a4
--- texlive-base-2022.20220722.orig/tlpkg/texlive.tlpdb
+++ texlive-base-2022.20220722/tlpkg/texlive.tlpdb
@@ -342756,6 +342756,7 @@
 runfiles size=9
  texmf-dist/dvips/xdvi/config.xdvi
  texmf-dist/xdvi/XDvi
+ texmf-dist/xdvi/XDvi-paper
  texmf-dist/xdvi/pixmap/toolbar.xpm
  texmf-dist/xdvi/pixmap/toolbar2.xpm
 catalogue-alias xdvik