Debian Codegraph @

debian/patches/debian_1089003

raw
1 --- texlive-extra-2024.20241102.orig/texmf-dist/doc/man/man1/bundledoc.1 2024-12-04 02:44:10.013548143 +0000
2 +++ texlive-extra-2024.20241102/texmf-dist/doc/man/man1/bundledoc.1 2024-12-04 03:16:37.132821366 +0000
3 @@ -3,11 +3,12 @@
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 -.if t .sp .5v
8 +.if t .sp 0.5v
9 .if n .sp
10 ..
11 .de Vb \" Begin verbatim text
12 -.ft CW
13 +. ie \\n(.g .ft CR
14 +. el .ft CW
15 .nf
16 .ne \\$1
17 ..
18 @@ -22,7 +23,7 @@
19 .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
20 .\" nothing in troff, for use with C<>.
21 .tr \(*W-
22 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
23 +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s+2\v'.1v'\h'-1p'
24 .ie n \{\
25 . ds -- \(*W-
26 . ds PI pi
27 @@ -74,14 +75,14 @@
28 . \" fudge factors for nroff and troff
29 .if n \{\
30 . ds #H 0
31 -. ds #V .8m
32 -. ds #F .3m
33 +. ds #V 0.8m
34 +. ds #F 0.3m
35 . ds #[ \f1
36 . ds #] \fP
37 .\}
38 .if t \{\
39 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
40 -. ds #V .6m
41 +. ds #V 0.6m
42 . ds #F 0
43 . ds #[ \&
44 . ds #] \&
45 @@ -177,8 +178,10 @@ As the simplest example possible, consid
46 \& \eend{document}
47 .Ve
48 .PP
49 -The \f(CW\*(C`\eRequirePackage{snapshot}\*(C'\fR causes a \fIhello.dep\fR file to be produced.
50 -When \fBbundledoc\fR is then given \f(CW\*(C`hello.dep\*(C'\fR as an argument, it locates the
51 +The
52 +\f(CR\*(C`\eRequirePackage{snapshot}\*(C'\fP
53 +causes a \fIhello.dep\fR file to be produced.
54 +When \fBbundledoc\fR is then given \f(CR\*(C`hello.dep\*(C'\fR as an argument, it locates the
55 dependent files \*(-- \fIsnapshot.sty\fR, \fIarticle.cls\fR, and \fIsize11.clo\fR \*(--
56 and bundles them into a single archive file, along with \fIhello.tex\fR and a
57 \&\fI\s-1MANIFEST\s0\fR file (described in \*(L"\s-1OPTIONS\*(R"\s0, below).
58 @@ -199,17 +202,17 @@ of the remaining options.
59 .IX Item "--help"
60 Give a brief usage message. This overrides all of the remaining options.
61 .ie n .IP "\fB\-\-\fR[\fBno\fR]\fBverbose\fR (default: ""noverbose"")" 4
62 -.el .IP "\fB\-\-\fR[\fBno\fR]\fBverbose\fR (default: \f(CWnoverbose\fR)" 4
63 +.el .IP "\fB\-\-\fR[\fBno\fR]\fBverbose\fR (default: \f(CRnoverbose\fR)" 4
64 .IX Item "--[no]verbose (default: noverbose)"
65 \&\fBbundledoc\fR normally does not output anything except error messages.
66 -With \f(CW\*(C`\-\-verbose\*(C'\fR, it outputs copious status messages.
67 +With \f(CR\*(C`\-\-verbose\*(C'\fR, it outputs copious status messages.
68 .IP "\fB\-\-texfile\fR=\fImain .tex file\fR (default: \fIsomefile\fR\fI.tex\fR)" 4
69 .IX Item "--texfile=main .tex file (default: somefile.tex)"
70 \&\fBsnapshot\fR's dependency file does not list the main LaTeX file (the
71 one that gets passed to \fBlatex\fR). In order for \fBbundledoc\fR to find
72 and bundle that file, \fBbundledoc\fR assumes it has the same name as the
73 \&\fBsnapshot\fR dependency file but with a \fI.tex\fR extension. If this is
74 -not the case, then use \f(CW\*(C`\-\-texfile\*(C'\fR to specify the correct filename.
75 +not the case, then use \f(CR\*(C`\-\-texfile\*(C'\fR to specify the correct filename.
76 .IP "\fB\-\-directory\fR=\fIarchive directory\fR (default: \fIsomefile\fR)" 4
77 .IX Item "--directory=archive directory (default: somefile)"
78 When \fBbundledoc\fR creates an archive (e.g., a \fI.tar\fR or \fI.zip\fR file)
79 @@ -218,25 +221,25 @@ avoid cluttering the current directory w
80 dependency file is called \fIsomefile\fR\fI.dep\fR then the resulting
81 archive will, by default, store all the dependent files in a
82 \&\fIsomefile\fR directory. To change the directory name use the
83 -\&\f(CW\*(C`\-\-directory\*(C'\fR option.
84 +\&\f(CR\*(C`\-\-directory\*(C'\fR option.
85 .ie n .IP "\fB\-\-\fR[\fBno\fR]\fBlocalonly\fR (default: ""nolocalonly"")" 4
86 -.el .IP "\fB\-\-\fR[\fBno\fR]\fBlocalonly\fR (default: \f(CWnolocalonly\fR)" 4
87 +.el .IP "\fB\-\-\fR[\fBno\fR]\fBlocalonly\fR (default: \f(CRnolocalonly\fR)" 4
88 .IX Item "--[no]localonly (default: nolocalonly)"
89 Although \fBbundledoc\fR normally archives all of the files named in the
90 -\&\fI.dep\fR file, the \f(CW\*(C`\-\-localonly\*(C'\fR option tells \fBbundledoc\fR to exclude
91 +\&\fI.dep\fR file, the \f(CR\*(C`\-\-localonly\*(C'\fR option tells \fBbundledoc\fR to exclude
92 all files located in a directory other than the \fI.tex\fR file's
93 directory or one of its subdirectories.
94 .IP "\fB\-\-exclude\fR=\fIstring\fR (default: \fInone\fR)" 4
95 .IX Item "--exclude=string (default: none)"
96 -While \f(CW\*(C`\-\-localonly\*(C'\fR causes files outside of the \fI.tex\fR file's
97 -directory tree to be omitted from the archive, \f(CW\*(C`\-\-exclude\*(C'\fR provides
98 +While \f(CR\*(C`\-\-localonly\*(C'\fR causes files outside of the \fI.tex\fR file's
99 +directory tree to be omitted from the archive, \f(CR\*(C`\-\-exclude\*(C'\fR provides
100 finer-grained control over files to omit from the archive. The
101 -\&\f(CW\*(C`\-\-exclude\*(C'\fR option, which can be specified repeatedly on the command
102 +\&\f(CR\*(C`\-\-exclude\*(C'\fR option, which can be specified repeatedly on the command
103 line, causes all files whose name contains \fIstring\fR to be omitted
104 from the archive.
105 .IP "\fB\-\-include\fR=\fIfilespec\fR (default: \fInone\fR)" 4
106 .IX Item "--include=filespec (default: none)"
107 -The \f(CW\*(C`\-\-include\*(C'\fR option, which can be specified repeatedly on the
108 +The \f(CR\*(C`\-\-include\*(C'\fR option, which can be specified repeatedly on the
109 command line, instructs \fBbundledoc\fR to include in the archive all of
110 the files matching \fIfilespec\fR, even if they're not referenced in the
111 \&\fI.dep\fR file.
112 @@ -246,26 +249,26 @@ In addition to the dependent files, \fBb
113 archive file one extra file called, by default, ``\fI\s-1MANIFEST\s0\fR''.
114 \&\fI\s-1MANIFEST\s0\fR is a text file that lists the original filenames of all
115 the dependencies. To change the filename from ``\fI\s-1MANIFEST\s0\fR'' to
116 -something else, use the \f(CW\*(C`\-\-manifest\*(C'\fR option. As a special case,
117 -\&\f(CW\*(C`\-\-manifest=""\*(C'\fR tells \fBbundledoc\fR not to include a manifest file at
118 +something else, use the \f(CR\*(C`\-\-manifest\*(C'\fR option. As a special case,
119 +\&\f(CR\*(C`\-\-manifest=""\*(C'\fR tells \fBbundledoc\fR not to include a manifest file at
120 all.
121 .ie n .IP "\fB\-\-listdeps\fR=[yes|no|only|rel]...] (default: ""no"")" 4
122 -.el .IP "\fB\-\-listdeps\fR=[yes|no|only|rel]...] (default: \f(CWno\fR)" 4
123 +.el .IP "\fB\-\-listdeps\fR=[yes|no|only|rel]...] (default: \f(CRno\fR)" 4
124 .IX Item "--listdeps=[yes|no|only|rel]...] (default: no)"
125 -\&\f(CW\*(C`\-\-listdeps\*(C'\fR accepts one or more of \f(CW\*(C`yes\*(C'\fR, \f(CW\*(C`no\*(C'\fR, \f(CW\*(C`only\*(C'\fR, or \f(CW\*(C`rel\*(C'\fR
126 -as a comma-separated list. As long as \f(CW\*(C`no\*(C'\fR does not appear in this
127 +\&\f(CR\*(C`\-\-listdeps\*(C'\fR accepts one or more of \f(CR\*(C`yes\*(C'\fR, \f(CR\*(C`no\*(C'\fR, \f(CR\*(C`only\*(C'\fR, or \f(CR\*(C`rel\*(C'\fR
128 +as a comma-separated list. As long as \f(CR\*(C`no\*(C'\fR does not appear in this
129 list, \fBbundledoc\fR outputs all of the main LaTeX file's dependencies.
130 -If the list contains \f(CW\*(C`rel\*(C'\fR, then \fBbundledoc\fR outputs the list of
131 -dependencies with relative pathnames. If the list contains \f(CW\*(C`only\*(C'\fR,
132 +If the list contains \f(CR\*(C`rel\*(C'\fR, then \fBbundledoc\fR outputs the list of
133 +dependencies with relative pathnames. If the list contains \f(CR\*(C`only\*(C'\fR,
134 then \fBbundledoc\fR exits after displaying the list, without producing
135 an archive.
136 .ie n .IP "\fB\-\-\fR[\fBno\fR]\fBkeepdirs\fR (default: ""nokeepdirs"")" 4
137 -.el .IP "\fB\-\-\fR[\fBno\fR]\fBkeepdirs\fR (default: \f(CWnokeepdirs\fR)" 4
138 +.el .IP "\fB\-\-\fR[\fBno\fR]\fBkeepdirs\fR (default: \f(CRnokeepdirs\fR)" 4
139 .IX Item "--[no]keepdirs (default: nokeepdirs)"
140 Normally, the archive file that \fBbundledoc\fR produces contains a
141 single directory \*(-- and subdirectories, if the document refers
142 explicitly to them \*(-- in which all the dependent files lie. If
143 -\&\f(CW\*(C`\-\-keepdirs\*(C'\fR is specified, all the dependent files are stored with
144 +\&\f(CR\*(C`\-\-keepdirs\*(C'\fR is specified, all the dependent files are stored with
145 their original pathnames. For example, if \fIsomefile.tex\fR depends on
146 \&\fIfigures/somefigure.eps\fR, \fIarticle.cls\fR, and \fIsnapshot.sty\fR, then
147 the \fIsomefile\fR archive will normally contain the following files:
148 @@ -283,7 +286,7 @@ the \fIsomefile\fR archive will normally
149 .RE
150 .RS 4
151 .Sp
152 -However, \f(CW\*(C`\-\-keepdirs\*(C'\fR will cause the \fIsomefile\fR archive to contain
153 +However, \f(CR\*(C`\-\-keepdirs\*(C'\fR will cause the \fIsomefile\fR archive to contain
154 the following sorts of filenames instead:
155 .IP "\(bu" 4
156 \&\fIhome/me/mydocs/somefile.tex\fR
157 @@ -296,13 +299,13 @@ the following sorts of filenames instead
158 .RE
159 .RS 4
160 .Sp
161 -\&\f(CW\*(C`\-\-directory\*(C'\fR is not used when \f(CW\*(C`\-\-keepdirs\*(C'\fR is in effect. In
162 +\&\f(CR\*(C`\-\-directory\*(C'\fR is not used when \f(CR\*(C`\-\-keepdirs\*(C'\fR is in effect. In
163 addition, no manifest file is written to the archive file as it
164 contains redundant information.
165 .RE
166 .IP "\fB\-\-config\fR=\fIconfiguration file\fR (default: <none>)" 4
167 .IX Item "--config=configuration file (default: <none>)"
168 -The \f(CW\*(C`\-\-config\*(C'\fR option is used to point \fBbundledoc\fR to the
169 +The \f(CR\*(C`\-\-config\*(C'\fR option is used to point \fBbundledoc\fR to the
170 appropriate configuration (\fI.cfg\fR) file for your TeX distribution and
171 operating system. \fBbundledoc\fR comes with a few configuration files
172 and it's easy to write more. See \*(L"\s-1CONFIGURATION FILES\*(R"\s0 (below) for
173 @@ -313,7 +316,7 @@ file can be specified without its \fI.cf
174 .SS "Format"
175 .IX Subsection "Format"
176 Configuration files follow a fairly simple format. Lines beginning with
177 -\&\f(CW\*(C`#\*(C'\fR are comments. Blank lines are ignored. All other lines are of the
178 +\&\f(CR\*(C`#\*(C'\fR are comments. Blank lines are ignored. All other lines are of the
179 form:
180 .PP
181 .Vb 1
182 @@ -332,16 +335,16 @@ The affix to a command to discard its ou
183 The command to find a file within the TeX tree(s).
184 .PP
185 Values that are too long for one line can be split across multiple lines
186 -by using \f(CW\*(C`\e\*(C'\fR as the line-continuation symbol.
187 +by using \f(CR\*(C`\e\*(C'\fR as the line-continuation symbol.
188 .PP
189 There are two environment variables that \fBbundledoc\fR makes available
190 -for use by configuration-file commands: \f(CW\*(C`BDBASE\*(C'\fR, which is set to
191 -\&\fIsomefile\fR (as in \*(L"\s-1OPTIONS\*(R"\s0), and \f(CW\*(C`BDINPUTS\*(C'\fR, which is set to a
192 +for use by configuration-file commands: \f(CR\*(C`BDBASE\*(C'\fR, which is set to
193 +\&\fIsomefile\fR (as in \*(L"\s-1OPTIONS\*(R"\s0), and \f(CR\*(C`BDINPUTS\*(C'\fR, which is set to a
194 space-separated list of files that a command is to operate upon. That
195 -is, when the command associated with \f(CW\*(C`bundle\*(C'\fR is running, \f(CW\*(C`BDINPUTS\*(C'\fR
196 +is, when the command associated with \f(CR\*(C`bundle\*(C'\fR is running, \f(CR\*(C`BDINPUTS\*(C'\fR
197 contains the list of all the files that are to be archived. In
198 -contrast, when the command associated with \f(CW\*(C`find\*(C'\fR is running,
199 -\&\f(CW\*(C`BDINPUTS\*(C'\fR contains the name of the file to search for.
200 +contrast, when the command associated with \f(CR\*(C`find\*(C'\fR is running,
201 +\&\f(CR\*(C`BDINPUTS\*(C'\fR contains the name of the file to search for.
202 .SS "Examples"
203 .IX Subsection "Examples"
204 The following configuration file parallels \fBbundledoc\fR's default
205 @@ -359,20 +362,20 @@ or \s-1GNU\s0 \fBtar\fR:
206 \& find: kpsewhich \-progname=latex $BDINPUTS
207 .Ve
208 .PP
209 -The parentheses in the \f(CW\*(C`bundle:\*(C'\fR line tell the Unix shell to run the
210 -command in a subshell. This is to make the \f(CW\*(C`sink:\*(C'\fR affix work
211 -properly (i.e., so there aren't two \f(CW\*(C`>\*(C'\fR's in the same command).
212 +The parentheses in the \f(CR\*(C`bundle:\*(C'\fR line tell the Unix shell to run the
213 +command in a subshell. This is to make the \f(CR\*(C`sink:\*(C'\fR affix work
214 +properly (i.e., so there aren't two \f(CR\*(C`>\*(C'\fR's in the same command).
215 .PP
216 -Notice how the commands treat \f(CW\*(C`BDBASE\*(C'\fR and \f(CW\*(C`BDINPUTS\*(C'\fR like any other
217 -environment variables in a Unix shell, using \f(CW\*(C`$\*(C'\fR to take their value.
218 +Notice how the commands treat \f(CR\*(C`BDBASE\*(C'\fR and \f(CR\*(C`BDINPUTS\*(C'\fR like any other
219 +environment variables in a Unix shell, using \f(CR\*(C`$\*(C'\fR to take their value.
220 Other operating systems use different conventions for referring to
221 environment variables. For instance, a configuration file for a
222 -Windows-based TeX distribution would use \f(CW\*(C`%BDBASE%\*(C'\fR and \f(CW\*(C`%BDINPUTS%\*(C'\fR
223 +Windows-based TeX distribution would use \f(CR\*(C`%BDBASE%\*(C'\fR and \f(CR\*(C`%BDINPUTS%\*(C'\fR
224 instead.
225 .PP
226 -The value for \f(CW\*(C`sink:\*(C'\fR is specific to an operating system. The value
227 -for \f(CW\*(C`find:\*(C'\fR is specific to a TeX distribution. \f(CW\*(C`bundle:\*(C'\fR is where
228 -the most opportunity for customization lies. You can use \f(CW\*(C`bundle:\*(C'\fR
229 +The value for \f(CR\*(C`sink:\*(C'\fR is specific to an operating system. The value
230 +for \f(CR\*(C`find:\*(C'\fR is specific to a TeX distribution. \f(CR\*(C`bundle:\*(C'\fR is where
231 +the most opportunity for customization lies. You can use \f(CR\*(C`bundle:\*(C'\fR
232 to specify your favorite archive format. For example, you can produce
233 a shar file on Unix with something like:
234 .PP
235 @@ -445,13 +448,13 @@ files; older version of MikTeX required
236 This is a variant of \fItexlive\-unix.cfg\fR that uses \fBarlatex\fR instead
237 of \fBgzip\fR to archive files. \fBarlatex\fR is a script included in the
238 \&\fBbundledoc\fR distribution that generates a self-extracting \fI.tex\fR
239 -file based on LaTeX's \f(CW\*(C`filecontents\*(C'\fR environment.
240 +file based on LaTeX's \f(CR\*(C`filecontents\*(C'\fR environment.
241 .SH "NOTES"
242 .IX Header "NOTES"
243 .SS "Including and excluding files"
244 .IX Subsection "Including and excluding files"
245 -The \f(CW\*(C`\-\-localonly\*(C'\fR, \f(CW\*(C`\-\-exclude\*(C'\fR, and \f(CW\*(C`\-\-include\*(C'\fR options provide
246 -control over the archive's contents. \f(CW\*(C`\-\-exclude\*(C'\fR and \f(CW\*(C`\-\-include\*(C'\fR
247 +The \f(CR\*(C`\-\-localonly\*(C'\fR, \f(CR\*(C`\-\-exclude\*(C'\fR, and \f(CR\*(C`\-\-include\*(C'\fR options provide
248 +control over the archive's contents. \f(CR\*(C`\-\-exclude\*(C'\fR and \f(CR\*(C`\-\-include\*(C'\fR
249 can be specified repeatedly on the command line. The order in which
250 these options are specified is immaterial; \fBbundledoc\fR processes file
251 inclusions and exclusions in the following order:
252 @@ -459,26 +462,26 @@ inclusions and exclusions in the followi
253 All files referenced by the \fI.dep\fR file are added to the list of
254 files to archive.
255 .IP "2." 4
256 -If \f(CW\*(C`\-\-localonly\*(C'\fR is specified, all files not found in the \fI.tex\fR
257 +If \f(CR\*(C`\-\-localonly\*(C'\fR is specified, all files not found in the \fI.tex\fR
258 file's directory are removed from the list.
259 .IP "3." 4
260 -For each \f(CW\*(C`\-\-exclude\*(C'\fR string specified, all files containing that
261 +For each \f(CR\*(C`\-\-exclude\*(C'\fR string specified, all files containing that
262 string are removed from the list.
263 .IP "4." 4
264 -For each \f(CW\*(C`\-\-include\*(C'\fR file specification, the set of files designated
265 +For each \f(CR\*(C`\-\-include\*(C'\fR file specification, the set of files designated
266 by its expansion are added to the list.
267 .SS "Issues When Running Under Microsoft Windows"
268 .IX Subsection "Issues When Running Under Microsoft Windows"
269 First, because \fBbundledoc\fR is a Perl script, you should do one of the
270 following to run it under Windows:
271 .IP "\(bu" 4
272 -\&\f(CW\*(C`perl bundledoc\*(C'\fR
273 +\&\f(CR\*(C`perl bundledoc\*(C'\fR
274 .IP "\(bu" 4
275 -Rename \fIbundledoc\fR to \fIbundledoc.pl\fR and run \f(CW\*(C`bundledoc.pl\*(C'\fR. (This
276 +Rename \fIbundledoc\fR to \fIbundledoc.pl\fR and run \f(CR\*(C`bundledoc.pl\*(C'\fR. (This
277 is assuming you have a file association set up for \fI.pl\fR.)
278 .IP "\(bu" 4
279 Run the \fBpl2bat\fR script (if you have it) to convert \fIbundledoc\fR to
280 -\&\fIbundledoc.bat\fR, then run \f(CW\*(C`bundledoc\*(C'\fR.
281 +\&\fIbundledoc.bat\fR, then run \f(CR\*(C`bundledoc\*(C'\fR.
282 .PP
283 Second, Windows uses a multi-rooted filesystem (i.e., multiple drive
284 letters). I wouldn't be surprised if bad things were to happen if the
285 @@ -525,8 +528,8 @@ other common font formats, as well.
286 .SS "Acknowledgments"
287 .IX Subsection "Acknowledgments"
288 Thanks to Fabien Vignes-Tourneret for suggesting what became the
289 -\&\f(CW\*(C`\-\-localonly\*(C'\fR option and for a discussion that led to the
290 -\&\f(CW\*(C`\-\-exclude\*(C'\fR and \f(CW\*(C`\-\-include\*(C'\fR options; to Marius Kleiner for updating
291 +\&\f(CR\*(C`\-\-localonly\*(C'\fR option and for a discussion that led to the
292 +\&\f(CR\*(C`\-\-exclude\*(C'\fR and \f(CR\*(C`\-\-include\*(C'\fR options; to Marius Kleiner for updating
293 \&\fBbundledoc\fR to properly handle document subdirectories; and to Frank
294 Mittelbach for suggesting using Kpathsea to help find \fI.cfg\fR files
295 and to automatically append \fI.cfg\fR and \fI.dep\fR extensions if
296