Debian Codegraph @

debian/patches/makeindex_1.diff

raw symbols SCIP
1 Description: troff:<standard input>:576: warning: cannot select font 'C'
2 The makeindex manual pages uses heavily the \fC call. This is not a valid font,
3 hence groff complains. This patch replaces the \fC font call to avoid warning
4 when formatting the manual page.
5 Author: Karl Berry <[email protected]>
6 Origin: upstream
7 Forwarded: https://tug.org/pipermail/tex-k/2026-April/004303.html
8 Applied-Upstream: https://svn.tug.org:8369/texlive?revision=78683&view=revision
9 Reviewed-by: G. Branden Robinson <[email protected]>
10 Last-Update: 2026-04-12
11 ---
12 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
13 --- texlive-bin.orig/texk/makeindexk/makeindex.1
14 +++ texlive-bin/texk/makeindexk/makeindex.1
15 @@ -1,12 +1,13 @@
16 -.if t .ds LX L\\h'-0.36m'\\v'-0.15v'\\s-2A\\s+2\\h'-0.15m'\\v'0.15v'T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
17 -.if n .ds LX LaTeX
18 -.if t .ds TX T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
19 +.if t .ds TX \fRT\\h'-0.10m'\\v'0.17v'E\\v'-0.17v'\\h'-0.06m'X\fP
20 .if n .ds TX TeX
21 +.\" LX definition must follow TX so LX can use TX
22 +.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX
23 +.if n .ds LX LaTeX
24 .ds Ts T\s-2RAN\s+2S\s-2CRIPT\s+2
25 .if t .ds Uc \fIU\\h'-0.12m'C\\v'0.27m'\\h'-.23m'S\\h'-0.11m'F\\v'-0.27m'\fP
26 .if n .ds Uc UCSF
27 .ds Et \\f(boE\\h'-0.1667m'\\v'-0.20v'T\\v'0.20v'\\h'-0.125m'T\\fP
28 -.TH MAKEINDEX 1 "12 November 2014" "TeX Live" "TeX Live"
29 +.TH MAKEINDEX 1 "12 April 2026" "TeX Live"
30 .\"=====================================================================
31 .SH NAME
32 makeindex \- a general purpose, formatter-independent index processor
33 @@ -573,7 +574,7 @@
34 .LP
35 .RS
36 .nf
37 -\fCpreamble
38 +\f(CWpreamble
39 "\\\\documentstyle[12pt]{book}
40 \\\\begin{document}
41 \\\\begin{theindex}
42 @@ -593,7 +594,7 @@
43 .IR footmp.ind :
44 .LP
45 .RS
46 -\fCmakeindex \-s book.ist \-o footmp.ind \-p odd foo\fP
47 +\f(CWmakeindex \-s book.ist \-o footmp.ind \-p odd foo\fP
48 .RE
49 .LP
50 Here a non-default output file name is used to avoid clobbering the
51 @@ -608,7 +609,7 @@
52 .LP
53 .RS
54 .nf
55 -\&\fCkeyword "IX:"
56 +\&\f(CWkeyword "IX:"
57 \&preamble
58 \&".\\\\\\" start of index output
59 \&\\".\\\\\\" enter two column mode
60 @@ -665,7 +666,7 @@
61 .LP
62 .RS
63 .nf
64 -\fC\&.\" IX - index words to stderr
65 +\f(CW\&.\" IX - index words to stderr
66 \&.de IX
67 \&.ie '\\\\n(.z'' .tm IX: \\\\$1 \\\\$2 \\\\$3 \\\\$4 \\\\$5 \\\\$6 \\\\$7 \\\\$8 \\\\$9 {\\\\n(PN}
68 \&.el \\\\!.IX \\\\$1 \\\\$2 \\\\$3 \\\\$4 \\\\$5 \\\\$6 \\\\$7 \\\\$8 \\\\$9 {\\\\n(PN}
69 @@ -673,7 +674,7 @@
70 .fi
71 .RE
72 .LP
73 -(note that the string {\fC\\\\n(PN\fP} is separated from the rest of the
74 +(note that the string {\f(CW\\\\n(PN\fP} is separated from the rest of the
75 line by a tab.
76 If your local macro package does not contain this extension,
77 just include those lines at the beginning of your file.
78 @@ -684,7 +685,7 @@
79 .LP
80 .RS
81 .nf
82 -\fC\&This is a sample file to test the \\fImakeindex\\fP(1L)
83 +\f(CW\&This is a sample file to test the \\fImakeindex\\fP(1L)
84 \&program, and see
85 \&.IX {indexing!programs!C language}
86 \&.IX {makeindex@\\fImakeindex\\fP(1L)}
87 @@ -711,7 +712,7 @@
88 environment, do the equivalent at your site of the command:
89 .LP
90 .nf
91 -\fCpsroff -ms -Tpsc -t sample.txt > /dev/null 2> sample.tmp\fP
92 +\f(CWpsroff -ms -Tpsc -t sample.txt > /dev/null 2> sample.tmp\fP
93 .fi
94 .LP
95 Some sites will require
96 @@ -722,7 +723,7 @@
97 .IR grep (1):
98 .LP
99 .RS
100 -\fCgrep '^IX: ' sample.tmp > sample.idx\fP
101 +\f(CWgrep '^IX: ' sample.tmp > sample.idx\fP
102 .RE
103 .\"---------------------------------------------------------------------
104 .SS "CREATING THE INDEX FILE USING \*(Uc ENHANCED TROFF/\*(Ts"
105 @@ -733,14 +734,14 @@
106 can produce both formatter output and an index file:
107 .LP
108 .RS
109 -\fCpsroff -ms -I sample.inp -Tpsc sample.txt\fP
110 +\f(CWpsroff -ms -I sample.inp -Tpsc sample.txt\fP
111 .RE
112 .LP
113 If it is wished to suppress the formatter output:
114 .RS
115 .LP
116 .nf
117 -\fCpsroff -ms -I sample.inp -Tpsc -t sample.txt > /dev/null\fP
118 +\f(CWpsroff -ms -I sample.inp -Tpsc -t sample.txt > /dev/null\fP
119 .fi
120 .RE
121 .\"---------------------------------------------------------------------
122 @@ -753,7 +754,7 @@
123 .IR makeindex :
124 .LP
125 .RS
126 -\fCmakeindex -s sample.ist sample.idx\fP
127 +\f(CWmakeindex -s sample.ist sample.idx\fP
128 .RE
129 .LP
130 This leaves
131 @@ -805,7 +806,7 @@
132 .LP
133 .RS
134 .nf
135 -\fC\\indexentry{alpha}{1}
136 +\f(CW\\indexentry{alpha}{1}
137 \\indexentry{alpha!beta}{3}
138 \\indexentry{alpha!beta!gamma}{10}\fP
139 .fi
140 @@ -815,7 +816,7 @@
141 .LP
142 .RS
143 .nf
144 -\fC\\item alpha, 1
145 +\f(CW\\item alpha, 1
146 \0\0\0\\subitem beta, 3
147 \0\0\0\0\0\0\\subsubitem gamma, 10\fP
148 .fi
149 @@ -833,13 +834,13 @@
150 (`@') operator. For instance,
151 .LP
152 .RS
153 -\fC\\indexentry{alpha@{\\it alpha\\/}}{1}\fP
154 +\f(CW\\indexentry{alpha@{\\it alpha\\/}}{1}\fP
155 .RE
156 .LP
157 will become
158 .LP
159 .RS
160 -\fC\\item {\\it alpha\\/}, 1\fP
161 +\f(CW\\item {\\it alpha\\/}, 1\fP
162 .RE
163 .LP
164 after processing. The pattern preceding `@' is
165 @@ -855,7 +856,7 @@
166 .LP
167 .RS
168 .nf
169 -\fC\\indexentry{aa@{\\it aa\\/}!bb@{\\it bb\\/}!cc@{\\it cc\\/}}{1}\fP
170 +\f(CW\\indexentry{aa@{\\it aa\\/}!bb@{\\it bb\\/}!cc@{\\it cc\\/}}{1}\fP
171 .fi
172 .RE
173 .LP
174 @@ -863,7 +864,7 @@
175 .LP
176 .RS
177 .nf
178 -\fC\\item {\\it aa}, 1
179 +\f(CW\\item {\\it aa}, 1
180 \0\0\0\\subitem {\\it bb}, 3
181 \0\0\0\0\0\0\\subsubitem {\\it cc}, 10\fP
182 .fi
183 @@ -875,17 +876,17 @@
184 (`|') operator:
185 .LP
186 .RS
187 -\fC\\indexentry{alpha|bold}{1}\fP
188 +\f(CW\\indexentry{alpha|bold}{1}\fP
189 .RE
190 .LP
191 will be converted to
192 .LP
193 .RS
194 -\fC\\item alpha, \\bold{1}\fP
195 +\f(CW\\item alpha, \\bold{1}\fP
196 .RE
197 .LP
198 -where, with a suitable definition for \*(TX, \fC\\bold{n}\fP
199 -will expand to \fC{\\bf n}\fP.
200 +where, with a suitable definition for \*(TX, \f(CW\\bold{n}\fP
201 +will expand to \f(CW{\\bf n}\fP.
202 In this example, the three output attributes associated with page
203 encapsulation
204 .BR encap_prefix ,
205 @@ -904,25 +905,25 @@
206 the index:
207 .LP
208 .RS
209 -\fC\\indexentry{alpha|see{beta}}{1}\fP
210 +\f(CW\\indexentry{alpha|see{beta}}{1}\fP
211 .RE
212 .LP
213 will become
214 .LP
215 .RS
216 -\fC\\item alpha, \\see{beta}{1}\fP
217 +\f(CW\\item alpha, \\see{beta}{1}\fP
218 .RE
219 .LP
220 in the output file, where
221 .LP
222 .RS
223 -\fC\\see{beta}{1}\fP
224 +\f(CW\\see{beta}{1}\fP
225 .RE
226 .LP
227 will expand to
228 .LP
229 .RS
230 -\fC{\\it see\\/} beta\fP
231 +\f(CW{\\it see\\/} beta\fP
232 .RE
233 .LP
234 Note that in a cross reference like this the page number disappears.
235 @@ -937,7 +938,7 @@
236 .LP
237 .RS
238 .nf
239 -\fC\\indexentry{alpha|(}{1}
240 +\f(CW\\indexentry{alpha|(}{1}
241 \\indexentry{alpha|)}{5}\fP
242 .fi
243 .RE
244 @@ -945,7 +946,7 @@
245 will become
246 .LP
247 .RS
248 -\fC\\item alpha, 1\(em5\fP
249 +\f(CW\\item alpha, 1\(em5\fP
250 .RE
251 .LP
252 Intermediate pages indexed by the same key will be merged into the
253 @@ -958,7 +959,7 @@
254 .LP
255 .RS
256 .nf
257 -\fC\\indexentry{alpha|(bold}{1}
258 +\f(CW\\indexentry{alpha|(bold}{1}
259 \\indexentry{alpha|)}{5}\fP
260 .fi
261 .RE
262 @@ -966,14 +967,14 @@
263 will become
264 .LP
265 .RS
266 -\fC\\item alpha, \\bold{1--5}\fP
267 +\f(CW\\item alpha, \\bold{1--5}\fP
268 .RE
269 .LP
270 Several potential problems are worth mentioning. First, entries like
271 .LP
272 .RS
273 .nf
274 -\fC\\indexentry{alpha|(}{1}
275 +\f(CW\\indexentry{alpha|(}{1}
276 \\indexentry{alpha|bold}{3}
277 \\indexentry{alpha|)}{5}\fP
278 .fi
279 @@ -982,7 +983,7 @@
280 will be interpreted as
281 .LP
282 .RS
283 -\fC\\item alpha, \\bold{3}, 1--5\fP
284 +\f(CW\\item alpha, \\bold{3}, 1--5\fP
285 .RE
286 .LP
287 but with a warning message in the transcript about encountering an
288 @@ -994,7 +995,7 @@
289 .LP
290 .RS
291 .nf
292 -\fC\\indexentry{alpha|(}{i}
293 +\f(CW\\indexentry{alpha|(}{i}
294 \\indexentry{alpha}{iv}
295 \\indexentry{alpha}{3}
296 \\indexentry{alpha|)}{7}\fP
297 @@ -1004,7 +1005,7 @@
298 will be turned into
299 .LP
300 .RS
301 -\fC\\item alpha, i--iv, 3--7\fP
302 +\f(CW\\item alpha, i--iv, 3--7\fP
303 .RE
304 .LP
305 with a warning message in the transcript file complaining about an
306 @@ -1016,13 +1017,13 @@
307 operator (`"'). Thus
308 .LP
309 .RS
310 -\fC\\indexentry{alpha"@beta}{1}\fP
311 +\f(CW\\indexentry{alpha"@beta}{1}\fP
312 .RE
313 .LP
314 will actually become
315 .LP
316 .RS
317 -\fC\\item alpha@beta, 1\fP
318 +\f(CW\\item alpha@beta, 1\fP
319 .RE
320 .LP
321 as a result of executing
322 @@ -1035,13 +1036,13 @@
323 (`\\'). For example,
324 .LP
325 .RS
326 -\fC\\indexentry{f\\"ur}{1}\fP
327 +\f(CW\\indexentry{f\\"ur}{1}\fP
328 .RE
329 .LP
330 becomes
331 .LP
332 .RS
333 -\fC\\item f\\"ur, 1\fP
334 +\f(CW\\item f\\"ur, 1\fP
335 .RE
336 .LP
337 which represents an umlaut-accented `u' to the \*(TX family of
338 @@ -1084,7 +1085,7 @@
339 .RS
340 .nf
341
342 -\fC\\indexentry{" @" (space)}{32}
343 +\f(CW\\indexentry{" @" (space)}{32}
344 \\indexentry{"!@"! (exclamation point)}{33}
345 \\indexentry{""@"" (quotation mark)}{34}
346 \\indexentry{"#@"\\# (sharp sign)}{35}
347 @@ -1119,7 +1120,7 @@
348 .RS
349 .nf
350
351 -\fC\\begin{theindex}
352 +\f(CW\\begin{theindex}
353
354 \\item ! (exclamation point), 33
355 \\item " (quotation mark), 34
356 @@ -1230,5 +1231,5 @@
357 .PP
358 .I makeindex
359 is currently maintained as part of the \*(TX Live
360 -distribution (http://tug.org/texlive); please send bug reports to
361 +distribution (https://tug.org/texlive); please send bug reports to
362 [email protected].