summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/dvipdfmx/dvipdfmx-paper.cfg11
-rw-r--r--Master/texmf-dist/dvipdfmx/dvipdfmx.cfg10
-rw-r--r--Master/texmf-dist/dvips/config/config-paper.ps533
-rw-r--r--Master/texmf-dist/dvips/config/config.ps535
-rw-r--r--Master/texmf-dist/xdvi/XDvi12
-rw-r--r--Master/texmf-dist/xdvi/XDvi-paper1
-rw-r--r--Master/tlpkg/TeXLive/TLPaper.pm6
7 files changed, 569 insertions, 539 deletions
diff --git a/Master/texmf-dist/dvipdfmx/dvipdfmx-paper.cfg b/Master/texmf-dist/dvipdfmx/dvipdfmx-paper.cfg
new file mode 100644
index 00000000000..6d6e1b95abd
--- /dev/null
+++ b/Master/texmf-dist/dvipdfmx/dvipdfmx-paper.cfg
@@ -0,0 +1,11 @@
+%% PDF Document Settings
+%%
+%% Papersize Option:
+%%
+%% p papersize-spec
+%%
+%% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter',
+%% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'.
+
+p a4
+
diff --git a/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg b/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg
index 001cd8ec105..9b7ac697ae5 100644
--- a/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg
+++ b/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg
@@ -29,14 +29,8 @@ V 5
%% PDF Document Settings
%%
-%% Papersize Option:
-%%
-%% p papersize-spec
-%%
-%% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter',
-%% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'.
-
-p a4
+%% Paper configurations can be found in dvipdfmx-paper.cfg
+i dvipdfmx-paper.cfg
%% Annotation Box Margin:
%%
diff --git a/Master/texmf-dist/dvips/config/config-paper.ps b/Master/texmf-dist/dvips/config/config-paper.ps
new file mode 100644
index 00000000000..8521ad8b9ed
--- /dev/null
+++ b/Master/texmf-dist/dvips/config/config-paper.ps
@@ -0,0 +1,533 @@
+%
+% config-paper.ps
+%
+% This part is only used for the paper configuration of dvips
+
+@ a4 210mm 297mm
+@+ ! %%DocumentPaperSizes: a4
+@+ %%BeginPaperSize: a4
+@+ /setpagedevice where
+@+ { pop << /PageSize [595 842] >> setpagedevice }
+@+ { /a4 where { pop a4 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ letter 8.5in 11in
+@+ ! %%DocumentPaperSizes: Letter
+@+ %%BeginPaperSize: Letter
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 792] >> setpagedevice }
+@+ { /letter where { pop letter } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a4size 210mm 297mm
+@+ ! %%DocumentPaperSizes: a4
+@+ %%BeginPaperSize: a4
+@+ /setpagedevice where
+@+ { pop << /PageSize [595 842] >> setpagedevice }
+@+ { /a4 where { pop a4 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ letterSize 8.5in 11in
+@+ ! %%DocumentPaperSizes: Letter
+@+ %%BeginPaperSize: Letter
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 792] >> setpagedevice }
+@+ { /letter where { pop letter } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+% The jacow paper size is the smaller of letter and a4 in both
+% dimensions, and can therefore hopefully be printed on either paper
+% size. As far as we know, Volker Schaa first used it for the JACOW
+% conference proceedings that he produced.
+@ jacow 210mm 11in
+@+ ! %%DocumentPaperSizes: jacow
+@+ %%BeginPaperSize: jacow
+@+ /setpagedevice where
+@+ { pop << /PageSize [595 792] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+% The smallbook paper size has been used by the Free Software Foundation
+% to print manuals for many years, and is part of Texinfo.
+@ smallbook 7in 9.25in
+@+ ! %%DocumentPaperSizes: smallbook
+@+ %%BeginPaperSize: smallbook
+@+ /setpagedevice where
+@+ { pop << /PageSize [504 666] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+% Special paper size for IEEE Computer Society Journals
+@ ieeecs 7.875in 10.75in
+@+ ! %%DocumentPaperSizes: ieeecs
+@+ %%BeginPaperSize: ieeecs
+@+ /setpagedevice where
+@+ { pop << /PageSize [567 774] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ halfexecutive 133mm 184mm
+@+ ! %%DocumentPaperSizes: halfexecutive
+@+ %%BeginPaperSize: halfexecutive
+@+ /setpagedevice where
+@+ { pop << /PageSize [378 522] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ halfletter 140mm 216mm
+@+ ! %%DocumentPaperSizes: halfletter
+@+ %%BeginPaperSize: halfletter
+@+ /setpagedevice where
+@+ { pop << /PageSize [396 612] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ statement 140mm 216mm
+@+ ! %%DocumentPaperSizes: statement
+@+ %%BeginPaperSize: statement
+@+ /setpagedevice where
+@+ { pop << /PageSize [396 612] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ executive 184mm 267mm
+@+ ! %%DocumentPaperSizes: executive
+@+ %%BeginPaperSize: executive
+@+ /setpagedevice where
+@+ { pop << /PageSize [522 756] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+% for powerdot
+@ screen 8.25in 11in
+@+ ! %%DocumentPaperSizes: Screen
+@+ %%BeginPaperSize: Screen
+@+ /setpagedevice where
+@+ { pop << /PageSize [594 792] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+% a common size for printers (in north america).
+@ sixbynine 6in 9in
+@+ ! %%DocumentPaperSizes: SixByNine
+@+ %%BeginPaperSize: SixByNine
+@+ /setpagedevice where
+@+ { pop << /PageSize [432 648] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ quarto 215mm 275mm
+@+ ! %%DocumentPaperSizes: quarto
+@+ %%BeginPaperSize: quarto
+@+ /setpagedevice where
+@+ { pop << /PageSize [610 780] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ note 216mm 279mm
+@+ ! %%DocumentPaperSizes: note
+@+ %%BeginPaperSize: note
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 792] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ folio 216mm 330mm
+@+ ! %%DocumentPaperSizes: folio
+@+ %%BeginPaperSize: folio
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 936] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ legal 8.5in 14in
+@+ ! %%DocumentPaperSizes: Legal
+@+ %%BeginPaperSize: Legal
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 1008] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ 10x14 10in 14in
+@+ ! %%DocumentPaperSizes: 10x14
+@+ %%BeginPaperSize: 10x14
+@+ /setpagedevice where
+@+ { pop << /PageSize [720 1008] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ ledger 17in 11in
+@+ ! %%DocumentPaperSizes: Ledger
+@+ %%BeginPaperSize: Ledger
+@+ /setpagedevice where
+@+ { pop << /PageSize [1224 792] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ tabloid 11in 17in
+@+ ! %%DocumentPaperSizes: Tabloid
+@+ %%BeginPaperSize: Tabloid
+@+ /setpagedevice where
+@+ { pop << /PageSize [792 1224] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ 11x17 11in 17in
+@+ ! %%DocumentPaperSizes: 11x17
+@+ %%BeginPaperSize: 11x17
+@+ /setpagedevice where
+@+ { pop << /PageSize [792 1224] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ a0 841mm 1189mm
+@+ ! %%DocumentPaperSizes: a0
+@+ %%BeginPaperSize: a0
+@+ /setpagedevice where
+@+ { pop << /PageSize [2384 3370] >> setpagedevice }
+@+ { /a0 where { pop a0 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a1 594mm 841mm
+@+ ! %%DocumentPaperSizes: a1
+@+ %%BeginPaperSize: a1
+@+ /setpagedevice where
+@+ { pop << /PageSize [1684 2384] >> setpagedevice }
+@+ { /a1 where { pop a1 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a2 420mm 594mm
+@+ ! %%DocumentPaperSizes: a2
+@+ %%BeginPaperSize: a2
+@+ /setpagedevice where
+@+ { pop << /PageSize [1191 1684] >> setpagedevice }
+@+ { /a2 where { pop a2 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a3 297mm 420mm
+@+ ! %%DocumentPaperSizes: a3
+@+ %%BeginPaperSize: a3
+@+ /setpagedevice where
+@+ { pop << /PageSize [842 1191] >> setpagedevice }
+@+ { /a3 where { pop a3 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a5 148mm 210mm
+@+ ! %%DocumentPaperSizes: a5
+@+ %%BeginPaperSize: a5
+@+ /setpagedevice where
+@+ { pop << /PageSize [420 595] >> setpagedevice }
+@+ { /a5 where { pop a5 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a6 105mm 148mm
+@+ ! %%DocumentPaperSizes: a6
+@+ %%BeginPaperSize: a6
+@+ /setpagedevice where
+@+ { pop << /PageSize [298 420] >> setpagedevice }
+@+ { /a6 where { pop a6 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a7 74mm 105mm
+@+ ! %%DocumentPaperSizes: a7
+@+ %%BeginPaperSize: a7
+@+ /setpagedevice where
+@+ { pop << /PageSize [210 298] >> setpagedevice }
+@+ { /a7 where { pop a7 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a8 52mm 74mm
+@+ ! %%DocumentPaperSizes: a8
+@+ %%BeginPaperSize: a8
+@+ /setpagedevice where
+@+ { pop << /PageSize [147 210] >> setpagedevice }
+@+ { /a8 where { pop a8 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a9 37mm 52mm
+@+ ! %%DocumentPaperSizes: a9
+@+ %%BeginPaperSize: a9
+@+ /setpagedevice where
+@+ { pop << /PageSize [105 147] >> setpagedevice }
+@+ { /a9 where { pop a9 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ a10 26mm 37mm
+@+ ! %%DocumentPaperSizes: a10
+@+ %%BeginPaperSize: a10
+@+ /setpagedevice where
+@+ { pop << /PageSize [74 105] >> setpagedevice }
+@+ { /a10 where { pop a10 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb0 1030mm 1456mm
+@+ ! %%DocumentPaperSizes: jisb0
+@+ %%BeginPaperSize: jisb0
+@+ /setpagedevice where
+@+ { pop << /PageSize [2920 4127] >> setpagedevice }
+@+ { /jisb0 where { pop jisb0 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb1 728mm 1030mm
+@+ ! %%DocumentPaperSizes: jisb1
+@+ %%BeginPaperSize: jisb1
+@+ /setpagedevice where
+@+ { pop << /PageSize [2064 2920] >> setpagedevice }
+@+ { /jisb1 where { pop jisb1 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb2 515mm 728mm
+@+ ! %%DocumentPaperSizes: jisb2
+@+ %%BeginPaperSize: jisb2
+@+ /setpagedevice where
+@+ { pop << /PageSize [1460 2064] >> setpagedevice }
+@+ { /jisb2 where { pop jisb2 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb3 364mm 515mm
+@+ ! %%DocumentPaperSizes: jisb3
+@+ %%BeginPaperSize: jisb3
+@+ /setpagedevice where
+@+ { pop << /PageSize [1032 1460] >> setpagedevice }
+@+ { /jisb3 where { pop jisb3 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb4 257mm 364mm
+@+ ! %%DocumentPaperSizes: jisb4
+@+ %%BeginPaperSize: jisb4
+@+ /setpagedevice where
+@+ { pop << /PageSize [729 1032] >> setpagedevice }
+@+ { /jisb4 where { pop jisb4 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb5 182mm 257mm
+@+ ! %%DocumentPaperSizes: jisb5
+@+ %%BeginPaperSize: jisb5
+@+ /setpagedevice where
+@+ { pop << /PageSize [516 729] >> setpagedevice }
+@+ { /jisb5 where { pop jisb5 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb6 128mm 182mm
+@+ ! %%DocumentPaperSizes: jisb6
+@+ %%BeginPaperSize: jisb6
+@+ /setpagedevice where
+@+ { pop << /PageSize [363 516] >> setpagedevice }
+@+ { /jisb6 where { pop jisb6 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb7 91mm 128mm
+@+ ! %%DocumentPaperSizes: jisb7
+@+ %%BeginPaperSize: jisb7
+@+ /setpagedevice where
+@+ { pop << /PageSize [258 363] >> setpagedevice }
+@+ { /jisb7 where { pop jisb7 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ jisb8 64mm 91mm
+@+ ! %%DocumentPaperSizes: jisb8
+@+ %%BeginPaperSize: jisb8
+@+ /setpagedevice where
+@+ { pop << /PageSize [181 258] >> setpagedevice }
+@+ { /jisb8 where { pop jisb8 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b0 1000mm 1414mm
+@+ ! %%DocumentPaperSizes: b0
+@+ %%BeginPaperSize: b0
+@+ /setpagedevice where
+@+ { pop << /PageSize [2835 4008] >> setpagedevice }
+@+ { /b0 where { pop b0 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b1 707mm 1000mm
+@+ ! %%DocumentPaperSizes: b1
+@+ %%BeginPaperSize: b1
+@+ /setpagedevice where
+@+ { pop << /PageSize [2004 2835] >> setpagedevice }
+@+ { /b1 where { pop b1 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b2 500mm 707mm
+@+ ! %%DocumentPaperSizes: b2
+@+ %%BeginPaperSize: b2
+@+ /setpagedevice where
+@+ { pop << /PageSize [1417 2004] >> setpagedevice }
+@+ { /b2 where { pop b2 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b3 353mm 500mm
+@+ ! %%DocumentPaperSizes: b3
+@+ %%BeginPaperSize: b3
+@+ /setpagedevice where
+@+ { pop << /PageSize [1001 1417] >> setpagedevice }
+@+ { /b3 where { pop b3 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b4 250mm 353mm
+@+ ! %%DocumentPaperSizes: b4
+@+ %%BeginPaperSize: b4
+@+ /setpagedevice where
+@+ { pop << /PageSize [709 1001] >> setpagedevice }
+@+ { /b4 where { pop b4 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b5 176mm 250mm
+@+ ! %%DocumentPaperSizes: b5
+@+ %%BeginPaperSize: b5
+@+ /setpagedevice where
+@+ { pop << /PageSize [499 709] >> setpagedevice }
+@+ { /b5 where { pop b5 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ b6 125mm 176mm
+@+ ! %%DocumentPaperSizes: b6
+@+ %%BeginPaperSize: b6
+@+ /setpagedevice where
+@+ { pop << /PageSize [354 499] >> setpagedevice }
+@+ { /b6 where { pop b6 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ c5 162mm 229mm
+@+ ! %%DocumentPaperSizes: c5
+@+ %%BeginPaperSize: c5
+@+ /setpagedevice where
+@+ { pop << /PageSize [459 649] >> setpagedevice }
+@+ { /c5 where { pop c5 } if }
+@+ ifelse
+@+ %%EndPaperSize
+
+@ DL 110mm 220mm
+@+ ! %%DocumentPaperSizes: DL
+@+ %%BeginPaperSize: DL
+@+ /setpagedevice where
+@+ { pop << /PageSize [312 624] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ Comm10 105mm 241mm
+@+ ! %%DocumentPaperSizes: Comm10
+@+ %%BeginPaperSize: Comm10
+@+ /setpagedevice where
+@+ { pop << /PageSize [297 684] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ Monarch 98.4mm 190.5mm
+@+ ! %%DocumentPaperSizes: Monarch
+@+ %%BeginPaperSize: Monarch
+@+ /setpagedevice where
+@+ { pop << /PageSize [279 540] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ archE 36in 48in
+@+ ! %%DocumentPaperSizes: archE
+@+ %%BeginPaperSize: archE
+@+ /setpagedevice where
+@+ { pop << /PageSize [2592 3456] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ archD 24in 36in
+@+ ! %%DocumentPaperSizes: archD
+@+ %%BeginPaperSize: archD
+@+ /setpagedevice where
+@+ { pop << /PageSize [1728 2592] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ archC 18in 24in
+@+ ! %%DocumentPaperSizes: archC
+@+ %%BeginPaperSize: archC
+@+ /setpagedevice where
+@+ { pop << /PageSize [1296 1728] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ archB 12in 18in
+@+ ! %%DocumentPaperSizes: archB
+@+ %%BeginPaperSize: archB
+@+ /setpagedevice where
+@+ { pop << /PageSize [864 1296] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ archA 9in 12in
+@+ ! %%DocumentPaperSizes: archA
+@+ %%BeginPaperSize: archA
+@+ /setpagedevice where
+@+ { pop << /PageSize [648 864] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ flsa 216mm 330.2mm
+@+ ! %%DocumentPaperSizes: flsa
+@+ %%BeginPaperSize: flsa
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 936] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ flse 216mm 330.2mm
+@+ ! %%DocumentPaperSizes: flse
+@+ %%BeginPaperSize: flse
+@+ /setpagedevice where
+@+ { pop << /PageSize [612 936] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ csheet 431.8mm 558.8mm
+@+ ! %%DocumentPaperSizes: csheet
+@+ %%BeginPaperSize: csheet
+@+ /setpagedevice where
+@+ { pop << /PageSize [1224 1584] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ dsheet 558.8mm 863.6mm
+@+ ! %%DocumentPaperSizes: dsheet
+@+ %%BeginPaperSize: dsheet
+@+ /setpagedevice where
+@+ { pop << /PageSize [1584 2448] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
+@ esheet 863.6mm 1117.6mm
+@+ ! %%DocumentPaperSizes: esheet
+@+ %%BeginPaperSize: esheet
+@+ /setpagedevice where
+@+ { pop << /PageSize [2448 3168] >> setpagedevice }
+@+ if
+@+ %%EndPaperSize
+
diff --git a/Master/texmf-dist/dvips/config/config.ps b/Master/texmf-dist/dvips/config/config.ps
index f4c6c759cb8..7397ac6f230 100644
--- a/Master/texmf-dist/dvips/config/config.ps
+++ b/Master/texmf-dist/dvips/config/config.ps
@@ -67,533 +67,13 @@ j
%
% emacs-page
-@ a4 210mm 297mm
-@+ ! %%DocumentPaperSizes: a4
-@+ %%BeginPaperSize: a4
-@+ /setpagedevice where
-@+ { pop << /PageSize [595 842] >> setpagedevice }
-@+ { /a4 where { pop a4 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ letter 8.5in 11in
-@+ ! %%DocumentPaperSizes: Letter
-@+ %%BeginPaperSize: Letter
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 792] >> setpagedevice }
-@+ { /letter where { pop letter } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a4size 210mm 297mm
-@+ ! %%DocumentPaperSizes: a4
-@+ %%BeginPaperSize: a4
-@+ /setpagedevice where
-@+ { pop << /PageSize [595 842] >> setpagedevice }
-@+ { /a4 where { pop a4 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ letterSize 8.5in 11in
-@+ ! %%DocumentPaperSizes: Letter
-@+ %%BeginPaperSize: Letter
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 792] >> setpagedevice }
-@+ { /letter where { pop letter } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-% The jacow paper size is the smaller of letter and a4 in both
-% dimensions, and can therefore hopefully be printed on either paper
-% size. As far as we know, Volker Schaa first used it for the JACOW
-% conference proceedings that he produced.
-@ jacow 210mm 11in
-@+ ! %%DocumentPaperSizes: jacow
-@+ %%BeginPaperSize: jacow
-@+ /setpagedevice where
-@+ { pop << /PageSize [595 792] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-% The smallbook paper size has been used by the Free Software Foundation
-% to print manuals for many years, and is part of Texinfo.
-@ smallbook 7in 9.25in
-@+ ! %%DocumentPaperSizes: smallbook
-@+ %%BeginPaperSize: smallbook
-@+ /setpagedevice where
-@+ { pop << /PageSize [504 666] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-% Special paper size for IEEE Computer Society Journals
-@ ieeecs 7.875in 10.75in
-@+ ! %%DocumentPaperSizes: ieeecs
-@+ %%BeginPaperSize: ieeecs
-@+ /setpagedevice where
-@+ { pop << /PageSize [567 774] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ halfexecutive 133mm 184mm
-@+ ! %%DocumentPaperSizes: halfexecutive
-@+ %%BeginPaperSize: halfexecutive
-@+ /setpagedevice where
-@+ { pop << /PageSize [378 522] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ halfletter 140mm 216mm
-@+ ! %%DocumentPaperSizes: halfletter
-@+ %%BeginPaperSize: halfletter
-@+ /setpagedevice where
-@+ { pop << /PageSize [396 612] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ statement 140mm 216mm
-@+ ! %%DocumentPaperSizes: statement
-@+ %%BeginPaperSize: statement
-@+ /setpagedevice where
-@+ { pop << /PageSize [396 612] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ executive 184mm 267mm
-@+ ! %%DocumentPaperSizes: executive
-@+ %%BeginPaperSize: executive
-@+ /setpagedevice where
-@+ { pop << /PageSize [522 756] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-% for powerdot
-@ screen 8.25in 11in
-@+ ! %%DocumentPaperSizes: Screen
-@+ %%BeginPaperSize: Screen
-@+ /setpagedevice where
-@+ { pop << /PageSize [594 792] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-% a common size for printers (in north america).
-@ sixbynine 6in 9in
-@+ ! %%DocumentPaperSizes: SixByNine
-@+ %%BeginPaperSize: SixByNine
-@+ /setpagedevice where
-@+ { pop << /PageSize [432 648] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ quarto 215mm 275mm
-@+ ! %%DocumentPaperSizes: quarto
-@+ %%BeginPaperSize: quarto
-@+ /setpagedevice where
-@+ { pop << /PageSize [610 780] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ note 216mm 279mm
-@+ ! %%DocumentPaperSizes: note
-@+ %%BeginPaperSize: note
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 792] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ folio 216mm 330mm
-@+ ! %%DocumentPaperSizes: folio
-@+ %%BeginPaperSize: folio
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 936] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ legal 8.5in 14in
-@+ ! %%DocumentPaperSizes: Legal
-@+ %%BeginPaperSize: Legal
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 1008] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ 10x14 10in 14in
-@+ ! %%DocumentPaperSizes: 10x14
-@+ %%BeginPaperSize: 10x14
-@+ /setpagedevice where
-@+ { pop << /PageSize [720 1008] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ ledger 17in 11in
-@+ ! %%DocumentPaperSizes: Ledger
-@+ %%BeginPaperSize: Ledger
-@+ /setpagedevice where
-@+ { pop << /PageSize [1224 792] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ tabloid 11in 17in
-@+ ! %%DocumentPaperSizes: Tabloid
-@+ %%BeginPaperSize: Tabloid
-@+ /setpagedevice where
-@+ { pop << /PageSize [792 1224] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ 11x17 11in 17in
-@+ ! %%DocumentPaperSizes: 11x17
-@+ %%BeginPaperSize: 11x17
-@+ /setpagedevice where
-@+ { pop << /PageSize [792 1224] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ a0 841mm 1189mm
-@+ ! %%DocumentPaperSizes: a0
-@+ %%BeginPaperSize: a0
-@+ /setpagedevice where
-@+ { pop << /PageSize [2384 3370] >> setpagedevice }
-@+ { /a0 where { pop a0 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a1 594mm 841mm
-@+ ! %%DocumentPaperSizes: a1
-@+ %%BeginPaperSize: a1
-@+ /setpagedevice where
-@+ { pop << /PageSize [1684 2384] >> setpagedevice }
-@+ { /a1 where { pop a1 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a2 420mm 594mm
-@+ ! %%DocumentPaperSizes: a2
-@+ %%BeginPaperSize: a2
-@+ /setpagedevice where
-@+ { pop << /PageSize [1191 1684] >> setpagedevice }
-@+ { /a2 where { pop a2 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a3 297mm 420mm
-@+ ! %%DocumentPaperSizes: a3
-@+ %%BeginPaperSize: a3
-@+ /setpagedevice where
-@+ { pop << /PageSize [842 1191] >> setpagedevice }
-@+ { /a3 where { pop a3 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a5 148mm 210mm
-@+ ! %%DocumentPaperSizes: a5
-@+ %%BeginPaperSize: a5
-@+ /setpagedevice where
-@+ { pop << /PageSize [420 595] >> setpagedevice }
-@+ { /a5 where { pop a5 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a6 105mm 148mm
-@+ ! %%DocumentPaperSizes: a6
-@+ %%BeginPaperSize: a6
-@+ /setpagedevice where
-@+ { pop << /PageSize [298 420] >> setpagedevice }
-@+ { /a6 where { pop a6 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a7 74mm 105mm
-@+ ! %%DocumentPaperSizes: a7
-@+ %%BeginPaperSize: a7
-@+ /setpagedevice where
-@+ { pop << /PageSize [210 298] >> setpagedevice }
-@+ { /a7 where { pop a7 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a8 52mm 74mm
-@+ ! %%DocumentPaperSizes: a8
-@+ %%BeginPaperSize: a8
-@+ /setpagedevice where
-@+ { pop << /PageSize [147 210] >> setpagedevice }
-@+ { /a8 where { pop a8 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a9 37mm 52mm
-@+ ! %%DocumentPaperSizes: a9
-@+ %%BeginPaperSize: a9
-@+ /setpagedevice where
-@+ { pop << /PageSize [105 147] >> setpagedevice }
-@+ { /a9 where { pop a9 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ a10 26mm 37mm
-@+ ! %%DocumentPaperSizes: a10
-@+ %%BeginPaperSize: a10
-@+ /setpagedevice where
-@+ { pop << /PageSize [74 105] >> setpagedevice }
-@+ { /a10 where { pop a10 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb0 1030mm 1456mm
-@+ ! %%DocumentPaperSizes: jisb0
-@+ %%BeginPaperSize: jisb0
-@+ /setpagedevice where
-@+ { pop << /PageSize [2920 4127] >> setpagedevice }
-@+ { /jisb0 where { pop jisb0 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb1 728mm 1030mm
-@+ ! %%DocumentPaperSizes: jisb1
-@+ %%BeginPaperSize: jisb1
-@+ /setpagedevice where
-@+ { pop << /PageSize [2064 2920] >> setpagedevice }
-@+ { /jisb1 where { pop jisb1 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb2 515mm 728mm
-@+ ! %%DocumentPaperSizes: jisb2
-@+ %%BeginPaperSize: jisb2
-@+ /setpagedevice where
-@+ { pop << /PageSize [1460 2064] >> setpagedevice }
-@+ { /jisb2 where { pop jisb2 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb3 364mm 515mm
-@+ ! %%DocumentPaperSizes: jisb3
-@+ %%BeginPaperSize: jisb3
-@+ /setpagedevice where
-@+ { pop << /PageSize [1032 1460] >> setpagedevice }
-@+ { /jisb3 where { pop jisb3 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb4 257mm 364mm
-@+ ! %%DocumentPaperSizes: jisb4
-@+ %%BeginPaperSize: jisb4
-@+ /setpagedevice where
-@+ { pop << /PageSize [729 1032] >> setpagedevice }
-@+ { /jisb4 where { pop jisb4 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb5 182mm 257mm
-@+ ! %%DocumentPaperSizes: jisb5
-@+ %%BeginPaperSize: jisb5
-@+ /setpagedevice where
-@+ { pop << /PageSize [516 729] >> setpagedevice }
-@+ { /jisb5 where { pop jisb5 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb6 128mm 182mm
-@+ ! %%DocumentPaperSizes: jisb6
-@+ %%BeginPaperSize: jisb6
-@+ /setpagedevice where
-@+ { pop << /PageSize [363 516] >> setpagedevice }
-@+ { /jisb6 where { pop jisb6 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb7 91mm 128mm
-@+ ! %%DocumentPaperSizes: jisb7
-@+ %%BeginPaperSize: jisb7
-@+ /setpagedevice where
-@+ { pop << /PageSize [258 363] >> setpagedevice }
-@+ { /jisb7 where { pop jisb7 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ jisb8 64mm 91mm
-@+ ! %%DocumentPaperSizes: jisb8
-@+ %%BeginPaperSize: jisb8
-@+ /setpagedevice where
-@+ { pop << /PageSize [181 258] >> setpagedevice }
-@+ { /jisb8 where { pop jisb8 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b0 1000mm 1414mm
-@+ ! %%DocumentPaperSizes: b0
-@+ %%BeginPaperSize: b0
-@+ /setpagedevice where
-@+ { pop << /PageSize [2835 4008] >> setpagedevice }
-@+ { /b0 where { pop b0 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b1 707mm 1000mm
-@+ ! %%DocumentPaperSizes: b1
-@+ %%BeginPaperSize: b1
-@+ /setpagedevice where
-@+ { pop << /PageSize [2004 2835] >> setpagedevice }
-@+ { /b1 where { pop b1 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b2 500mm 707mm
-@+ ! %%DocumentPaperSizes: b2
-@+ %%BeginPaperSize: b2
-@+ /setpagedevice where
-@+ { pop << /PageSize [1417 2004] >> setpagedevice }
-@+ { /b2 where { pop b2 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b3 353mm 500mm
-@+ ! %%DocumentPaperSizes: b3
-@+ %%BeginPaperSize: b3
-@+ /setpagedevice where
-@+ { pop << /PageSize [1001 1417] >> setpagedevice }
-@+ { /b3 where { pop b3 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b4 250mm 353mm
-@+ ! %%DocumentPaperSizes: b4
-@+ %%BeginPaperSize: b4
-@+ /setpagedevice where
-@+ { pop << /PageSize [709 1001] >> setpagedevice }
-@+ { /b4 where { pop b4 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b5 176mm 250mm
-@+ ! %%DocumentPaperSizes: b5
-@+ %%BeginPaperSize: b5
-@+ /setpagedevice where
-@+ { pop << /PageSize [499 709] >> setpagedevice }
-@+ { /b5 where { pop b5 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ b6 125mm 176mm
-@+ ! %%DocumentPaperSizes: b6
-@+ %%BeginPaperSize: b6
-@+ /setpagedevice where
-@+ { pop << /PageSize [354 499] >> setpagedevice }
-@+ { /b6 where { pop b6 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ c5 162mm 229mm
-@+ ! %%DocumentPaperSizes: c5
-@+ %%BeginPaperSize: c5
-@+ /setpagedevice where
-@+ { pop << /PageSize [459 649] >> setpagedevice }
-@+ { /c5 where { pop c5 } if }
-@+ ifelse
-@+ %%EndPaperSize
-
-@ DL 110mm 220mm
-@+ ! %%DocumentPaperSizes: DL
-@+ %%BeginPaperSize: DL
-@+ /setpagedevice where
-@+ { pop << /PageSize [312 624] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ Comm10 105mm 241mm
-@+ ! %%DocumentPaperSizes: Comm10
-@+ %%BeginPaperSize: Comm10
-@+ /setpagedevice where
-@+ { pop << /PageSize [297 684] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ Monarch 98.4mm 190.5mm
-@+ ! %%DocumentPaperSizes: Monarch
-@+ %%BeginPaperSize: Monarch
-@+ /setpagedevice where
-@+ { pop << /PageSize [279 540] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ archE 36in 48in
-@+ ! %%DocumentPaperSizes: archE
-@+ %%BeginPaperSize: archE
-@+ /setpagedevice where
-@+ { pop << /PageSize [2592 3456] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ archD 24in 36in
-@+ ! %%DocumentPaperSizes: archD
-@+ %%BeginPaperSize: archD
-@+ /setpagedevice where
-@+ { pop << /PageSize [1728 2592] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ archC 18in 24in
-@+ ! %%DocumentPaperSizes: archC
-@+ %%BeginPaperSize: archC
-@+ /setpagedevice where
-@+ { pop << /PageSize [1296 1728] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ archB 12in 18in
-@+ ! %%DocumentPaperSizes: archB
-@+ %%BeginPaperSize: archB
-@+ /setpagedevice where
-@+ { pop << /PageSize [864 1296] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ archA 9in 12in
-@+ ! %%DocumentPaperSizes: archA
-@+ %%BeginPaperSize: archA
-@+ /setpagedevice where
-@+ { pop << /PageSize [648 864] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ flsa 216mm 330.2mm
-@+ ! %%DocumentPaperSizes: flsa
-@+ %%BeginPaperSize: flsa
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 936] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ flse 216mm 330.2mm
-@+ ! %%DocumentPaperSizes: flse
-@+ %%BeginPaperSize: flse
-@+ /setpagedevice where
-@+ { pop << /PageSize [612 936] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ csheet 431.8mm 558.8mm
-@+ ! %%DocumentPaperSizes: csheet
-@+ %%BeginPaperSize: csheet
-@+ /setpagedevice where
-@+ { pop << /PageSize [1224 1584] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ dsheet 558.8mm 863.6mm
-@+ ! %%DocumentPaperSizes: dsheet
-@+ %%BeginPaperSize: dsheet
-@+ /setpagedevice where
-@+ { pop << /PageSize [1584 2448] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
-
-@ esheet 863.6mm 1117.6mm
-@+ ! %%DocumentPaperSizes: esheet
-@+ %%BeginPaperSize: esheet
-@+ /setpagedevice where
-@+ { pop << /PageSize [2448 3168] >> setpagedevice }
-@+ if
-@+ %%EndPaperSize
+%
+% include the configuration for paper sizes
+%
+% WARNING FOR SYSTEM ADMINISTRATORS
+% If you make a copy and drop this line, you have to include
+% paper sizes manually!
+cconfig-paper.ps
% use -t unknown with a \special{papersize=...} for a nonstandard page size.
@ unknown 0in 0in
@@ -611,3 +91,4 @@ j
% and mactex mailing list thread from 24 Sep 2009 11:36:26.
@ nopaper 0in 0in
@+ % dvips-nopaper
+
diff --git a/Master/texmf-dist/xdvi/XDvi b/Master/texmf-dist/xdvi/XDvi
index 99e0533a3b9..f060bf494c6 100644
--- a/Master/texmf-dist/xdvi/XDvi
+++ b/Master/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
diff --git a/Master/texmf-dist/xdvi/XDvi-paper b/Master/texmf-dist/xdvi/XDvi-paper
new file mode 100644
index 00000000000..e3d71e3002b
--- /dev/null
+++ b/Master/texmf-dist/xdvi/XDvi-paper
@@ -0,0 +1 @@
+*paper: a4
diff --git a/Master/tlpkg/TeXLive/TLPaper.pm b/Master/tlpkg/TeXLive/TLPaper.pm
index 46c8d3a26f6..09b4d3a0414 100644
--- a/Master/tlpkg/TeXLive/TLPaper.pm
+++ b/Master/tlpkg/TeXLive/TLPaper.pm
@@ -57,7 +57,7 @@ our %paper = (
"xdvi" => {
sub => \&paper_xdvi,
default_component => "xdvi",
- default_file => "XDvi",
+ default_file => "XDvi-paper",
pkg => "xdvi",
},
"pdftex" => {
@@ -69,13 +69,13 @@ our %paper = (
"dvips" => {
sub => \&paper_dvips,
default_component => "dvips/config",
- default_file => "config.ps",
+ default_file => "config-paper.ps",
pkg => "dvips",
},
"dvipdfmx" => {
sub => \&paper_dvipdfmx,
default_component => "dvipdfmx",
- default_file => "dvipdfmx.cfg",
+ default_file => "dvipdfmx-paper.cfg",
pkg => "dvipdfmx",
},
"context" => {