]>
Commit | Line | Data |
---|---|---|
466e833f JB |
1 | --- docbook-to-man-2.0.0.orig/debian/patches/01-conglomeration.dpatch |
2 | +++ docbook-to-man-2.0.0/debian/patches/01-conglomeration.dpatch | |
3 | @@ -0,0 +1,1496 @@ | |
4 | +#!/bin/sh /usr/share/dpatch/dpatch-run | |
5 | +## 01-conglomeration.dpatch | |
6 | +## | |
7 | +## DP: FIXME - Patches need to be broken out. | |
8 | + | |
9 | +@DPATCH@ | |
10 | + | |
11 | +diff -Naur docbook-to-man-2.0.0.orig/Doc/Makefile docbook-to-man-2.0.0/Doc/Makefile | |
12 | +--- docbook-to-man-2.0.0.orig/Doc/Makefile 1970-01-01 00:00:00.000000000 +0000 | |
13 | ++++ docbook-to-man-2.0.0/Doc/Makefile 2006-07-29 15:23:05.000000000 +0000 | |
14 | +@@ -0,0 +1,6 @@ | |
15 | ++# $Id$ | |
16 | ++ | |
17 | ++docbook-to-man.1: docbook-to-man.sgml | |
18 | ++ nsgmls -i roff docbook-to-man.sgml | \ | |
19 | ++ instant -t docbook-to-man.ts -c roff.cmap -s roff.sdata > \ | |
20 | ++ docbook-to-man.1 | |
21 | +diff -Naur docbook-to-man-2.0.0.orig/Doc/docbook-to-man.1 docbook-to-man-2.0.0/Doc/docbook-to-man.1 | |
22 | +--- docbook-to-man-2.0.0.orig/Doc/docbook-to-man.1 1970-01-01 00:00:00.000000000 +0000 | |
23 | ++++ docbook-to-man-2.0.0/Doc/docbook-to-man.1 2006-07-29 15:23:05.000000000 +0000 | |
24 | +@@ -0,0 +1,141 @@ | |
25 | ++.\" $Header$ | |
26 | ++.\" | |
27 | ++.\" transcript compatibility for postscript use. | |
28 | ++.\" | |
29 | ++.\" synopsis: .P! <file.ps> | |
30 | ++.\" | |
31 | ++.de P! | |
32 | ++.fl | |
33 | ++\!!1 setgray | |
34 | ++.fl | |
35 | ++\\&.\" | |
36 | ++.fl | |
37 | ++\!!0 setgray | |
38 | ++.fl \" force out current output buffer | |
39 | ++\!!save /psv exch def currentpoint translate 0 0 moveto | |
40 | ++\!!/showpage{}def | |
41 | ++.fl \" prolog | |
42 | ++.sy sed \-e 's/^/!/' \\$1\" bring in postscript file | |
43 | ++\!!psv restore | |
44 | ++. | |
45 | ++.de pF | |
46 | ++.ie \a\\*(f1\a\a .ds f1 \\n(.f | |
47 | ++.el .ie \a\\*(f2\a\a .ds f2 \\n(.f | |
48 | ++.el .ie \a\\*(f3\a\a .ds f3 \\n(.f | |
49 | ++.el .ie \a\\*(f4\a\a .ds f4 \\n(.f | |
50 | ++.el .tm ? font overflow | |
51 | ++.ft \\$1 | |
52 | ++.. | |
53 | ++.de fP | |
54 | ++.ie !\a\\*(f4\a\a \{\ | |
55 | ++. ft \\*(f4 | |
56 | ++. ds f4\" | |
57 | ++' br \} | |
58 | ++.el .ie !\a\\*(f3\a\a \{\ | |
59 | ++. ft \\*(f3 | |
60 | ++. ds f3\" | |
61 | ++' br \} | |
62 | ++.el .ie !\a\\*(f2\a\a \{\ | |
63 | ++. ft \\*(f2 | |
64 | ++. ds f2\" | |
65 | ++' br \} | |
66 | ++.el .ie !\a\\*(f1\a\a \{\ | |
67 | ++. ft \\*(f1 | |
68 | ++. ds f1\" | |
69 | ++' br \} | |
70 | ++.el .tm ? font underflow | |
71 | ++.. | |
72 | ++.ds f1\" | |
73 | ++.ds f2\" | |
74 | ++.ds f3\" | |
75 | ++.ds f4\" | |
76 | ++'\" t | |
77 | ++.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
78 | ++.TH "docbook-to-man" "1" | |
79 | ++.SH "NAME" | |
80 | ++docbook-to-man \(em convert \fBDocBook\fP SGML into roff \-man macros | |
81 | ++.SH "SYNOPSIS" | |
82 | ++.PP | |
83 | ++\fBdocbook-to-man\fR [\fIsource.sgml\fR] [>] [\fIdestination.1\fR] | |
84 | ++.SH "DESCRIPTION" | |
85 | ++.PP | |
86 | ++The docbook-to-man tool is a batch converter that transforms | |
87 | ++UNIX-style manpages from the \fBDocBook\fP SGML DTD into nroff/troff \-man macros. | |
88 | ++.PP | |
89 | ++docbook-to-man is the shell command that runs the low-level | |
90 | ++components to translate a single \fBDocBook\fP SGML document | |
91 | ++instance (whose document element is <RefEntry>) into | |
92 | ++pretty-much vanilla \-man macros, with tables rendered in | |
93 | ++tbl. | |
94 | ++.PP | |
95 | ++This is not the original version by Fred Dalrymple, but one | |
96 | ++with the ANS Modifications by David Bolen (db3l@ans.net). | |
97 | ++.PP | |
98 | ++This manual page and some small changes are by W. Borgert | |
99 | ++debacle@debian.org for \fBDebian GNU/Linux\fP. Permission is | |
100 | ++granted to copy, distribute and/or modify this document under | |
101 | ++the terms of the GNU Free Documentation | |
102 | ++License, Version 1.1 or any later version published by the Free | |
103 | ++Software Foundation; with no Invariant Sections, no Front-Cover | |
104 | ++Texts and no Back-Cover Texts. | |
105 | ++.SH "White space and special characters" | |
106 | ++.PP | |
107 | ++If you want to use tabs in your manpage you should use <programlisting>, <literal> or <screen> and invoke docbook-to-man with INSTANT_OPT set to a tab character. Be aware that multiple tabs will be collapsed into one. | |
108 | ++.PP | |
109 | ++When you want to collapse white space into one, you should invoke docbook-to-man with INSTANT_OPT set to a space character. | |
110 | ++.PP | |
111 | ++Special characters like \\, ' or . will not be interpreted if you set INSTANT_OPT to a space or tab character. | |
112 | ++.SH "ENVIRONMENT" | |
113 | ++.PP | |
114 | ++If the variable INSTANT_OPT is not set, the | |
115 | ++\fBinstant(1)\fR is called with the parameter | |
116 | ++\fB\-d\fP by docbook-to-man. If you don't want this, | |
117 | ++e.g. if you want to use some special characters literally in | |
118 | ++your SGML file, you can set INSTANT_OPT to just | |
119 | ++a space character: | |
120 | ++.PP | |
121 | ++\fBINSTANT_OPT=" | |
122 | ++" docbook-to-man src.sgml > | |
123 | ++dst.1\fR | |
124 | ++. | |
125 | ++.PP | |
126 | ++Note: The better way to use special characters like ^ or | |
127 | ++> is to write them in the SGML way, i.e. ⁁ | |
128 | ++or >. | |
129 | ++.SH "COPYRIGHT" | |
130 | ++.PP | |
131 | ++Copyright (c) 1996 X Consortium | |
132 | ++.PP | |
133 | ++Copyright (c) 1996 Dalrymple Consulting | |
134 | ++.PP | |
135 | ++Permission is hereby granted, free of charge, to any person | |
136 | ++obtaining a copy of this software and associated documentation | |
137 | ++files (the "Software"), to deal in the Software without | |
138 | ++restriction, including without limitation the rights to use, | |
139 | ++copy, modify, merge, publish, distribute, sublicense, and/or | |
140 | ++sell copies of the Software, and to permit persons to whom the | |
141 | ++Software is furnished to do so, subject to the following | |
142 | ++conditions: | |
143 | ++.PP | |
144 | ++The above copyright notice and this permission notice shall | |
145 | ++be included in all copies or substantial portions of the | |
146 | ++Software. | |
147 | ++.PP | |
148 | ++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | |
149 | ++KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | |
150 | ++WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE | |
151 | ++AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM OR | |
152 | ++DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
153 | ++LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
154 | ++ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | |
155 | ++USE OR OTHER DEALINGS IN THE SOFTWARE. | |
156 | ++.PP | |
157 | ++Except as contained in this notice, the names of the X | |
158 | ++Consortium and Dalrymple Consulting shall not be used in | |
159 | ++advertising or otherwise to promote the sale, use or other | |
160 | ++dealings in this Software without prior written | |
161 | ++authorization. | |
162 | ++.SH "See also" | |
163 | ++.PP | |
164 | ++instant(1) and transpec(5) | |
165 | ++.\" created by instant / docbook-to-man, Fri 10 Sep 2004, 13:13 | |
166 | +diff -Naur docbook-to-man-2.0.0.orig/Doc/docbook-to-man.sgml docbook-to-man-2.0.0/Doc/docbook-to-man.sgml | |
167 | +--- docbook-to-man-2.0.0.orig/Doc/docbook-to-man.sgml 1970-01-01 00:00:00.000000000 +0000 | |
168 | ++++ docbook-to-man-2.0.0/Doc/docbook-to-man.sgml 2006-07-29 15:23:05.000000000 +0000 | |
169 | +@@ -0,0 +1,125 @@ | |
170 | ++<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ | |
171 | ++ <!ENTITY debian "<productname>Debian GNU/Linux</productname>"> | |
172 | ++ <!ENTITY docbook "<productname>DocBook</productname>"> | |
173 | ++ <!ENTITY sgml "<abbrev>SGML</abbrev>"> | |
174 | ++]> | |
175 | ++ | |
176 | ++<!-- Manual page for docbook-to-man, DocBook source file | |
177 | ++ (C) 1999 W. Borgert debacle@debian.org | |
178 | ++ | |
179 | ++ $Id$ --> | |
180 | ++ | |
181 | ++<refentry> | |
182 | ++ <refentryinfo> | |
183 | ++ <address> | |
184 | ++ <email>debacle@debian.org</email> | |
185 | ++ </address> | |
186 | ++ <author> | |
187 | ++ <firstname>W.</firstname> | |
188 | ++ <surname>Borgert</surname> | |
189 | ++ </author> | |
190 | ++ <date>1999-06-03</date> | |
191 | ++ </refentryinfo> | |
192 | ++ <refmeta> | |
193 | ++ <refentrytitle>docbook-to-man</refentrytitle> | |
194 | ++ <manvolnum>1</manvolnum> | |
195 | ++ </refmeta> | |
196 | ++ <refnamediv> | |
197 | ++ <refname>docbook-to-man</refname> <refpurpose>convert &docbook; | |
198 | ++ &sgml; into roff \-man macros</refpurpose> | |
199 | ++ </refnamediv> | |
200 | ++ <refsynopsisdiv> | |
201 | ++ <cmdsynopsis> | |
202 | ++ <command>docbook-to-man</command> | |
203 | ++ <arg><replaceable>source.sgml</replaceable></arg> | |
204 | ++ <arg>></arg> | |
205 | ++ <arg><replaceable>destination.1</replaceable></arg> | |
206 | ++ </cmdsynopsis> | |
207 | ++ </refsynopsisdiv> | |
208 | ++ <refsect1> | |
209 | ++ <title>DESCRIPTION</title> | |
210 | ++ | |
211 | ++ <para>The docbook-to-man tool is a batch converter that transforms | |
212 | ++ UNIX-style manpages from the &docbook; &sgml; | |
213 | ++ <abbrev>DTD</abbrev> into nroff/troff \-man macros.</para> | |
214 | ++ | |
215 | ++ <para>docbook-to-man is the shell command that runs the low-level | |
216 | ++ components to translate a single &docbook; &sgml; document | |
217 | ++ instance (whose document element is <RefEntry>) into | |
218 | ++ pretty-much vanilla \-man macros, with tables rendered in | |
219 | ++ tbl.</para> | |
220 | ++ | |
221 | ++ <para>This is not the original version by Fred Dalrymple, but one | |
222 | ++ with the ANS Modifications by David Bolen (db3l@ans.net).</para> | |
223 | ++ | |
224 | ++ <para>This manual page and some small changes are by W. Borgert | |
225 | ++ <email>debacle@debian.org</email> for &debian;. Permission is | |
226 | ++ granted to copy, distribute and/or modify this document under | |
227 | ++ the terms of the <acronym>GNU</acronym> Free Documentation | |
228 | ++ License, Version 1.1 or any later version published by the Free | |
229 | ++ Software Foundation; with no Invariant Sections, no Front-Cover | |
230 | ++ Texts and no Back-Cover Texts.</para> | |
231 | ++ </refsect1> | |
232 | ++ <refsect1> | |
233 | ++ <title>White space and special characters</title> | |
234 | ++ <para>If you want to use tabs in your manpage you should use <programlisting>, <literal> or <screen> and invoke docbook-to-man with <envar>INSTANT_OPT</envar> set to a tab character. Be aware that multiple tabs will be collapsed into one.</para> | |
235 | ++ <para>When you want to collapse white space into one, you should invoke docbook-to-man with <envar>INSTANT_OPT</envar> set to a space character.</para> | |
236 | ++ <para>Special characters like \\, ' or . will not be interpreted if you set <envar>INSTANT_OPT</envar> to a space or tab character.</para> | |
237 | ++ </refsect1> | |
238 | ++ <refsect1> | |
239 | ++ <title>ENVIRONMENT</title> | |
240 | ++ <subtitle>INSTANT_OPT</subtitle> | |
241 | ++ <para>If the variable <envar>INSTANT_OPT</envar> is not set, the | |
242 | ++ <command>instant(1)</command> is called with the parameter | |
243 | ++ <option>-d</option> by docbook-to-man. If you don't want this, | |
244 | ++ e.g. if you want to use some special characters literally in | |
245 | ++ your &sgml; file, you can set <envar>INSTANT_OPT</envar> to just | |
246 | ++ a space character: <cmdsynopsis><command>INSTANT_OPT=" | |
247 | ++ " docbook-to-man src.sgml > | |
248 | ++ dst.1</command></cmdsynopsis>.</para> | |
249 | ++ | |
250 | ++ <para>Note: The better way to use special characters like ⁁ or | |
251 | ++ > is to write them in the &sgml; way, i.e. &caret; | |
252 | ++ or &gt;.</para> | |
253 | ++ </refsect1> | |
254 | ++ <refsect1> | |
255 | ++ <title>COPYRIGHT</title> | |
256 | ++ | |
257 | ++ <para>Copyright (c) 1996 X Consortium</para> | |
258 | ++ <para>Copyright (c) 1996 Dalrymple Consulting</para> | |
259 | ++ | |
260 | ++ <para>Permission is hereby granted, free of charge, to any person | |
261 | ++ obtaining a copy of this software and associated documentation | |
262 | ++ files (the "Software"), to deal in the Software without | |
263 | ++ restriction, including without limitation the rights to use, | |
264 | ++ copy, modify, merge, publish, distribute, sublicense, and/or | |
265 | ++ sell copies of the Software, and to permit persons to whom the | |
266 | ++ Software is furnished to do so, subject to the following | |
267 | ++ conditions:</para> | |
268 | ++ | |
269 | ++ <para>The above copyright notice and this permission notice shall | |
270 | ++ be included in all copies or substantial portions of the | |
271 | ++ Software.</para> | |
272 | ++ | |
273 | ++ <para>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | |
274 | ++ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | |
275 | ++ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE | |
276 | ++ AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM OR | |
277 | ++ DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
278 | ++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
279 | ++ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | |
280 | ++ USE OR OTHER DEALINGS IN THE SOFTWARE.</para> | |
281 | ++ | |
282 | ++ <para>Except as contained in this notice, the names of the X | |
283 | ++ Consortium and Dalrymple Consulting shall not be used in | |
284 | ++ advertising or otherwise to promote the sale, use or other | |
285 | ++ dealings in this Software without prior written | |
286 | ++ authorization.</para> | |
287 | ++ | |
288 | ++ </refsect1> | |
289 | ++ <refsect1> | |
290 | ++ <title>See also</title> | |
291 | ++ | |
292 | ++ <para>instant(1) and transpec(5)</para> | |
293 | ++ </refsect1> | |
294 | ++</refentry> | |
295 | +diff -Naur docbook-to-man-2.0.0.orig/Doc/instant.1 docbook-to-man-2.0.0/Doc/instant.1 | |
296 | +--- docbook-to-man-2.0.0.orig/Doc/instant.1 1999-07-03 12:58:22.000000000 +0000 | |
297 | ++++ docbook-to-man-2.0.0/Doc/instant.1 2006-07-29 15:23:05.000000000 +0000 | |
298 | +@@ -1,46 +1,46 @@ | |
299 | +-...\" | |
300 | +-...\" Copyright (c) 1994 | |
301 | +-...\" Open Software Foundation, Inc. | |
302 | +-...\" | |
303 | +-...\" Permission is hereby granted to use, copy, modify and freely distribute | |
304 | +-...\" the software in this file and its documentation for any purpose without | |
305 | +-...\" fee, provided that the above copyright notice appears in all copies and | |
306 | +-...\" that both the copyright notice and this permission notice appear in | |
307 | +-...\" supporting documentation. Further, provided that the name of Open | |
308 | +-...\" Software Foundation, Inc. ("OSF") not be used in advertising or | |
309 | +-...\" publicity pertaining to distribution of the software without prior | |
310 | +-...\" written permission from OSF. OSF makes no representations about the | |
311 | +-...\" suitability of this software for any purpose. It is provided "as is" | |
312 | +-...\" without express or implied warranty. | |
313 | +-...\" | |
314 | +-...\" Copyright (c) 1996 X Consortium | |
315 | +-...\" Copyright (c) 1996 Dalrymple Consulting | |
316 | +-...\" | |
317 | +-...\" Permission is hereby granted, free of charge, to any person obtaining a copy | |
318 | +-...\" of this software and associated documentation files (the "Software"), to deal | |
319 | +-...\" in the Software without restriction, including without limitation the rights | |
320 | +-...\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
321 | +-...\" copies of the Software, and to permit persons to whom the Software is | |
322 | +-...\" furnished to do so, subject to the following conditions: | |
323 | +-...\" | |
324 | +-...\" The above copyright notice and this permission notice shall be included in | |
325 | +-...\" all copies or substantial portions of the Software. | |
326 | +-...\" | |
327 | +-...\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
328 | +-...\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
329 | +-...\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
330 | +-...\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR | |
331 | +-...\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
332 | +-...\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
333 | +-...\" OTHER DEALINGS IN THE SOFTWARE. | |
334 | +-...\" | |
335 | +-...\" Except as contained in this notice, the names of the X Consortium and | |
336 | +-...\" Dalrymple Consulting shall not be used in advertising or otherwise to | |
337 | +-...\" promote the sale, use or other dealings in this Software without prior | |
338 | +-...\" written authorization. | |
339 | +-...\" | |
340 | +-...\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 21:59 | |
341 | +-.TH "instant" "user cmd" | |
342 | ++.\" -*- nroff -*- | |
343 | ++.\" Copyright (c) 1994 | |
344 | ++.\" Open Software Foundation, Inc. | |
345 | ++.\" | |
346 | ++.\" Permission is hereby granted to use, copy, modify and freely distribute | |
347 | ++.\" the software in this file and its documentation for any purpose without | |
348 | ++.\" fee, provided that the above copyright notice appears in all copies and | |
349 | ++.\" that both the copyright notice and this permission notice appear in | |
350 | ++.\" supporting documentation. Further, provided that the name of Open | |
351 | ++.\" Software Foundation, Inc. ("OSF") not be used in advertising or | |
352 | ++.\" publicity pertaining to distribution of the software without prior | |
353 | ++.\" written permission from OSF. OSF makes no representations about the | |
354 | ++.\" suitability of this software for any purpose. It is provided "as is" | |
355 | ++.\" without express or implied warranty. | |
356 | ++.\" | |
357 | ++.\" Copyright (c) 1996 X Consortium | |
358 | ++.\" Copyright (c) 1996 Dalrymple Consulting | |
359 | ++.\" | |
360 | ++.\" Permission is hereby granted, free of charge, to any person obtaining a copy | |
361 | ++.\" of this software and associated documentation files (the "Software"), to deal | |
362 | ++.\" in the Software without restriction, including without limitation the rights | |
363 | ++.\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
364 | ++.\" copies of the Software, and to permit persons to whom the Software is | |
365 | ++.\" furnished to do so, subject to the following conditions: | |
366 | ++.\" | |
367 | ++.\" The above copyright notice and this permission notice shall be included in | |
368 | ++.\" all copies or substantial portions of the Software. | |
369 | ++.\" | |
370 | ++.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
371 | ++.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
372 | ++.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
373 | ++.\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR | |
374 | ++.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
375 | ++.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
376 | ++.\" OTHER DEALINGS IN THE SOFTWARE. | |
377 | ++.\" | |
378 | ++.\" Except as contained in this notice, the names of the X Consortium and | |
379 | ++.\" Dalrymple Consulting shall not be used in advertising or otherwise to | |
380 | ++.\" promote the sale, use or other dealings in this Software without prior | |
381 | ++.\" written authorization. | |
382 | ++.\" | |
383 | ++.\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 21:59 | |
384 | ++.TH "instant" "1" "user cmd" | |
385 | + .SH "Name" | |
386 | + instant - manipulates ESIS from parsed SGML instance | |
387 | + .SH "Synopsis" | |
388 | +@@ -52,14 +52,14 @@ | |
389 | + .PP | |
390 | + The \fBinstant\fP program manipulates an SGML document instance in a variety of ways, | |
391 | + including translating into a form suitable for a formatting application and printing information about this instance. | |
392 | +-Input to \fBinstant\fP is the output of \fBsgmls\fP, whose format is called Element Structure Information Set (ESIS). | |
393 | ++Input to \fBinstant\fP is the output of \fBnsgmls\fP, whose format is called Element Structure Information Set (ESIS). | |
394 | + .SH "Flags" | |
395 | + .PP | |
396 | + The following are the possible command line options to \fBinstant\fP. Output is sent to the standard output, except where otherwise noted. | |
397 | + 'br\" labeled list | |
398 | + .IP "\fB-t\fP \fIfile\fP" | |
399 | + Translate the SGML instance to another form, usually suitable for a formatting application. | |
400 | +-The \fIfile\fP is called a translation spec, which specifies how the tags are to be translated. See \fBtranspec\fP(4). | |
401 | ++The \fIfile\fP is called a translation spec, which specifies how the tags are to be translated. See \fBtranspec\fP(5). | |
402 | + By convention, names for \fIfile\fP use the suffix \fB.ts\fP, for \fItranslation spec\fP. | |
403 | + .IP "\fB-s\fP \fIfile\fP " | |
404 | + Specifies a file of mappings for SDATA entities in the instance. | |
405 | +@@ -109,7 +109,7 @@ | |
406 | + .IP "\fB-I\fP" | |
407 | + List the IDs of all elements in the instance that have an ID. The format is more suitable for other programs than humans. | |
408 | + Lines show the ID, element GI, filename, and line, separated by colons. | |
409 | +-(This depends on the \fB-l\fP option to \fBsgmls\fP which provide filenames and line numbers.) | |
410 | ++(This depends on the \fB-l\fP option to \fBnsgmls\fP which provide filenames and line numbers.) | |
411 | + .IP "\fB-i\fP \fIid\fP" | |
412 | + When translating the instance, begin processing at the element whose ID is \fIid\fP instead of the topmost element. | |
413 | + .IP "\fB-D\fP \fIvariable\fP\fB=\fP\fIvalue\fP" | |
414 | +@@ -120,7 +120,7 @@ | |
415 | + Print a help message briefly describing the options. | |
416 | + .IP "\fIfile\fP" | |
417 | + Read the instance from the file \fIfile\fP. | |
418 | +-This is expected to be the output of the program \fBsgmls\fP. | |
419 | ++This is expected to be the output of the program \fBnsgmls\fP. | |
420 | + If not specified, \fBinstant\fP reads the instance from its standard input. | |
421 | + 'br\" labeled list end | |
422 | + .PP | |
423 | +@@ -193,4 +193,4 @@ | |
424 | + 'br\" labeled list end | |
425 | + .SH "Related Information" | |
426 | + .PP | |
427 | +-\fBtranspec\fP(4), \fBsgmls\fP(1), Standard Generalized Markup Language (SGML), ISO 8879. | |
428 | ++\fBtranspec\fP(5), \fBnsgmls\fP(1), Standard Generalized Markup Language (SGML), ISO 8879. | |
429 | +diff -Naur docbook-to-man-2.0.0.orig/Doc/transpec.1 docbook-to-man-2.0.0/Doc/transpec.1 | |
430 | +--- docbook-to-man-2.0.0.orig/Doc/transpec.1 1999-07-03 12:58:22.000000000 +0000 | |
431 | ++++ docbook-to-man-2.0.0/Doc/transpec.1 2006-07-29 15:23:05.000000000 +0000 | |
432 | +@@ -1,47 +1,47 @@ | |
433 | +-...\" | |
434 | +-...\" | |
435 | +-...\" Copyright (c) 1994 | |
436 | +-...\" Open Software Foundation, Inc. | |
437 | +-...\" | |
438 | +-...\" Permission is hereby granted to use, copy, modify and freely distribute | |
439 | +-...\" the software in this file and its documentation for any purpose without | |
440 | +-...\" fee, provided that the above copyright notice appears in all copies and | |
441 | +-...\" that both the copyright notice and this permission notice appear in | |
442 | +-...\" supporting documentation. Further, provided that the name of Open | |
443 | +-...\" Software Foundation, Inc. ("OSF") not be used in advertising or | |
444 | +-...\" publicity pertaining to distribution of the software without prior | |
445 | +-...\" written permission from OSF. OSF makes no representations about the | |
446 | +-...\" suitability of this software for any purpose. It is provided "as is" | |
447 | +-...\" without express or implied warranty. | |
448 | +-...\" | |
449 | +-...\" Copyright (c) 1996 X Consortium | |
450 | +-...\" Copyright (c) 1996 Dalrymple Consulting | |
451 | +-...\" | |
452 | +-...\" Permission is hereby granted, free of charge, to any person obtaining a copy | |
453 | +-...\" of this software and associated documentation files (the "Software"), to deal | |
454 | +-...\" in the Software without restriction, including without limitation the rights | |
455 | +-...\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
456 | +-...\" copies of the Software, and to permit persons to whom the Software is | |
457 | +-...\" furnished to do so, subject to the following conditions: | |
458 | +-...\" | |
459 | +-...\" The above copyright notice and this permission notice shall be included in | |
460 | +-...\" all copies or substantial portions of the Software. | |
461 | +-...\" | |
462 | +-...\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
463 | +-...\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
464 | +-...\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
465 | +-...\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR | |
466 | +-...\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
467 | +-...\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
468 | +-...\" OTHER DEALINGS IN THE SOFTWARE. | |
469 | +-...\" | |
470 | +-...\" Except as contained in this notice, the names of the X Consortium and | |
471 | +-...\" Dalrymple Consulting shall not be used in advertising or otherwise to | |
472 | +-...\" promote the sale, use or other dealings in this Software without prior | |
473 | +-...\" written authorization. | |
474 | +-...\" | |
475 | +-...\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 22:00 | |
476 | +-.TH "\fBtranspec\fP" "file format" | |
477 | ++.\" -*- nroff -*- | |
478 | ++.\" | |
479 | ++.\" Copyright (c) 1994 | |
480 | ++.\" Open Software Foundation, Inc. | |
481 | ++.\" | |
482 | ++.\" Permission is hereby granted to use, copy, modify and freely distribute | |
483 | ++.\" the software in this file and its documentation for any purpose without | |
484 | ++.\" fee, provided that the above copyright notice appears in all copies and | |
485 | ++.\" that both the copyright notice and this permission notice appear in | |
486 | ++.\" supporting documentation. Further, provided that the name of Open | |
487 | ++.\" Software Foundation, Inc. ("OSF") not be used in advertising or | |
488 | ++.\" publicity pertaining to distribution of the software without prior | |
489 | ++.\" written permission from OSF. OSF makes no representations about the | |
490 | ++.\" suitability of this software for any purpose. It is provided "as is" | |
491 | ++.\" without express or implied warranty. | |
492 | ++.\" | |
493 | ++.\" Copyright (c) 1996 X Consortium | |
494 | ++.\" Copyright (c) 1996 Dalrymple Consulting | |
495 | ++.\" | |
496 | ++.\" Permission is hereby granted, free of charge, to any person obtaining a copy | |
497 | ++.\" of this software and associated documentation files (the "Software"), to deal | |
498 | ++.\" in the Software without restriction, including without limitation the rights | |
499 | ++.\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
500 | ++.\" copies of the Software, and to permit persons to whom the Software is | |
501 | ++.\" furnished to do so, subject to the following conditions: | |
502 | ++.\" | |
503 | ++.\" The above copyright notice and this permission notice shall be included in | |
504 | ++.\" all copies or substantial portions of the Software. | |
505 | ++.\" | |
506 | ++.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
507 | ++.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
508 | ++.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
509 | ++.\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR | |
510 | ++.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
511 | ++.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
512 | ++.\" OTHER DEALINGS IN THE SOFTWARE. | |
513 | ++.\" | |
514 | ++.\" Except as contained in this notice, the names of the X Consortium and | |
515 | ++.\" Dalrymple Consulting shall not be used in advertising or otherwise to | |
516 | ++.\" promote the sale, use or other dealings in this Software without prior | |
517 | ++.\" written authorization. | |
518 | ++.\" | |
519 | ++.\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 22:00 | |
520 | ++.TH "\fBtranspec\fP" "5" "file format" | |
521 | + .SH "Name" | |
522 | + \fBtranspec\fP - translation specification for \fBinstant\fP | |
523 | + .SH "Synopsis" | |
524 | +@@ -113,7 +113,7 @@ | |
525 | + This specifies that the GI is the \fInumber\fPth child element of its parent. | |
526 | + Children are numbered starting with \fB1\fP. | |
527 | + Negative numbers may be used to indicate order counting backwards. | |
528 | +-For example, -1 denotes the last child. | |
529 | ++For example, \-1 denotes the last child. | |
530 | + .IP "\fBPAttSet:\fP \fIattname\fP" | |
531 | + This specifies that the parent has this attribute, \fIattname\fP, set to any value (not IMPLIED). A value to match may optionally | |
532 | + be specified after attname. | |
533 | +@@ -174,7 +174,7 @@ | |
534 | + .IP "\fBMessage:\fP \fItext\fP" | |
535 | + This specifies a string to be printed to the standard error when the matching element is processed. | |
536 | + It is intended for informing the user of the progress of the translation. | |
537 | +-It is also used for validation of instances (see the \fB-v\fP flag of \fBinstant\fP(1)); | |
538 | ++It is also used for validation of instances (see the \fB\-v\fP flag of \fBinstant\fP(1)); | |
539 | + a spec would be written to recognize a construct that is not allowed. | |
540 | + This action is done immediately after \fBStartText\fP. | |
541 | + Messages are also useful for debugging spec files; one is able to easily tell when a matching spec is processed, | |
542 | +@@ -262,7 +262,7 @@ | |
543 | + In fact, if an attribute name is referred to and it is not set for a given element, | |
544 | + \fBinstant\fP looks for a variable with the same name. This way global defaults can be set. | |
545 | + If you want to be sure that you are accessing a local variable value, not an attribute value, you can use lower or mixed case names. | |
546 | +-Attribute names, as passed by \fBsgmls\fP, are in upper case. | |
547 | ++Attribute names, as passed by \fBnsgmls\fP, are in upper case. | |
548 | + .PP | |
549 | + Any number of \fBVar\fP actions may appear in the spec file. These set the values of the variables before any translation takes place. | |
550 | + The \fBSet\fP actions within transpecs are performed when that spec is processed when an element matches the given criteria. | |
551 | +@@ -396,7 +396,7 @@ | |
552 | + Insert the file \fIfilename\fP into the output stream. | |
553 | + .IP "\fB_infile\fP [\fBline\fP]" | |
554 | + Print the name of the sgml instance file to the output stream. If \fBline\fP is specified, also print the line number. | |
555 | +-This depends on \fBsgmls\fP being called with the \fB-l\fP option. | |
556 | ++This depends on \fBnsgmls\fP being called with the \fB\-l\fP option. | |
557 | + .IP "\fB_insertnode\fP \fBS\fP|\fBE\fP \fIspec-id\fP" | |
558 | + Do \fIspec-id\fP when the current element is traversed at a later pass. | |
559 | + This can be considered inserting a node, without content, into the hierarchy. | |
560 | +@@ -406,7 +406,7 @@ | |
561 | + \fB_insertnode\fP would be specified as the action of a \fIspec-id\fP pointed to in a \fB_chasetogi\fP or \fB_followlink\fP usage. | |
562 | + .IP "\fB_location\fP" | |
563 | + The location of the current element is printed to the output stream in several ways: the path to the element (see \fB_path\fP), | |
564 | +-a position hint, which is the nearest title, the line number, if the ESIS (output from \fBsgmls\fP) contains line numbers, | |
565 | ++a position hint, which is the nearest title, the line number, if the ESIS (output from \fBnsgmls\fP) contains line numbers, | |
566 | + and the ID of the element, if it has one. | |
567 | + This is especially useful when using the \fBMessage\fP action to validate an instance. | |
568 | + .IP "\fB_namelist\fP \fIspec-id\fP [\fIspec-id2\fP]" | |
569 | +@@ -523,4 +523,4 @@ | |
570 | + .DE | |
571 | + .SH "Related Information" | |
572 | + .PP | |
573 | +-\fBinstant\fP(1), \fBsgmls\fP(1), \fBegrep\fP(1). | |
574 | ++\fBinstant\fP(1), \fBnsgmls\fP(1), \fBegrep\fP(1). | |
575 | +diff -Naur docbook-to-man-2.0.0.orig/Instant/general.h docbook-to-man-2.0.0/Instant/general.h | |
576 | +--- docbook-to-man-2.0.0.orig/Instant/general.h 1999-07-03 12:58:23.000000000 +0000 | |
577 | ++++ docbook-to-man-2.0.0/Instant/general.h 2006-07-29 15:23:05.000000000 +0000 | |
578 | +@@ -232,6 +232,7 @@ | |
579 | + def int interactive; /* flag - interactive browsing? */ | |
580 | + def int slave; /* are we slave to another process? */ | |
581 | + def int fold_case; /* flag - fold case of GIs? */ | |
582 | ++def int xml_mode; /* flag - XML-specific hacks */ | |
583 | + | |
584 | + /* ----- some macros for convenience and ease of code reading ----- */ | |
585 | + | |
586 | +diff -Naur docbook-to-man-2.0.0.orig/Instant/main.c docbook-to-man-2.0.0/Instant/main.c | |
587 | +--- docbook-to-man-2.0.0.orig/Instant/main.c 1999-07-03 12:58:23.000000000 +0000 | |
588 | ++++ docbook-to-man-2.0.0/Instant/main.c 2006-07-29 15:23:05.000000000 +0000 | |
589 | +@@ -199,6 +199,7 @@ | |
590 | + warnings = 1; | |
591 | + fold_case = 1; | |
592 | + this_prog = myname; | |
593 | ++ xml_mode = 0; | |
594 | + | |
595 | + /* setup global variable mapping */ | |
596 | + Variables = NewMap(IMS_variables); | |
597 | +@@ -258,7 +259,10 @@ | |
598 | + if (!strcmp(tok[0], "verbose")) verbose = atoi(tok[1]); | |
599 | + else if (!strcmp(tok[0], "warnings")) warnings = atoi(tok[1]); | |
600 | + else if (!strcmp(tok[0], "foldcase")) fold_case = atoi(tok[1]); | |
601 | ++ else if (!strcmp(tok[0], "xmlmode")) xml_mode = atoi(tok[1]); | |
602 | + else SetMappingNV(Variables, tok[0], tok[1]); | |
603 | ++ | |
604 | ++ if ( xml_mode ) fold_case = 0; /* set for lowercase if xml flag is ON */ | |
605 | + } | |
606 | + else { | |
607 | + fprintf(stderr, "Expected an '=' in variable assignment: %s. Ignored\n", | |
608 | +@@ -645,19 +649,25 @@ | |
609 | + *dst = ((*src-'0') << 6) + | |
610 | + ((*(src+1)-'0') << 3) + | |
611 | + ((*(src+2)-'0')); | |
612 | ++ if ( xml_mode && *dst == 10 && *(dst-1) == '\n') { | |
613 | ++ /* nsgmls outputs \n\012 for XML line endings and we want | |
614 | ++ to ignore the \012 */ | |
615 | ++ /* fprintf(stderr, "found newline!: %c\n", *dst); */ | |
616 | ++ *dst--; | |
617 | ++ } | |
618 | + src += 3; | |
619 | + break; | |
620 | + case '#': case '%': | |
621 | + /* Decimal internal(#)/document(%) char */ | |
622 | + /* XXX: Handle better */ | |
623 | +- *dst++ = '['; | |
624 | ++ *dst++ = '['; | |
625 | + while (*src != ';') { | |
626 | + *dst++ = *src++; | |
627 | + } | |
628 | + *dst++ = ']'; | |
629 | + src++; | |
630 | + /* XXX: Whimp out - no translation */ | |
631 | +- nomap = 1; | |
632 | ++ nomap = 1; | |
633 | + break; | |
634 | + case '|': | |
635 | + /* SDATA reference */ | |
636 | +@@ -725,16 +735,16 @@ | |
637 | + /* whether or not whitespace is kept in this element */ | |
638 | + cur_e = e; | |
639 | + while (cur_e) { | |
640 | +- if (pch = FindAttValByName(cur_e,"FORMAT")) { | |
641 | ++ if (pch = FindAttValByName(cur_e,xml_mode ? "format" : "FORMAT")) { | |
642 | + #ifdef DEBUG | |
643 | +- fprintf(stderr," D: Using FORMAT from %s element\n", | |
644 | ++ fprintf(stderr," D: Using format from %s element\n", | |
645 | + cur_e->gi); | |
646 | + #endif | |
647 | + break; | |
648 | + } | |
649 | + cur_e = cur_e->parent; | |
650 | + } | |
651 | +- if (!(pch && !(strcmp(pch,"LINESPECIFIC")))) { | |
652 | ++ if (!(pch && !(strcmp(pch, xml_mode ? "linespecific" : "LINESPECIFIC")))) { | |
653 | + #ifdef DEBUG | |
654 | + fprintf(stderr," D: Compressing whitespace\n"); | |
655 | + #endif | |
656 | +diff -Naur docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c docbook-to-man-2.0.0/Instant/tptregexp/regexp.c | |
657 | +--- docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c 1999-07-03 12:58:24.000000000 +0000 | |
658 | ++++ docbook-to-man-2.0.0/Instant/tptregexp/regexp.c 2006-07-29 15:23:05.000000000 +0000 | |
659 | +@@ -196,7 +196,6 @@ | |
660 | + register char *longest; | |
661 | + register int len; | |
662 | + int flags; | |
663 | +- extern char *malloc(); | |
664 | + | |
665 | + if (exp == NULL) | |
666 | + FAIL("NULL argument"); | |
667 | +@@ -705,7 +704,6 @@ | |
668 | + register char *string; | |
669 | + { | |
670 | + register char *s; | |
671 | +- extern char *strchr(); | |
672 | + | |
673 | + /* Be paranoid... */ | |
674 | + if (prog == NULL || string == NULL) { | |
675 | +@@ -804,7 +802,6 @@ | |
676 | + { | |
677 | + register char *scan; /* Current node. */ | |
678 | + char *next; /* Next node. */ | |
679 | +- extern char *strchr(); | |
680 | + | |
681 | + scan = prog; | |
682 | + #ifdef DEBUG | |
683 | +diff -Naur docbook-to-man-2.0.0.orig/Makefile docbook-to-man-2.0.0/Makefile | |
684 | +--- docbook-to-man-2.0.0.orig/Makefile 1999-07-03 12:58:22.000000000 +0000 | |
685 | ++++ docbook-to-man-2.0.0/Makefile 2006-07-29 15:23:05.000000000 +0000 | |
686 | +@@ -41,7 +41,7 @@ | |
687 | + SHELL = /bin/sh | |
688 | + MAKE = make | |
689 | + | |
690 | +-PIECES = cmd Instant Transpec | |
691 | ++PIECES = cmd Instant Transpec | |
692 | + | |
693 | + | |
694 | + all: | |
695 | +diff -Naur docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.prolog docbook-to-man-2.0.0/Transpec/docbook-to-man.prolog | |
696 | +--- docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.prolog 1999-07-03 12:58:24.000000000 +0000 | |
697 | ++++ docbook-to-man-2.0.0/Transpec/docbook-to-man.prolog 2006-07-29 15:23:05.000000000 +0000 | |
698 | +@@ -1,7 +1,7 @@ | |
699 | +-...\" | |
700 | +-...\" Prolog for docbook-to-man.ts - macros to push/pop fonts. | |
701 | +-...\" $Id$ | |
702 | +-...\" | |
703 | ++.\" | |
704 | ++.\" Prolog for docbook-to-man.ts - macros to push/pop fonts. | |
705 | ++.\" $Id$ | |
706 | ++.\" | |
707 | + .de pF | |
708 | + .ie \a\\*(f1\a\a .ds f1 \\n(.f | |
709 | + .el .ie \a\\*(f2\a\a .ds f2 \\n(.f | |
710 | +@@ -33,6 +33,6 @@ | |
711 | + .ds f2\" | |
712 | + .ds f3\" | |
713 | + .ds f4\" | |
714 | +-...\" | |
715 | +-...\" End of prolog | |
716 | +-...\" | |
717 | ++.\" | |
718 | ++.\" End of prolog | |
719 | ++.\" | |
720 | +diff -Naur docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.ts docbook-to-man-2.0.0/Transpec/docbook-to-man.ts | |
721 | +--- docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.ts 1999-07-03 12:58:24.000000000 +0000 | |
722 | ++++ docbook-to-man-2.0.0/Transpec/docbook-to-man.ts 2006-07-29 15:23:05.000000000 +0000 | |
723 | +@@ -57,10 +57,10 @@ | |
724 | + # #### ##### ##### ##### ##### ##### #### ##### | |
725 | + # | |
726 | + GI: REFENTRY | |
727 | +-StartText: ^'\\" t^${_action 1001} | |
728 | +- ^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
729 | ++#StartText: ^'\\" t^${_action 1001} | |
730 | ++StartText: ^${_action 1001}.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
731 | + "${_followrel descendant MANVOLNUM 1000}"^ | |
732 | +-EndText: ^...\\" created by instant / docbook-to-man, ${date}^ | |
733 | ++EndText: ^.\\" created by instant / docbook-to-man, ${date}^ | |
734 | + - | |
735 | + # | |
736 | + GI: DOCINFO | |
737 | +@@ -71,6 +71,26 @@ | |
738 | + Context: DOCINFO | |
739 | + # inside DocInfo, which we're ignoring | |
740 | + - | |
741 | ++GI: COPYRIGHT | |
742 | ++Context: DOCINFO | |
743 | ++# inside DocInfo, which we're ignoring | |
744 | ++- | |
745 | ++GI: HOLDER | |
746 | ++Context: COPYRIGHT | |
747 | ++# inside DocInfo, which we're ignoring | |
748 | ++- | |
749 | ++GI: YEAR | |
750 | ++Context: COPYRIGHT | |
751 | ++# inside DocInfo, which we're ignoring | |
752 | ++- | |
753 | ++# | |
754 | ++GI: REFENTRYINFO | |
755 | ++Ignore: all | |
756 | ++- | |
757 | ++# | |
758 | ++GI: COPYRIGHT | |
759 | ++Context: REFENTRYINFO | |
760 | ++- | |
761 | + # | |
762 | + GI: REFMETA | |
763 | + Ignore: all | |
764 | +@@ -306,8 +326,10 @@ | |
765 | + - | |
766 | + # | |
767 | + GI: PROGRAMLISTING | |
768 | +-StartText: ^.PP^.nf^${_action 1001}^\\f(CW | |
769 | +-EndText: \\fR^.fi^.PP^ | |
770 | ++#StartText: ^.PP^.nf^${_action 1001}^\\f(CW | |
771 | ++StartText: ^.PP^.nf^${_action 1001}^ | |
772 | ++#EndText: \\fR^.fi^.PP^ | |
773 | ++EndText: ^.fi^.PP^ | |
774 | + Verbatim: | |
775 | + - | |
776 | + # | |
777 | +@@ -1631,6 +1653,9 @@ | |
778 | + StartText: \\fI | |
779 | + EndText: \\fP | |
780 | + - | |
781 | ++GI: ENVAR | |
782 | ++# no special presentation | |
783 | ++- | |
784 | + # | |
785 | + GI: FIRSTTERM | |
786 | + StartText: \\fI | |
787 | +@@ -1674,7 +1699,8 @@ | |
788 | + # | |
789 | + GI: COMMAND | |
790 | + StartText: \\fB | |
791 | +-EndText: \\fP | |
792 | ++#EndText: \\fP | |
793 | ++EndText: \\fR | |
794 | + - | |
795 | + # | |
796 | + GI: COMPUTEROUTPUT | |
797 | +@@ -1682,6 +1708,11 @@ | |
798 | + EndText: \\fP | |
799 | + - | |
800 | + # | |
801 | ++GI: CONSTANT | |
802 | ++StartText: \\fB | |
803 | ++EndText: \\fP | |
804 | ++- | |
805 | ++# | |
806 | + GI: DATABASE | |
807 | + # no special presentation | |
808 | + - | |
809 | +@@ -1819,7 +1850,8 @@ | |
810 | + # | |
811 | + GI: REPLACEABLE | |
812 | + StartText: \\fI | |
813 | +-EndText: \\fP | |
814 | ++#EndText: \\fP | |
815 | ++EndText: \\fR | |
816 | + - | |
817 | + # | |
818 | + GI: RETURNVALUE | |
819 | +@@ -1897,6 +1929,11 @@ | |
820 | + EndText: \\fP | |
821 | + - | |
822 | + # | |
823 | ++GI: VARNAME | |
824 | ++StartText: \\fB | |
825 | ++EndText: \\fP | |
826 | ++- | |
827 | ++# | |
828 | + GI: AUTHOR | |
829 | + # no special presentation - defer to content | |
830 | + - | |
831 | +@@ -2006,7 +2043,7 @@ | |
832 | + # | |
833 | + GI: _tabset | |
834 | + SpecID: 1001 | |
835 | +-StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
836 | ++#StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
837 | + Ignore: all | |
838 | + - | |
839 | + # | |
840 | +diff -Naur docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.ts-PUSHPOP docbook-to-man-2.0.0/Transpec/docbook-to-man.ts-PUSHPOP | |
841 | +--- docbook-to-man-2.0.0.orig/Transpec/docbook-to-man.ts-PUSHPOP 1999-07-03 12:58:24.000000000 +0000 | |
842 | ++++ docbook-to-man-2.0.0/Transpec/docbook-to-man.ts-PUSHPOP 2006-07-29 15:23:05.000000000 +0000 | |
843 | +@@ -57,10 +57,11 @@ | |
844 | + # #### ##### ##### ##### ##### ##### #### ##### | |
845 | + # | |
846 | + GI: REFENTRY | |
847 | +-StartText: ^'\\" t^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
848 | ++#StartText: ^'\\" t^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
849 | ++StartText: ^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
850 | + "${_followrel descendant MANVOLNUM 1000}" "${date}" | |
851 | + ^${_action 1002}^${_action 1001}^ | |
852 | +-EndText: ^...\\" created by instant / docbook-to-man, ${date}^ | |
853 | ++EndText: ^.\\" created by instant / docbook-to-man, ${date}^ | |
854 | + - | |
855 | + # | |
856 | + GI: DOCINFO | |
857 | +@@ -2161,7 +2162,7 @@ | |
858 | + # | |
859 | + GI: _tabset | |
860 | + SpecID: 1001 | |
861 | +-StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
862 | ++#StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
863 | + Ignore: all | |
864 | + - | |
865 | + # | |
866 | +diff -Naur docbook-to-man-2.0.0.orig/Transpec/roff.cmap docbook-to-man-2.0.0/Transpec/roff.cmap | |
867 | +--- docbook-to-man-2.0.0.orig/Transpec/roff.cmap 1999-07-03 12:58:24.000000000 +0000 | |
868 | ++++ docbook-to-man-2.0.0/Transpec/roff.cmap 2006-07-29 15:23:05.000000000 +0000 | |
869 | +@@ -48,6 +48,7 @@ | |
870 | + # | |
871 | + # | |
872 | + # From To | |
873 | ++\ \\ | |
874 | + \\ \\e | |
875 | + ^ \^ | |
876 | + . \\&. | |
877 | +diff -Naur docbook-to-man-2.0.0.orig/Transpec/roff.sdata docbook-to-man-2.0.0/Transpec/roff.sdata | |
878 | +--- docbook-to-man-2.0.0.orig/Transpec/roff.sdata 1999-07-03 12:58:24.000000000 +0000 | |
879 | ++++ docbook-to-man-2.0.0/Transpec/roff.sdata 2006-07-29 15:23:05.000000000 +0000 | |
880 | +@@ -58,9 +58,9 @@ | |
881 | + [frac38] 3/8 | |
882 | + [frac58] 5/8 | |
883 | + [frac78] 7/8 | |
884 | +-[sup1 ] \\u1\\l | |
885 | +-[sup2 ] \\u2\\l | |
886 | +-[sup3 ] \\u3\\l | |
887 | ++[sup1 ] \\(S1 | |
888 | ++[sup2 ] \\(S2 | |
889 | ++[sup3 ] \\(S3 | |
890 | + [plus ] \\(pl | |
891 | + [plusmn] \\(+- | |
892 | + [lt ] < | |
893 | +@@ -69,10 +69,12 @@ | |
894 | + [divide] \\(di | |
895 | + [times ] \\(ti | |
896 | + # [curren] =general currency sign | |
897 | +-[pound ] # | |
898 | ++[curren] \\(Cs | |
899 | ++[euro ] \\(Cs | |
900 | ++[pound ] \\(Po | |
901 | + [dollar] $ | |
902 | + [cent ] \\(ct | |
903 | +-[yen ] yen | |
904 | ++[yen ] \\(Ye | |
905 | + [num ] # | |
906 | + [percnt] % | |
907 | + [amp ] & | |
908 | +@@ -81,7 +83,7 @@ | |
909 | + [lsqb ] [ | |
910 | + [bsol ] \\e | |
911 | + [rsqb ] ] | |
912 | +-[lcub ] { /lbrace O: =left curly bracket | |
913 | ++[lcub ] { | |
914 | + # [horbar] horizontal bar | |
915 | + [horbar] _ | |
916 | + [verbar] \\(or | |
917 | +@@ -91,9 +93,13 @@ | |
918 | + [deg ] \\(de | |
919 | + # [ordm ] =ordinal indicator, masculine | |
920 | + # [ordf ] =ordinal indicator, feminine | |
921 | ++[ordf ] \\(Of | |
922 | ++[ordm ] \\(Om | |
923 | + [sect ] \\(sc | |
924 | + # [para ] =pilcrow (paragraph sign) | |
925 | ++[para ] \\(ps | |
926 | + # [middot] /centerdot B: =middle dot | |
927 | ++[middot] \\(pc | |
928 | + [larr ] \\(<- | |
929 | + [rarr ] \\(-> | |
930 | + [uarr ] \\(ua | |
931 | +@@ -106,8 +112,9 @@ | |
932 | + [brvbar] | | |
933 | + [not ] \\(no | |
934 | + # [sung ] =music note (sung text sign) | |
935 | +-[excl ] ! | |
936 | ++[excl ] \! | |
937 | + # [iexcl ] =inverted exclamation mark | |
938 | ++[iexcl ] \\(r! | |
939 | + [quot ] " | |
940 | + [apos ] \\&' | |
941 | + [lpar ] ( | |
942 | +@@ -121,14 +128,15 @@ | |
943 | + [semi ] ; | |
944 | + [quest ] ? | |
945 | + # [iquest] =inverted question mark | |
946 | ++[iquest] \\(r? | |
947 | + # [laquo ] =angle quotation mark, left | |
948 | +-[laquo ] << | |
949 | ++[laquo ] \\(Fo | |
950 | + # [raquo ] =angle quotation mark, right | |
951 | +-[raquo ] >> | |
952 | ++[raquo ] \\(Fc | |
953 | + [lsquo ] ` | |
954 | + [rsquo ] \\&' | |
955 | +-[ldquo ] " | |
956 | +-[rdquo ] " | |
957 | ++[ldquo ] \\(lq | |
958 | ++[rdquo ] \\(rq | |
959 | + [nbsp ] \\ | |
960 | + [shy ] \\% | |
961 | + # | |
962 | +@@ -137,8 +145,12 @@ | |
963 | + # trailing space here | |
964 | + [emsp ] \\ \\ | |
965 | + [ensp ] \\ | |
966 | ++# The next two entities are the only ones I can find where the SGML entity | |
967 | ++# doesn't match. From sgml-iso-entities-8879.1986/ISOpub.ent: | |
968 | ++# <!ENTITY emsp13 SDATA "[emsp3 ]"--=1/3-em space--> | |
969 | + [emsp3 ] \\ | |
970 | + [emsp4 ] \\ | |
971 | ++# | |
972 | + [numsp ] \\0 | |
973 | + [puncsp] \\| | |
974 | + [thinsp] \\! | |
975 | +@@ -158,6 +170,7 @@ | |
976 | + [frac16] 1/6 | |
977 | + [frac56] 5/6 | |
978 | + # [incare] =in-care-of symbol | |
979 | ++[incare] c/o | |
980 | + # [block ] =full block | |
981 | + # [uhblk ] =upper half block | |
982 | + # [lhblk ] =lower half block | |
983 | +@@ -170,7 +183,7 @@ | |
984 | + # [rect ] =rectangle, open | |
985 | + # [utri ] /triangle =up triangle, open | |
986 | + # [dtri ] /triangledown =down triangle, open | |
987 | +-[star ] \\(** =star, open | |
988 | ++[star ] \\(** | |
989 | + [bull ] \\(bu | |
990 | + # [squf ] /blacksquare =sq bullet, filled | |
991 | + # [utrif ] /blacktriangle =up tri, filled | |
992 | +@@ -209,6 +222,7 @@ | |
993 | + [vellip] \\&... | |
994 | + # [hybull] rectangle, filled (hyphen bullet) | |
995 | + # [loz ] /lozenge - lozenge or total mark | |
996 | ++[rsquor] \\(lz | |
997 | + # [lozf ] /blacklozenge - lozenge, filled | |
998 | + # [ltri ] /triangleleft B: l triangle, open | |
999 | + # [rtri ] /triangleright B: r triangle, open | |
1000 | +@@ -224,68 +238,100 @@ | |
1001 | + # | |
1002 | + # Added Latin 1 ________________________________ | |
1003 | + # | |
1004 | +-[aacute] \\(a' | |
1005 | +-[Aacute] \\(A' | |
1006 | +-[acirc ] \\(a^ | |
1007 | +-[Acirc ] \\(A^ | |
1008 | +-[agrave] \\(a` | |
1009 | +-[Agrave] \\(A` | |
1010 | ++[aacute] \\('a | |
1011 | ++[Aacute] \\('A | |
1012 | ++# It's not clear why, but the ^ must be escaped | |
1013 | ++[acirc ] \\(\^a | |
1014 | ++[Acirc ] \\(\^A | |
1015 | ++[agrave] \\(`a | |
1016 | ++[Agrave] \\(`A | |
1017 | ++[aring ] \\(oa | |
1018 | ++[Aring ] \\(oA | |
1019 | ++[atilde] \\(~a | |
1020 | ++[Atilde] \\(~A | |
1021 | + # [aring ] =small a, ring | |
1022 | + # [Aring ] =capital A, ring | |
1023 | + # [atilde] =small a, tilde | |
1024 | + # [Atilde] =capital A, tilde | |
1025 | +-[auml ] \\(a: | |
1026 | ++[auml ] \\(:a | |
1027 | ++[Auml ] \\(:A | |
1028 | + # [Auml ] =capital A, dieresis or umlaut mark | |
1029 | + [aelig ] \\(ae | |
1030 | + [AElig ] \\(AE | |
1031 | + # [ccedil] =small c, cedilla | |
1032 | + # [Ccedil] =capital C, cedilla | |
1033 | ++[ccedil] \\(,c | |
1034 | ++[Ccedil] \\(,C | |
1035 | + # [eth ] =small eth, Icelandic | |
1036 | + # [ETH ] =capital Eth, Icelandic | |
1037 | +-[eacute] \\(e' | |
1038 | +-[Eacute] \\(E' | |
1039 | ++[eth ] \\(Sd | |
1040 | ++[ETH ] \\(-D | |
1041 | ++[eacute] \\('e | |
1042 | ++[Eacute] \\('E | |
1043 | + # [ecirc ] =small e, circumflex accent | |
1044 | + # [Ecirc ] =capital E, circumflex accent | |
1045 | +-[egrave] \\(e` | |
1046 | +-[Egrave] \\(E` | |
1047 | ++[ecirc ] \\(\^e | |
1048 | ++[Ecirc ] \\(\^E | |
1049 | ++[egrave] \\(`e | |
1050 | ++[Egrave] \\(`E | |
1051 | + # [euml ] =small e, dieresis or umlaut mark | |
1052 | + # [Euml ] =capital E, dieresis or umlaut mark | |
1053 | +-[iacute] \\(i' | |
1054 | +-[Iacute] \\(I' | |
1055 | ++[euml ] \\(:e | |
1056 | ++[Euml ] \\(:E | |
1057 | ++[iacute] \\('i | |
1058 | ++[Iacute] \\('I | |
1059 | + # [icirc ] =small i, circumflex accent | |
1060 | + # [Icirc ] =capital I, circumflex accent | |
1061 | +-[igrave] \\(i` | |
1062 | +-[Igrave] \\(I` | |
1063 | ++[iuml ] \\(:i | |
1064 | ++[Iuml ] \\(:I | |
1065 | ++[icirc ] \\(\^i | |
1066 | ++[Icirc ] \\(\^I | |
1067 | ++[igrave] \\(`i | |
1068 | ++[Igrave] \\(`I | |
1069 | + # [iuml ] =small i, dieresis or umlaut mark | |
1070 | + # [Iuml ] =capital I, dieresis or umlaut mark | |
1071 | +-[ntilde] \\(n~ | |
1072 | +-[Ntilde] \\(N~ | |
1073 | +-[oacute] \\(o' | |
1074 | +-[Oacute] \\(O' | |
1075 | ++[ntilde] \\(~n | |
1076 | ++[Ntilde] \\(~N | |
1077 | ++[otilde] \\(~o | |
1078 | ++[Otilde] \\(~O | |
1079 | ++[oacute] \\('o | |
1080 | ++[Oacute] \\('O | |
1081 | + # [ocirc ] =small o, circumflex accent | |
1082 | + # [Ocirc ] =capital O, circumflex accent | |
1083 | +-[ograve] \\(o` | |
1084 | +-[Ograve] \\(O` | |
1085 | +-[oslash] \\(o/ | |
1086 | +-[Oslash] \\(O/ | |
1087 | ++[ocirc ] \\(\^o | |
1088 | ++[Ocirc ] \\(\^O | |
1089 | ++[ograve] \\(`o | |
1090 | ++[Ograve] \\(`O | |
1091 | ++[oslash] \\(/o | |
1092 | ++[Oslash] \\(/O | |
1093 | + # [otilde] =small o, tilde | |
1094 | + # [Otilde] =capital O, tilde | |
1095 | + # [ouml ] =small o, dieresis or umlaut mark | |
1096 | + # [Ouml ] =capital O, dieresis or umlaut mark | |
1097 | + [szlig ] \\(ss | |
1098 | +-[thorn ] \\(th | |
1099 | ++[thorn ] \\(Tp | |
1100 | + # [THORN ] =capital THORN, Icelandic | |
1101 | +-[uacute] \\(u' | |
1102 | +-[Uacute] \\(U' | |
1103 | ++[uacute] \\('u | |
1104 | ++[Uacute] \\('U | |
1105 | + # [ucirc ] =small u, circumflex accent | |
1106 | + # [Ucirc ] =capital U, circumflex accent | |
1107 | +-[ugrave] \\(u` | |
1108 | +-[Ugrave] \\(U` | |
1109 | ++[ucirc ] \\(\^u | |
1110 | ++[Ucirc ] \\(\^U | |
1111 | ++[ugrave] \\(`u | |
1112 | ++[Ugrave] \\(`U | |
1113 | + # [uuml ] =small u, dieresis or umlaut mark | |
1114 | + # [Uuml ] =capital U, dieresis or umlaut mark | |
1115 | ++[uuml ] \\(:u | |
1116 | ++[Uuml ] \\(:U | |
1117 | + # [yacute] =small y, acute accent | |
1118 | + # [Yacute] =capital Y, acute accent | |
1119 | ++[yacute] \\('y | |
1120 | ++[Yacute] \\('Y | |
1121 | + # [yuml ] =small y, dieresis or umlaut mark | |
1122 | ++[yuml ] \\(:y | |
1123 | ++# The character value for Y with diaeresis seems to have been commandeered | |
1124 | ++# for 3/4; see iso_8859_15(7) for an example | |
1125 | ++[Yuml ] Y | |
1126 | + # | |
1127 | + # Added Latin 2 ________________________________ | |
1128 | + # | |
1129 | +@@ -333,6 +379,7 @@ | |
1130 | + # [ijlig ] =small ij ligature | |
1131 | + # [IJlig ] =capital IJ ligature | |
1132 | + # [inodot] =small i without dot | |
1133 | ++[inodot] \\(.i | |
1134 | + # [iogon ] =small i, ogonek | |
1135 | + # [Iogon ] =capital I, ogonek | |
1136 | + # [itilde] =small i, tilde | |
1137 | +@@ -351,7 +398,9 @@ | |
1138 | + # [lmidot] =small l, middle dot | |
1139 | + # [Lmidot] =capital L, middle dot | |
1140 | + # [lstrok] =small l, stroke | |
1141 | ++[lstrok] \\(/l | |
1142 | + # [Lstrok] =capital L, stroke | |
1143 | ++[Lstrok] \\(/L | |
1144 | + # [nacute] =small n, acute accent | |
1145 | + # [Nacute] =capital N, acute accent | |
1146 | + # [eng ] =small eng, Lapp | |
1147 | +@@ -366,7 +415,9 @@ | |
1148 | + # [Omacr ] =capital O, macron | |
1149 | + # [omacr ] =small o, macron | |
1150 | + # [oelig ] =small oe ligature | |
1151 | ++[oelig ] \\(oe | |
1152 | + # [OElig ] =capital OE ligature | |
1153 | ++[OElig ] \\(OE | |
1154 | + # [racute] =small r, acute accent | |
1155 | + # [Racute] =capital R, acute accent | |
1156 | + # [rcaron] =small r, caron | |
1157 | +@@ -512,45 +563,71 @@ | |
1158 | + # General Technical ________________________________ | |
1159 | + # | |
1160 | + # [aleph ] /aleph =aleph, Hebrew | |
1161 | ++[aleph ] \\(Ah | |
1162 | + # [and ] /wedge /land B: =logical and | |
1163 | ++[and ] \\(AN | |
1164 | + # [ang90 ] =right (90 degree) angle | |
1165 | + # [angsph] /sphericalangle =angle-spherical | |
1166 | +-[ap ] \\(ap | |
1167 | ++[ap ] \\(~~ | |
1168 | + # [becaus] /because R: =because | |
1169 | + # [bottom] /bot B: =perpendicular | |
1170 | ++[bottom] \\(pp | |
1171 | + # [cap ] /cap B: =intersection | |
1172 | ++[cap ] \\(ca | |
1173 | + # [cong ] /cong R: =congruent with | |
1174 | ++[cong ] \\(=~ | |
1175 | + # [conint] /oint L: =contour integral operator | |
1176 | + # [cup ] /cup B: =union or logical sum | |
1177 | ++[cup ] \\(cu | |
1178 | + [equiv ] \\(== | |
1179 | + # [exist ] /exists =at least one exists | |
1180 | ++[exist ] \\(te | |
1181 | + # [forall] /forall =for all | |
1182 | ++[forall] \\(fa | |
1183 | + # [fnof ] =function of (italic small f) | |
1184 | ++[fnof ] \\(Fn | |
1185 | + [ge ] \\(>= | |
1186 | + # [iff ] /iff =if and only if | |
1187 | ++[iff ] <=> | |
1188 | + [infin ] \\(if | |
1189 | + # [int ] /int L: =integral operator | |
1190 | ++[int ] \\(is | |
1191 | + [isin ] \\(sb | |
1192 | + # [lang ] /langle O: =left angle bracket | |
1193 | ++[lang ] < | |
1194 | + # [lArr ] /Leftarrow A: =is implied by | |
1195 | ++[lArr ] \\(lA | |
1196 | + [le ] \\(<= | |
1197 | + [minus ] \\(mi | |
1198 | + # [mnplus] /mp B: =minus-or-plus sign | |
1199 | + # [nabla ] /nabla =del, Hamilton operator | |
1200 | ++[nabla ] \\(gr | |
1201 | + [ne ] \\(!= | |
1202 | + # [ni ] /ni /owns R: =contains | |
1203 | ++[ni ] \\(st | |
1204 | + # [or ] /vee /lor B: =logical or | |
1205 | ++[or ] \\(OR | |
1206 | + # [par ] /parallel R: =parallel | |
1207 | ++[par ] || | |
1208 | + # [part ] /partial =partial differential | |
1209 | ++[part ] \\(pd | |
1210 | + # [permil] =per thousand | |
1211 | ++[permil] \\(%0 | |
1212 | + # [perp ] /perp R: =perpendicular | |
1213 | ++[perp ] \\(pp | |
1214 | + # [prime ] /prime =prime or minute | |
1215 | ++[prime ] \\(fm | |
1216 | + # [Prime ] =double prime or second | |
1217 | ++[Prime ] \\(sd | |
1218 | + [prop ] \\(pt | |
1219 | + # [radic ] /surd =radical | |
1220 | ++[radic ] \\(sr | |
1221 | + # [rang ] /rangle C: =right angle bracket | |
1222 | ++[rang ] > | |
1223 | + # [rArr ] /Rightarrow A: =implies | |
1224 | ++[rArr ] \\(rA | |
1225 | + # [sim ] /sim R: =similar | |
1226 | ++[sim ] \\(ti | |
1227 | + # [sime ] /simeq R: =similar, equals | |
1228 | + [square] \\(sq | |
1229 | + [sub ] \\(sb | |
1230 | +@@ -558,16 +635,24 @@ | |
1231 | + [sup ] \\(sp | |
1232 | + [supe ] \\(ip | |
1233 | + # [there4] /therefore R: =therefore | |
1234 | ++[there4] \\(tf | |
1235 | + # [Verbar] /Vert =dbl vertical bar | |
1236 | ++[Verbar] || | |
1237 | + # [angst ] Angstrom =capital A, ring | |
1238 | ++[angst ] \\(\^A | |
1239 | + # [bernou] Bernoulli function (script capital B) | |
1240 | ++# A less than desirable solution | |
1241 | ++[angst ] B | |
1242 | + # [compfn] B: composite function (small circle) | |
1243 | + # [Dot ] =dieresis or umlaut mark | |
1244 | ++[Dot ] \\(ad | |
1245 | + # [DotDot] four dots above | |
1246 | + # [hamilt] Hamiltonian (script capital H) | |
1247 | + # [lagran] Lagrangian (script capital L) | |
1248 | + # [lowast] low asterisk | |
1249 | ++[lowast] \\(** | |
1250 | + # [notin ] N: negated set membership | |
1251 | ++[notin ] \\(nm | |
1252 | + # [order ] order of (script small o) | |
1253 | + # [phmmat] physics M-matrix (script capital M) | |
1254 | + # [tdot ] three dots above | |
1255 | +@@ -576,18 +661,33 @@ | |
1256 | + # | |
1257 | + # Diacritical Marks ________________________________ | |
1258 | + # | |
1259 | +-[acute ] \\&' | |
1260 | +-[breve ] \\(be | |
1261 | +-[caron ] \\(hc | |
1262 | +-[cedil ] \\(cd | |
1263 | ++[acute ] \\aa | |
1264 | ++[breve ] \\(ab | |
1265 | ++[caron ] \\(ah | |
1266 | ++[cedil ] \\(ac | |
1267 | + # [circ ] =circumflex accent | |
1268 | ++[circ ] \\(a\^ | |
1269 | + # [dblac ] =double acute accent | |
1270 | ++[dblac ] \\(a" | |
1271 | + # [die ] =dieresis | |
1272 | +-[dot ] \\(dt | |
1273 | ++[die ] \\(ad | |
1274 | ++[dot ] \\(a. | |
1275 | + [grave ] ` | |
1276 | +-[macr ] \\(ma | |
1277 | +-[ogon ] \\(og | |
1278 | +-[ring ] \\(ri | |
1279 | ++[macr ] \\(a- | |
1280 | ++[ogon ] \\(ho | |
1281 | ++[ring ] \\(ao | |
1282 | + [tilde ] ~ | |
1283 | +-[uml ] \\(.. | |
1284 | ++[uml ] \\(ad | |
1285 | ++# | |
1286 | ++# Added Math Symbols: Delimiters | |
1287 | ++# | |
1288 | ++[rceil ] \\(rc | |
1289 | ++[lceil ] \\(lc | |
1290 | ++[rfloor] \\(rf | |
1291 | ++[lfloor] \\(lf | |
1292 | ++# [rpargt] ?? | |
1293 | ++# [urcorn] Top right corner | |
1294 | ++# [drcorn] Bottom right corner | |
1295 | ++# [ulcorn] Top left corner | |
1296 | ++# [dlcorn] Bottom left corner | |
1297 | + # | |
1298 | +diff -Naur docbook-to-man-2.0.0.orig/ans.patch docbook-to-man-2.0.0/ans.patch | |
1299 | +--- docbook-to-man-2.0.0.orig/ans.patch 1999-07-03 12:58:22.000000000 +0000 | |
1300 | ++++ docbook-to-man-2.0.0/ans.patch 2006-07-29 15:23:05.000000000 +0000 | |
1301 | +@@ -1116,7 +1116,7 @@ | |
1302 | + ! StartText: ^.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
1303 | + ^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
1304 | + "${_followrel descendant MANVOLNUM 1000}"^ | |
1305 | +- EndText: ^...\\" created by instant / docbook-to-man, ${date}^ | |
1306 | ++ EndText: ^.\\" created by instant / docbook-to-man, ${date}^ | |
1307 | + --- 57,63 ---- | |
1308 | + # #### ##### ##### ##### ##### ##### #### ##### | |
1309 | + # | |
1310 | +@@ -1124,7 +1124,7 @@ | |
1311 | + ! StartText: ^'\\" t^${_action 1001} | |
1312 | + ^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
1313 | + "${_followrel descendant MANVOLNUM 1000}"^ | |
1314 | +- EndText: ^...\\" created by instant / docbook-to-man, ${date}^ | |
1315 | ++ EndText: ^.\\" created by instant / docbook-to-man, ${date}^ | |
1316 | + *************** | |
1317 | + *** 133,138 **** | |
1318 | + --- 137,147 ---- | |
1319 | +@@ -1356,7 +1356,7 @@ | |
1320 | + ! StartText: ^.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n | |
1321 | + ! ^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
1322 | + ! "${_followrel descendant MANVOLNUM 1000}"^ | |
1323 | +-! EndText: ^...\\" created by instant / docbook-to-man, ${date} | |
1324 | ++! EndText: ^.\\" created by instant / docbook-to-man, ${date} | |
1325 | + - | |
1326 | + # | |
1327 | + GI: DOCINFO | |
1328 | +@@ -1367,7 +1367,7 @@ | |
1329 | + ! StartText: ^'\\" t^.TH "${_followrel descendant REFENTRYTITLE 1000}" | |
1330 | + ! "${_followrel descendant MANVOLNUM 1000}" "${date}" | |
1331 | + ! ^${_action 1002}^${_action 1001}^ | |
1332 | +-! EndText: ^...\\" created by instant / docbook-to-man, ${date}^ | |
1333 | ++! EndText: ^.\\" created by instant / docbook-to-man, ${date}^ | |
1334 | + - | |
1335 | + # | |
1336 | + GI: DOCINFO | |
1337 | +diff -Naur docbook-to-man-2.0.0.orig/cmd/docbook-to-man.sh docbook-to-man-2.0.0/cmd/docbook-to-man.sh | |
1338 | +--- docbook-to-man-2.0.0.orig/cmd/docbook-to-man.sh 1999-07-03 12:58:23.000000000 +0000 | |
1339 | ++++ docbook-to-man-2.0.0/cmd/docbook-to-man.sh 2006-07-29 15:23:05.000000000 +0000 | |
1340 | +@@ -37,33 +37,22 @@ | |
1341 | + # | |
1342 | + ############################################################################# | |
1343 | + | |
1344 | +-# ***** change the following paths if your installation of nsgmls and / or | |
1345 | +-# ***** DocBook isn't into the default places. | |
1346 | +- | |
1347 | +-ROOT=/usr/local | |
1348 | +-SGMLS=$ROOT/lib/sgml | |
1349 | +-DOCBOOK=$SGMLS/Davenport/dtd | |
1350 | +- | |
1351 | +- | |
1352 | +-# ***** modify the following line (to "=false") if you're not using the | |
1353 | +-# ***** Elan Documentor's Workbench | |
1354 | +- | |
1355 | +-doElanPSInclude=true | |
1356 | +- | |
1357 | +- | |
1358 | +- | |
1359 | +-# Everything below this line should be pretty standard and not require | |
1360 | +-# modification. | |
1361 | +- | |
1362 | +-#ulimit -c unlimited | |
1363 | +- | |
1364 | +-PARSER=nsgmls | |
1365 | +-INSTANT=instant | |
1366 | +-INSTANT_OPT=-d | |
1367 | ++ROOT=/usr | |
1368 | ++SGMLS=$ROOT/share/sgml | |
1369 | ++DOCBOOK=$SGMLS/docbook/dtd/4.1 | |
1370 | ++ | |
1371 | ++if test -x /usr/bin/nsgmls; then | |
1372 | ++ PARSER=/usr/bin/nsgmls | |
1373 | ++elif test -x /usr/bin/onsgmls; then | |
1374 | ++ PARSER=/usr/bin/onsgmls | |
1375 | ++else | |
1376 | ++ echo "error: SGML parser not found" 1>&2 | |
1377 | ++fi | |
1378 | ++INSTANT=/usr/bin/instant | |
1379 | ++INSTANT_OPT=${INSTANT_OPT:-"-d"} | |
1380 | + | |
1381 | + CATALOG=$DOCBOOK/docbook.cat | |
1382 | + DECL=$DOCBOOK/docbook.dcl | |
1383 | +-#PROLOG=$DOCBOOK/docbook.prolog | |
1384 | + | |
1385 | + error=false | |
1386 | + | |
1387 | +@@ -72,104 +61,13 @@ | |
1388 | + else error=true | |
1389 | + fi | |
1390 | + | |
1391 | +-if `$error` | |
1392 | +-then echo "usage: docbook-to-man docbook-instance" | |
1393 | +- exit 1 | |
1394 | +-fi | |
1395 | ++$error && echo "usage: docbook-to-man docbook-instance" 1>&2 && exit 1 | |
1396 | + | |
1397 | +-if `$doElanPSInclude` | |
1398 | +-then cat > /tmp/dtm.$$.psinc <<\! | |
1399 | +-...\" $Header$ | |
1400 | +-...\" | |
1401 | +-...\" transcript compatibility for postscript use. | |
1402 | +-...\" | |
1403 | +-...\" synopsis: .P! <file.ps> | |
1404 | +-...\" | |
1405 | +-.de P! | |
1406 | +-\\&. | |
1407 | +-.fl \" force out current output buffer | |
1408 | +-\\!%PB | |
1409 | +-\\!/showpage{}def | |
1410 | +-...\" the following is from Ken Flowers -- it prevents dictionary overflows | |
1411 | +-\\!/tempdict 200 dict def tempdict begin | |
1412 | +-.fl \" prolog | |
1413 | +-.sy cat \\$1\" bring in postscript file | |
1414 | +-...\" the following line matches the tempdict above | |
1415 | +-\\!end % tempdict % | |
1416 | +-\\!PE | |
1417 | +-\\!. | |
1418 | +-.sp \\$2u \" move below the image | |
1419 | +-.. | |
1420 | +-! | |
1421 | +-else cat > /tmp/dtm.$$.psinc <<\! | |
1422 | +-...\" $Header$ | |
1423 | +-...\" | |
1424 | +-...\" transcript compatibility for postscript use. | |
1425 | +-...\" | |
1426 | +-...\" synopsis: .P! <file.ps> | |
1427 | +-...\" | |
1428 | +-.de P! | |
1429 | +-.fl | |
1430 | +-\!!1 setgray | |
1431 | +-.fl | |
1432 | +-\\&.\" | |
1433 | +-.fl | |
1434 | +-\!!0 setgray | |
1435 | +-.fl \" force out current output buffer | |
1436 | +-\!!save /psv exch def currentpoint translate 0 0 moveto | |
1437 | +-\!!/showpage{}def | |
1438 | +-.fl \" prolog | |
1439 | +-.sy sed -e 's/^/!/' \\$1\" bring in postscript file | |
1440 | +-\!!psv restore | |
1441 | +-. | |
1442 | +-! | |
1443 | +-fi | |
1444 | +- | |
1445 | +-cat >> /tmp/dtm.$$.psinc <<\! | |
1446 | +-.de pF | |
1447 | +-.ie \a\\*(f1\a\a .ds f1 \\n(.f | |
1448 | +-.el .ie \a\\*(f2\a\a .ds f2 \\n(.f | |
1449 | +-.el .ie \a\\*(f3\a\a .ds f3 \\n(.f | |
1450 | +-.el .ie \a\\*(f4\a\a .ds f4 \\n(.f | |
1451 | +-.el .tm ? font overflow | |
1452 | +-.ft \\$1 | |
1453 | +-.. | |
1454 | +-.de fP | |
1455 | +-.ie !\a\\*(f4\a\a \{\ | |
1456 | +-. ft \\*(f4 | |
1457 | +-. ds f4\" | |
1458 | +-' br \} | |
1459 | +-.el .ie !\a\\*(f3\a\a \{\ | |
1460 | +-. ft \\*(f3 | |
1461 | +-. ds f3\" | |
1462 | +-' br \} | |
1463 | +-.el .ie !\a\\*(f2\a\a \{\ | |
1464 | +-. ft \\*(f2 | |
1465 | +-. ds f2\" | |
1466 | +-' br \} | |
1467 | +-.el .ie !\a\\*(f1\a\a \{\ | |
1468 | +-. ft \\*(f1 | |
1469 | +-. ds f1\" | |
1470 | +-' br \} | |
1471 | +-.el .tm ? font underflow | |
1472 | +-.. | |
1473 | +-.ds f1\" | |
1474 | +-.ds f2\" | |
1475 | +-.ds f3\" | |
1476 | +-.ds f4\" | |
1477 | +-! | |
1478 | +- | |
1479 | +- | |
1480 | +-#if [ ! -f $PROLOG ] | |
1481 | +-#then cat > $PROLOG <<! | |
1482 | +-#<!DOCTYPE RefEntry PUBLIC "-//Davenport//DTD DocBook V2.4.1//EN" [ | |
1483 | +-#<!ENTITY npzwc ""> | |
1484 | +-#]> | |
1485 | +-#! | |
1486 | +-#fi | |
1487 | +- | |
1488 | +-(cat /tmp/dtm.$$.psinc; | |
1489 | ++(#cat /tmp/dtm.$$.psinc; | |
1490 | + $PARSER -gl -m$CATALOG $DECL $INSTANCE | | |
1491 | +- $INSTANT $INSTANT_OPT -croff.cmap -sroff.sdata -tdocbook-to-man.ts) | |
1492 | +- | |
1493 | +-rm -f /tmp/dtm.$$.psinc | |
1494 | ++ $INSTANT -croff.cmap -sroff.sdata -tdocbook-to-man.ts $INSTANT_OPT | | |
1495 | ++ sed 's/^[ ]*// | |
1496 | ++ s/$/ / | |
1497 | ++ s/--/\\-\\-/g | |
1498 | ++ s/^-/\\-/ | |
1499 | ++ s/\([^A-Za-z0-9\-]\)-/\1\\-/g' ) | |
1500 | --- docbook-to-man-2.0.0.orig/debian/patches/00list | |
1501 | +++ docbook-to-man-2.0.0/debian/patches/00list | |
1502 | @@ -0,0 +1 @@ | |
1503 | +01-conglomeration | |
1504 | --- docbook-to-man-2.0.0.orig/debian/changelog | |
1505 | +++ docbook-to-man-2.0.0/debian/changelog | |
1506 | @@ -0,0 +1,190 @@ | |
1507 | +docbook-to-man (1:2.0.0-21) unstable; urgency=low | |
1508 | + | |
1509 | + * Took over package from Luk. | |
1510 | + * Redone debian directory based on new debhelper templates, additionally: | |
1511 | + - including README and README.ans as docs. | |
1512 | + - removed useless README.Debian. | |
1513 | + - using dpatch for upstream modifications now. | |
1514 | + | |
1515 | + -- Daniel Baumann <daniel@debian.org> Sat, 29 Jul 2006 17:26:00 +0200 | |
1516 | + | |
1517 | +docbook-to-man (1:2.0.0-20) unstable; urgency=low | |
1518 | + | |
1519 | + * Make shell independent (Closes: #332437). | |
1520 | + | |
1521 | + -- Luk Claes <luk@debian.org> Sat, 19 Nov 2005 18:40:30 +0100 | |
1522 | + | |
1523 | +docbook-to-man (1:2.0.0-19) unstable; urgency=low | |
1524 | + | |
1525 | + * Remove docbook-dsssl dependency | |
1526 | + * Correct support for XML sources. | |
1527 | + | |
1528 | + -- Luk Claes <luk@debian.org> Wed, 3 Aug 2005 17:09:49 +0200 | |
1529 | + | |
1530 | +docbook-to-man (1:2.0.0-18) unstable; urgency=low | |
1531 | + | |
1532 | + * Add support for XML sources (closes: #319153). | |
1533 | + * Changed e-mail address to luk@debian.org. | |
1534 | + * Updated Standards-Version. | |
1535 | + * Added debian/compat. | |
1536 | + | |
1537 | + -- Luk Claes <luk@debian.org> Wed, 3 Aug 2005 16:36:39 +0200 | |
1538 | + | |
1539 | +docbook-to-man (1:2.0.0-17) unstable; urgency=low | |
1540 | + | |
1541 | + * cmd/docbook-to-man.sh: UTF minus signs (closes: #284209). | |
1542 | + | |
1543 | + -- Luk Claes <luk.claes@ugent.be> Tue, 21 Dec 2004 14:54:21 +0100 | |
1544 | + | |
1545 | +docbook-to-man (1:2.0.0-16) unstable; urgency=low | |
1546 | + | |
1547 | + * Transpec/docbook-to-man.ts: removed '\\' for OPTION (closes: #279912). | |
1548 | + * cmd/docbook-to-man.sh: sed/ -/ \\-/g (UTF minus sign). | |
1549 | + | |
1550 | + -- Luk Claes <luk.claes@ugent.be> Sat, 6 Nov 2004 11:43:54 +0100 | |
1551 | + | |
1552 | +docbook-to-man (1:2.0.0-15) unstable; urgency=low | |
1553 | + | |
1554 | + * Removed postscript and font stuff (closes: #275568, #286383). | |
1555 | + | |
1556 | + -- Luk Claes <luk.claes@ugent.be> Tue, 12 Oct 2004 15:35:43 +0200 | |
1557 | + | |
1558 | +docbook-to-man (1:2.0.0-14) unstable; urgency=low | |
1559 | + | |
1560 | + * Removed 'extern char *malloc()' from Instant/tptregexp/regexp.c | |
1561 | + (closes: #270951). | |
1562 | + * Added section numbers to manpages for instant and transpec | |
1563 | + * debian/rules: transpec.1 -> transpec.5 | |
1564 | + * Transpec/docbook-to-man.ts added '//' for OPTION (UTF minus sign) | |
1565 | + | |
1566 | + -- Luk Claes <luk.claes@ugent.be> Fri, 10 Sep 2004 11:18:11 +0200 | |
1567 | + | |
1568 | +docbook-to-man (1:2.0.0-13) unstable; urgency=low | |
1569 | + | |
1570 | + * Updated manpage and groff comments generated (closes: #208574). | |
1571 | + | |
1572 | + -- Luk Claes <luk.claes@ugent.be> Fri, 5 Sep 2003 09:12:39 +0200 | |
1573 | + | |
1574 | +docbook-to-man (1:2.0.0-12) unstable; urgency=low | |
1575 | + | |
1576 | + * New maintainer (closes: #154590). | |
1577 | + * Depends now on sp|opensp instead of sp (closes: #196835). | |
1578 | + * Updated to standards version 3.6.1. | |
1579 | + * Removed recommendation to switch to DocBook/XML, xsltproc, and docbook-xsl in debian/control and in manpage. | |
1580 | + * doElanPSInclude=false (closes: #189222). | |
1581 | + * Added instructions to use white space in manpage (closes: #111919,#111920,#111921,#112105). | |
1582 | + * Use fR instead of fP causes minor inconvenience when nested markup is used (closes: #111918). | |
1583 | + | |
1584 | + -- Luk Claes <luk.claes@ugent.be> Tue, 2 Sep 2003 10:34:12 +0200 | |
1585 | + | |
1586 | +docbook-to-man (1:2.0.0-11.1) unstable; urgency=low | |
1587 | + | |
1588 | + * Depends now on sp|opensp instead of sp (closes: #196835). | |
1589 | + * New standards version. | |
1590 | + * Recommendation to switch to DocBook/XML, xsltproc, and docbook-xsl in | |
1591 | + debian/control and in manual page. | |
1592 | + | |
1593 | + -- W. Borgert <debacle@debian.org> Sun, 17 Aug 2003 21:20:29 +0200 | |
1594 | + | |
1595 | +docbook-to-man (1:2.0.0-11) unstable; urgency=low | |
1596 | + | |
1597 | + * Add hint to use xsltproc and docbook-xsl to description, and a | |
1598 | + recommends to control. | |
1599 | + * Fix dependency on docbook-dsssl (closes: #177981). | |
1600 | + | |
1601 | + -- W. Borgert <debacle@debian.org> Sun, 26 Jan 2003 16:22:43 +0000 | |
1602 | + | |
1603 | +docbook-to-man (1:2.0.0-10) unstable; urgency=low | |
1604 | + | |
1605 | + * Changed references in manual pages, closes: #131752. | |
1606 | + * Used all changes by John, so still closes: #115210. | |
1607 | + | |
1608 | + -- W. Borgert <debacle@debian.org> Sat, 27 Apr 2002 15:25:44 +0000 | |
1609 | + | |
1610 | +docbook-to-man (1:2.0.0-9.1) unstable; urgency=medium | |
1611 | + | |
1612 | + * NMU | |
1613 | + * transpec/roff.sdata: Significant cleanup. | |
1614 | + + Swap last two characters on some entities (closes: bug#115210) | |
1615 | + + Remove extraneous text on a few entities (e.g. lcub) | |
1616 | + + Escape !, ^ on some entities (e.g. excl) | |
1617 | + + Improve sub-optimal entities (e.g. yen) | |
1618 | + + Define entities previously commented out (e.g. atilde) | |
1619 | + + Add delimiter math symbols previously ignored (e.g. rceil) | |
1620 | + * cmd/docbook-to-man.sh: | |
1621 | + + Move $INSTANT_OPT to the end of the instant command-line invocation | |
1622 | + so that it will override earlier command-line arguments. For | |
1623 | + example, instant seems to ignore all but the last -s argument. | |
1624 | + * debian/rules: | |
1625 | + + Add make clean, make clobber to the clean target | |
1626 | + + Un-tabify comment lines so they aren't invoked by the rules file | |
1627 | + * debian/changelog: | |
1628 | + + Remove emacs variables from end. | |
1629 | + | |
1630 | + -- John R. Daily <koala@debian.org> Tue, 26 Mar 2002 15:47:23 -0500 | |
1631 | + | |
1632 | +docbook-to-man (1:2.0.0-9) unstable; urgency=low | |
1633 | + | |
1634 | + * Fixed paths to DocBook 4.1 in Debian (closes: bug#98441). | |
1635 | + | |
1636 | + -- W. Borgert <debacle@debian.org> Sun, 27 May 2001 13:21:40 +0000 | |
1637 | + | |
1638 | +docbook-to-man (1:2.0.0-8) unstable; urgency=low | |
1639 | + | |
1640 | + * INSTANT_OPT is now inherited from the environment. Makes it | |
1641 | + possible to run instant w/o options. | |
1642 | + * Better manual page. These two points: closes: bug#76013. | |
1643 | + * A little update to support DocBook 4.1 partly. | |
1644 | + | |
1645 | + -- W. Borgert <debacle@debian.org> Fri, 26 Jan 2001 22:41:51 +0000 | |
1646 | + | |
1647 | +docbook-to-man (1:2.0.0-7) frozen unstable; urgency=low | |
1648 | + | |
1649 | + * Fixed some meaningless warnings. Closes: bug#69286. | |
1650 | + * Added build dependency on debhelper. | |
1651 | + | |
1652 | + -- W. Borgert <debacle@debian.org> Thu, 17 Aug 2000 03:34:05 +0000 | |
1653 | + | |
1654 | +docbook-to-man (1:2.0.0-6) frozen unstable; urgency=low | |
1655 | + | |
1656 | + * Re-upload to frozen. Still closes: bug#50714. | |
1657 | + | |
1658 | + -- W. Borgert <debacle@debian.org> Sat, 22 Jan 2000 12:21:14 +0000 | |
1659 | + | |
1660 | +docbook-to-man (1:2.0.0-5) frozen unstable; urgency=low | |
1661 | + | |
1662 | + * Added reference to source in copyright file. Closes: bug#50714. | |
1663 | + * Renamed from docbook-to-man-ans to docbook-to-man, | |
1664 | + because there seems to be no other variant around. | |
1665 | + | |
1666 | + -- W. Borgert <debacle@debian.org> Sun, 28 Nov 1999 12:33:44 +0000 | |
1667 | + | |
1668 | +docbook-to-man-ans (1:2.0.0-4) unstable; urgency=low | |
1669 | + | |
1670 | + * Instead of removing space characters from the SGML source, removing | |
1671 | + leading spaces from the roff file. Looks even better. | |
1672 | + * Error messages of the shell script go to stderr. | |
1673 | + * Docs and man pages according new policy. | |
1674 | + | |
1675 | + -- W. Borgert <debacle@debian.org> Thu, 14 Oct 1999 22:04:00 +0000 | |
1676 | + | |
1677 | +docbook-to-man-ans (1:2.0.0-3) unstable; urgency=low | |
1678 | + | |
1679 | + * Removing trailing spaces from SGML source. Looks better. | |
1680 | + * Version name 2.0.0 instead of 2.0.0.ans, | |
1681 | + because "ans" is already in the package name. | |
1682 | + | |
1683 | + -- W. Borgert <debacle@debian.org> Mon, 19 Aug 1999 19:47:00 +0000 | |
1684 | + | |
1685 | +docbook-to-man-ans (2.0.0.ans-2) unstable; urgency=low | |
1686 | + | |
1687 | + * Changed platfrom from i386 to any. Closes: bug#42692. | |
1688 | + * Added SGML source of man page to docs. | |
1689 | + | |
1690 | + -- W. Borgert <debacle@debian.org> Mon, 9 Aug 1999 20:55:00 +0000 | |
1691 | + | |
1692 | +docbook-to-man-ans (2.0.0.ans-1) unstable; urgency=low | |
1693 | + | |
1694 | + * Initial Release for debian. | |
1695 | + | |
1696 | + -- W. Borgert <debacle@debian.org> Sat, 3 Jul 1999 13:17:52 +0000 | |
1697 | --- docbook-to-man-2.0.0.orig/debian/compat | |
1698 | +++ docbook-to-man-2.0.0/debian/compat | |
1699 | @@ -0,0 +1 @@ | |
1700 | +4 | |
1701 | --- docbook-to-man-2.0.0.orig/debian/rules | |
1702 | +++ docbook-to-man-2.0.0/debian/rules | |
1703 | @@ -0,0 +1,70 @@ | |
1704 | +#!/usr/bin/make -f | |
1705 | + | |
1706 | +# Uncomment this to turn on verbose mode. | |
1707 | +#export DH_VERBOSE=1 | |
1708 | + | |
1709 | +include /usr/share/dpatch/dpatch.make | |
1710 | + | |
1711 | +CFLAGS = -Wall -g | |
1712 | + | |
1713 | +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | |
1714 | + CFLAGS += -O0 | |
1715 | +else | |
1716 | + CFLAGS += -O2 | |
1717 | +endif | |
1718 | + | |
1719 | +build: build-stamp | |
1720 | +build-stamp: patch-stamp | |
1721 | + dh_testdir | |
1722 | + | |
1723 | + # Building package | |
1724 | + CFLAGS="$(CFLAGS)" $(MAKE) ROOT=/usr | |
1725 | + | |
1726 | + touch build-stamp | |
1727 | + | |
1728 | +clean: unpatch | |
1729 | + dh_testdir | |
1730 | + dh_testroot | |
1731 | + rm -f build-stamp | |
1732 | + | |
1733 | + # Cleaning package | |
1734 | + -$(MAKE) clean | |
1735 | + -$(MAKE) clobber | |
1736 | + | |
1737 | + dh_clean | |
1738 | + | |
1739 | +install: build | |
1740 | + dh_testdir | |
1741 | + dh_testroot | |
1742 | + dh_clean -k | |
1743 | + dh_installdirs | |
1744 | + | |
1745 | + # Installing package | |
1746 | + $(MAKE) install ROOT=$(CURDIR)/debian/docbook-to-man/usr | |
1747 | + | |
1748 | + # Installing manpages | |
1749 | + install -D -m 0644 Doc/docbook-to-man.1 debian/docbook-to-man/usr/share/man/man1/docbook-to-man.1 | |
1750 | + install -D -m 0644 Doc/instant.1 debian/docbook-to-man/usr/share/man/man1/instant.1 | |
1751 | + install -D -m 0644 Doc/transpec.1 debian/docbook-to-man/usr/share/man/man5/transpec.5 | |
1752 | + install -D -m 0644 Instant/tptregexp/regexp.3 debian/docbook-to-man/usr/share/man/man3/regexp.3 | |
1753 | + | |
1754 | +binary-indep: build install | |
1755 | + | |
1756 | +binary-arch: build install | |
1757 | + dh_testdir | |
1758 | + dh_testroot | |
1759 | + dh_installchangelogs | |
1760 | + dh_installdocs | |
1761 | + dh_install | |
1762 | + dh_link | |
1763 | + dh_strip | |
1764 | + dh_compress | |
1765 | + dh_fixperms | |
1766 | + dh_installdeb | |
1767 | + dh_shlibdeps | |
1768 | + dh_gencontrol | |
1769 | + dh_md5sums | |
1770 | + dh_builddeb | |
1771 | + | |
1772 | +binary: binary-indep binary-arch | |
1773 | +.PHONY: build clean binary-indep binary-arch binary install | |
1774 | --- docbook-to-man-2.0.0.orig/debian/control | |
1775 | +++ docbook-to-man-2.0.0/debian/control | |
1776 | @@ -0,0 +1,16 @@ | |
1777 | +Source: docbook-to-man | |
1778 | +Section: text | |
1779 | +Priority: optional | |
1780 | +Maintainer: Daniel Baumann <daniel@debian.org> | |
1781 | +Build-Depends: debhelper (>= 4), dpatch | |
1782 | +Standards-Version: 3.7.2 | |
1783 | + | |
1784 | +Package: docbook-to-man | |
1785 | +Architecture: any | |
1786 | +Depends: ${shlibs:Depends}, docbook, sp | opensp | |
1787 | +Description: converter from DocBook SGML into roff man macros | |
1788 | + docbook-to-man is a batch converter that transforms UNIX-style manpages from | |
1789 | + the DocBook SGML format into nroff/troff man macros. | |
1790 | + . | |
1791 | + This is not the original version by Fred Dalrymple, but one with the | |
1792 | + modifications by David Bolen. | |
1793 | --- docbook-to-man-2.0.0.orig/debian/copyright | |
1794 | +++ docbook-to-man-2.0.0/debian/copyright | |
1795 | @@ -0,0 +1,36 @@ | |
1796 | +This package was first debianized by Wolfgang Borgert <debacle@debian.org> on | |
1797 | +Sat, 3 Jul 1999 13:17:52 +0000. | |
1798 | + | |
1799 | +It was downloaded from <http://www.oasis-open.org/docbook/tools/dtm/>. | |
1800 | + | |
1801 | +Upstream Authors: Fred Dalrymple <fld@veloce.com>, | |
1802 | + David Bolen <db3l@ans.net>. | |
1803 | + | |
1804 | +License: | |
1805 | + | |
1806 | + Copyright (C) 1996 X Consortium | |
1807 | + Copyright (C) 1996 Dalrymple Computing | |
1808 | + | |
1809 | + Permission is hereby granted, free of charge, to any person obtaining a | |
1810 | + copy of this software and associated documentation files (the | |
1811 | + "Software"), to deal in the Software without restriction, including | |
1812 | + without limitation the rights to use, copy, modify, merge, publish, | |
1813 | + distribute, sublicense, and/or sell copies of the Software, and to | |
1814 | + permit persons to whom the Software is furnished to do so, subject to | |
1815 | + the following conditions: | |
1816 | + | |
1817 | + The above copyright notice and this permission notice shall be included | |
1818 | + in all copies or substantial portions of the Software. | |
1819 | + | |
1820 | + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
1821 | + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
1822 | + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
1823 | + IN NO EVENT SHALL THE X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR | |
1824 | + ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |
1825 | + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
1826 | + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
1827 | + | |
1828 | + Except as contained in this notice, the names of the X Consortium and | |
1829 | + Dalrymple Consulting shall not be used in advertising or otherwise to | |
1830 | + promote the sale, use or other dealings in this Software without prior | |
1831 | + written authorization. | |
1832 | --- docbook-to-man-2.0.0.orig/debian/docs | |
1833 | +++ docbook-to-man-2.0.0/debian/docs | |
1834 | @@ -0,0 +1,2 @@ | |
1835 | +README | |
1836 | +README.ANS | |
1837 | --- docbook-to-man-2.0.0.orig/debian/dirs | |
1838 | +++ docbook-to-man-2.0.0/debian/dirs | |
1839 | @@ -0,0 +1,2 @@ | |
1840 | +/usr/bin | |
1841 | +/usr/share/sgml/transpec |