Debian Codegraph @

debian/texconfig.sh

raw symbols SCIP
1 #!/bin/sh
2 #
3 # texconfig replacement script in Debian, which does not ship the
4 # original texconfig anymore
5 #
6 # Copyright (C) 2012 Norbert Preining, Julian Gilbey
7 #
8 # Public domain
9 #
10
11 cat <<'EOF'
12 The original texconfig is not shipped on Debian due to the way
13 texconfig handles config files. Furthermore, all of the texconfig
14 features can be performed in other ways on a Debian system.
15
16 EOF
17
18 if [ "$1" = '--help' ]
19 then
20 cat <<'EOF'
21 conf
22 Not needed
23
24 dvipdfm paper
25 Use paperconf
26
27 dvips add PRINTERNAME
28 Use
29 touch /etc/texmf/dvips/config/config.PRINTERNAME
30
31 dvips del PRINTERNAME
32 For a printer you have added:
33 rm /etc/texmf/dvips/config/config.PRINTERNAME
34 You should not remove printers that you
35 have not created, or that are shipped by Debian
36
37 dvips mode
38 Not supported
39
40 dvips [-P PRINTER] mode MODE
41 dvips [-P PRINTER] offset x-OFFSET,y-OFFSET
42 dvips [-P PRINTER] printcmd CMD
43 Make a copy of /usr/share/texlive/texmf/dvips/config/config.PRINTER
44 in /etc/texmf/dvips/config/ and edit the file
45 (but that should not be necessary)
46
47 faq
48 Not needed
49
50 font vardir DIR, font ro, font rw
51 Please read section 2.5, font caching, in the TeX-on-Debian
52 documentation in /usr/share/doc/tex-common/.
53
54 formats
55 hyphen FORMAT
56 Should not be used on Debian, see TeX-on-Debian, update-fmtutil
57 for details.
58
59 init [format]
60 Run
61 fmtutil-sys --all
62 or
63 fmtutil-sys --byfmt format
64
65 mode-list
66 not supported
67
68 mode MODE
69 Edit /etc/texmf/web2c/mktex.cnf
70
71 paper [a4|letter]
72 pdftex paper [a4|letter]
73 xdvi paper PAPER
74 Use paperconf
75
76 rehash
77 Run
78 mktexlsr
79 EOF
80 else
81 cat <<'EOF'
82 To read a list of replacements for the texconfig features on Debian,
83 run texconfig --help
84 EOF
85 fi
86