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
4 +#!/bin/sh /usr/share/dpatch/dpatch-run
5 +## 01-conglomeration.dpatch
7 +## DP: FIXME - Patches need to be broken out.
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
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 > \
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
27 ++.\" transcript compatibility for postscript use.
29 ++.\" synopsis: .P! <file.ps>
38 ++.fl \" force out current output buffer
39 ++\!!save /psv exch def currentpoint translate 0 0 moveto
42 ++.sy sed \-e 's/^/!/' \\$1\" bring in postscript file
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
54 ++.ie !
\a\\*(f4
\a\a \{\
58 ++.el .ie !
\a\\*(f3
\a\a \{\
62 ++.el .ie !
\a\\*(f2
\a\a \{\
66 ++.el .ie !
\a\\*(f1
\a\a \{\
70 ++.el .tm ? font underflow
77 ++.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
78 ++.TH "docbook-to-man" "1"
80 ++docbook-to-man \(em convert \fBDocBook\fP SGML into roff \-man macros
83 ++\fBdocbook-to-man\fR [\fIsource.sgml\fR] [>] [\fIdestination.1\fR]
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.
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
95 ++This is not the original version by Fred Dalrymple, but one
96 ++with the ANS Modifications by David Bolen (db3l@ans.net).
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"
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.
109 ++When you want to collapse white space into one, you should invoke docbook-to-man with INSTANT_OPT set to a space character.
111 ++Special characters like \\, ' or . will not be interpreted if you set INSTANT_OPT to a space or tab character.
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
122 ++" docbook-to-man src.sgml >
126 ++Note: The better way to use special characters like ^ or
127 ++> is to write them in the SGML way, i.e. ⁁
131 ++Copyright (c) 1996 X Consortium
133 ++Copyright (c) 1996 Dalrymple Consulting
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
144 ++The above copyright notice and this permission notice shall
145 ++be included in all copies or substantial portions of the
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.
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
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
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>">
176 ++<!-- Manual page for docbook-to-man, DocBook source file
177 ++ (C) 1999 W. Borgert debacle@debian.org
184 ++ <email>debacle@debian.org</email>
187 ++ <firstname>W.</firstname>
188 ++ <surname>Borgert</surname>
190 ++ <date>1999-06-03</date>
193 ++ <refentrytitle>docbook-to-man</refentrytitle>
194 ++ <manvolnum>1</manvolnum>
197 ++ <refname>docbook-to-man</refname> <refpurpose>convert &docbook;
198 ++ &sgml; into roff \-man macros</refpurpose>
202 ++ <command>docbook-to-man</command>
203 ++ <arg><replaceable>source.sgml</replaceable></arg>
205 ++ <arg><replaceable>destination.1</replaceable></arg>
209 ++ <title>DESCRIPTION</title>
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>
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
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>
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>
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>
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>
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>
255 ++ <title>COPYRIGHT</title>
257 ++ <para>Copyright (c) 1996 X Consortium</para>
258 ++ <para>Copyright (c) 1996 Dalrymple Consulting</para>
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>
269 ++ <para>The above copyright notice and this permission notice shall
270 ++ be included in all copies or substantial portions of the
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>
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>
290 ++ <title>See also</title>
292 ++ <para>instant(1) and transpec(5)</para>
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
300 +-...\" Copyright (c) 1994
301 +-...\" Open Software Foundation, Inc.
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.
314 +-...\" Copyright (c) 1996 X Consortium
315 +-...\" Copyright (c) 1996 Dalrymple Consulting
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:
324 +-...\" The above copyright notice and this permission notice shall be included in
325 +-...\" all copies or substantial portions of the Software.
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.
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.
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"
343 ++.\" Copyright (c) 1994
344 ++.\" Open Software Foundation, Inc.
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.
357 ++.\" Copyright (c) 1996 X Consortium
358 ++.\" Copyright (c) 1996 Dalrymple Consulting
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:
367 ++.\" The above copyright notice and this permission notice shall be included in
368 ++.\" all copies or substantial portions of the Software.
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.
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.
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"
386 + instant - manipulates ESIS from parsed SGML instance
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).
396 + The following are the possible command line options to \fBinstant\fP. Output is sent to the standard output, except where otherwise noted.
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.
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"
415 + Print a help message briefly describing the options.
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
424 + 'br\" labeled list end
425 + .SH "Related Information"
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
435 +-...\" Copyright (c) 1994
436 +-...\" Open Software Foundation, Inc.
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.
449 +-...\" Copyright (c) 1996 X Consortium
450 +-...\" Copyright (c) 1996 Dalrymple Consulting
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:
459 +-...\" The above copyright notice and this permission notice shall be included in
460 +-...\" all copies or substantial portions of the Software.
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.
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.
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"
479 ++.\" Copyright (c) 1994
480 ++.\" Open Software Foundation, Inc.
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.
493 ++.\" Copyright (c) 1996 X Consortium
494 ++.\" Copyright (c) 1996 Dalrymple Consulting
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:
503 ++.\" The above copyright notice and this permission notice shall be included in
504 ++.\" all copies or substantial portions of the Software.
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.
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.
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"
522 + \fBtranspec\fP - translation specification for \fBinstant\fP
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.
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,
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.
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.
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.
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]"
571 + .SH "Related Information"
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
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 */
584 + /* ----- some macros for convenience and ease of code reading ----- */
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
592 + this_prog = myname;
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]);
604 ++ if ( xml_mode ) fold_case = 0; /* set for lowercase if xml flag is ON */
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) +
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); */
620 + case '#': case '%':
621 + /* Decimal internal(#)/document(%) char */
622 + /* XXX: Handle better */
625 + while (*src != ';') {
630 + /* XXX: Whimp out - no translation */
635 + /* SDATA reference */
636 +@@ -725,16 +735,16 @@
637 + /* whether or not whitespace is kept in this element */
640 +- if (pch = FindAttValByName(cur_e,"FORMAT")) {
641 ++ if (pch = FindAttValByName(cur_e,xml_mode ? "format" : "FORMAT")) {
643 +- fprintf(stderr," D: Using FORMAT from %s element\n",
644 ++ fprintf(stderr," D: Using format from %s element\n",
649 + cur_e = cur_e->parent;
651 +- if (!(pch && !(strcmp(pch,"LINESPECIFIC")))) {
652 ++ if (!(pch && !(strcmp(pch, xml_mode ? "linespecific" : "LINESPECIFIC")))) {
654 + fprintf(stderr," D: Compressing whitespace\n");
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
660 + register char *longest;
663 +- extern char *malloc();
666 + FAIL("NULL argument");
668 + register char *string;
671 +- extern char *strchr();
673 + /* Be paranoid... */
674 + if (prog == NULL || string == NULL) {
677 + register char *scan; /* Current node. */
678 + char *next; /* Next node. */
679 +- extern char *strchr();
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
690 +-PIECES = cmd Instant Transpec
691 ++PIECES = cmd Instant Transpec
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
700 +-...\" Prolog for docbook-to-man.ts - macros to push/pop fonts.
704 ++.\" Prolog for docbook-to-man.ts - macros to push/pop fonts.
708 + .ie
\a\\*(f1
\a\a .ds f1 \\n(.f
709 + .el .ie
\a\\*(f2
\a\a .ds f2 \\n(.f
715 +-...\" End of prolog
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
724 + # #### ##### ##### ##### ##### ##### #### #####
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}^
739 + # inside DocInfo, which we're ignoring
743 ++# inside DocInfo, which we're ignoring
747 ++# inside DocInfo, which we're ignoring
751 ++# inside DocInfo, which we're ignoring
759 ++Context: REFENTRYINFO
764 +@@ -306,8 +326,10 @@
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^
777 +@@ -1631,6 +1653,9 @@
782 ++# no special presentation
787 +@@ -1674,7 +1699,8 @@
797 +@@ -1682,6 +1708,11 @@
807 + # no special presentation
809 +@@ -1819,7 +1850,8 @@
819 +@@ -1897,6 +1929,11 @@
829 + # no special presentation - defer to content
831 +@@ -2006,7 +2043,7 @@
835 +-StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
836 ++#StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
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
844 + # #### ##### ##### ##### ##### ##### #### #####
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}^
857 +@@ -2161,7 +2162,7 @@
861 +-StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
862 ++#StartText: .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
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
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
896 + # [curren] =general currency sign
912 +-[lcub ] { /lbrace O: =left curly bracket
914 + # [horbar] horizontal bar
919 + # [ordm ] =ordinal indicator, masculine
920 + # [ordf ] =ordinal indicator, feminine
924 + # [para ] =pilcrow (paragraph sign)
926 + # [middot] /centerdot B: =middle dot
934 + # [sung ] =music note (sung text sign)
937 + # [iexcl ] =inverted exclamation mark
942 +@@ -121,14 +128,15 @@
945 + # [iquest] =inverted question mark
947 + # [laquo ] =angle quotation mark, left
950 + # [raquo ] =angle quotation mark, right
962 +@@ -137,8 +145,12 @@
963 + # trailing space here
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-->
978 + # [incare] =in-care-of symbol
980 + # [block ] =full block
981 + # [uhblk ] =upper half block
982 + # [lhblk ] =lower half block
984 + # [rect ] =rectangle, open
985 + # [utri ] /triangle =up triangle, open
986 + # [dtri ] /triangledown =down triangle, open
987 +-[star ] \\(** =star, open
990 + # [squf ] /blacksquare =sq bullet, filled
991 + # [utrif ] /blacktriangle =up tri, filled
994 + # [hybull] rectangle, filled (hyphen bullet)
995 + # [loz ] /lozenge - lozenge or total mark
997 + # [lozf ] /blacklozenge - lozenge, filled
998 + # [ltri ] /triangleleft B: l triangle, open
999 + # [rtri ] /triangleright B: r triangle, open
1000 +@@ -224,68 +238,100 @@
1002 + # Added Latin 1 ________________________________
1012 ++# It's not clear why, but the ^ must be escaped
1021 + # [aring ] =small a, ring
1022 + # [Aring ] =capital A, ring
1023 + # [atilde] =small a, tilde
1024 + # [Atilde] =capital A, tilde
1028 + # [Auml ] =capital A, dieresis or umlaut mark
1031 + # [ccedil] =small c, cedilla
1032 + # [Ccedil] =capital C, cedilla
1035 + # [eth ] =small eth, Icelandic
1036 + # [ETH ] =capital Eth, Icelandic
1043 + # [ecirc ] =small e, circumflex accent
1044 + # [Ecirc ] =capital E, circumflex accent
1051 + # [euml ] =small e, dieresis or umlaut mark
1052 + # [Euml ] =capital E, dieresis or umlaut mark
1059 + # [icirc ] =small i, circumflex accent
1060 + # [Icirc ] =capital I, circumflex accent
1069 + # [iuml ] =small i, dieresis or umlaut mark
1070 + # [Iuml ] =capital I, dieresis or umlaut mark
1081 + # [ocirc ] =small o, circumflex accent
1082 + # [Ocirc ] =capital O, circumflex accent
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
1100 + # [THORN ] =capital THORN, Icelandic
1105 + # [ucirc ] =small u, circumflex accent
1106 + # [Ucirc ] =capital U, circumflex accent
1113 + # [uuml ] =small u, dieresis or umlaut mark
1114 + # [Uuml ] =capital U, dieresis or umlaut mark
1117 + # [yacute] =small y, acute accent
1118 + # [Yacute] =capital Y, acute accent
1121 + # [yuml ] =small y, dieresis or umlaut mark
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
1127 + # Added Latin 2 ________________________________
1129 +@@ -333,6 +379,7 @@
1130 + # [ijlig ] =small ij ligature
1131 + # [IJlig ] =capital IJ ligature
1132 + # [inodot] =small i without dot
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
1142 + # [Lstrok] =capital L, stroke
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
1152 + # [OElig ] =capital OE ligature
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 ________________________________
1160 + # [aleph ] /aleph =aleph, Hebrew
1162 + # [and ] /wedge /land B: =logical and
1164 + # [ang90 ] =right (90 degree) angle
1165 + # [angsph] /sphericalangle =angle-spherical
1168 + # [becaus] /because R: =because
1169 + # [bottom] /bot B: =perpendicular
1171 + # [cap ] /cap B: =intersection
1173 + # [cong ] /cong R: =congruent with
1175 + # [conint] /oint L: =contour integral operator
1176 + # [cup ] /cup B: =union or logical sum
1179 + # [exist ] /exists =at least one exists
1181 + # [forall] /forall =for all
1183 + # [fnof ] =function of (italic small f)
1186 + # [iff ] /iff =if and only if
1189 + # [int ] /int L: =integral operator
1192 + # [lang ] /langle O: =left angle bracket
1194 + # [lArr ] /Leftarrow A: =is implied by
1198 + # [mnplus] /mp B: =minus-or-plus sign
1199 + # [nabla ] /nabla =del, Hamilton operator
1202 + # [ni ] /ni /owns R: =contains
1204 + # [or ] /vee /lor B: =logical or
1206 + # [par ] /parallel R: =parallel
1208 + # [part ] /partial =partial differential
1210 + # [permil] =per thousand
1212 + # [perp ] /perp R: =perpendicular
1214 + # [prime ] /prime =prime or minute
1216 + # [Prime ] =double prime or second
1219 + # [radic ] /surd =radical
1221 + # [rang ] /rangle C: =right angle bracket
1223 + # [rArr ] /Rightarrow A: =implies
1225 + # [sim ] /sim R: =similar
1227 + # [sime ] /simeq R: =similar, equals
1230 +@@ -558,16 +635,24 @@
1233 + # [there4] /therefore R: =therefore
1235 + # [Verbar] /Vert =dbl vertical bar
1237 + # [angst ] Angstrom =capital A, ring
1239 + # [bernou] Bernoulli function (script capital B)
1240 ++# A less than desirable solution
1242 + # [compfn] B: composite function (small circle)
1243 + # [Dot ] =dieresis or umlaut mark
1245 + # [DotDot] four dots above
1246 + # [hamilt] Hamiltonian (script capital H)
1247 + # [lagran] Lagrangian (script capital L)
1248 + # [lowast] low asterisk
1250 + # [notin ] N: negated set membership
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 @@
1257 + # Diacritical Marks ________________________________
1267 + # [circ ] =circumflex accent
1269 + # [dblac ] =double acute accent
1271 + # [die ] =dieresis
1286 ++# Added Math Symbols: Delimiters
1293 ++# [urcorn] Top right corner
1294 ++# [drcorn] Bottom right corner
1295 ++# [ulcorn] Top left corner
1296 ++# [dlcorn] Bottom left corner
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}^
1308 + # #### ##### ##### ##### ##### ##### #### #####
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}^
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}
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}^
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 @@
1342 + #############################################################################
1344 +-# ***** change the following paths if your installation of nsgmls and / or
1345 +-# ***** DocBook isn't into the default places.
1348 +-SGMLS=$ROOT/lib/sgml
1349 +-DOCBOOK=$SGMLS/Davenport/dtd
1352 +-# ***** modify the following line (to "=false") if you're not using the
1353 +-# ***** Elan Documentor's Workbench
1355 +-doElanPSInclude=true
1359 +-# Everything below this line should be pretty standard and not require
1362 +-#ulimit -c unlimited
1368 ++SGMLS=$ROOT/share/sgml
1369 ++DOCBOOK=$SGMLS/docbook/dtd/4.1
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
1376 ++ echo "error: SGML parser not found" 1>&2
1378 ++INSTANT=/usr/bin/instant
1379 ++INSTANT_OPT=${INSTANT_OPT:-"-d"}
1381 + CATALOG=$DOCBOOK/docbook.cat
1382 + DECL=$DOCBOOK/docbook.dcl
1383 +-#PROLOG=$DOCBOOK/docbook.prolog
1387 +@@ -72,104 +61,13 @@
1392 +-then echo "usage: docbook-to-man docbook-instance"
1395 ++$error && echo "usage: docbook-to-man docbook-instance" 1>&2 && exit 1
1397 +-if `$doElanPSInclude`
1398 +-then cat > /tmp/dtm.$$.psinc <<\!
1401 +-...\" transcript compatibility for postscript use.
1403 +-...\" synopsis: .P! <file.ps>
1407 +-.fl \" force out current output buffer
1410 +-...\" the following is from Ken Flowers -- it prevents dictionary overflows
1411 +-\\!/tempdict 200 dict def tempdict begin
1413 +-.sy cat \\$1\" bring in postscript file
1414 +-...\" the following line matches the tempdict above
1415 +-\\!end % tempdict %
1418 +-.sp \\$2u \" move below the image
1421 +-else cat > /tmp/dtm.$$.psinc <<\!
1424 +-...\" transcript compatibility for postscript use.
1426 +-...\" synopsis: .P! <file.ps>
1435 +-.fl \" force out current output buffer
1436 +-\!!save /psv exch def currentpoint translate 0 0 moveto
1439 +-.sy sed -e 's/^/!/' \\$1\" bring in postscript file
1445 +-cat >> /tmp/dtm.$$.psinc <<\!
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
1455 +-.ie !
\a\\*(f4
\a\a \{\
1459 +-.el .ie !
\a\\*(f3
\a\a \{\
1463 +-.el .ie !
\a\\*(f2
\a\a \{\
1467 +-.el .ie !
\a\\*(f1
\a\a \{\
1471 +-.el .tm ? font underflow
1480 +-#if [ ! -f $PROLOG ]
1481 +-#then cat > $PROLOG <<!
1482 +-#<!DOCTYPE RefEntry PUBLIC "-//Davenport//DTD DocBook V2.4.1//EN" [
1483 +-#<!ENTITY npzwc "">
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)
1493 +-rm -f /tmp/dtm.$$.psinc
1494 ++ $INSTANT -croff.cmap -sroff.sdata -tdocbook-to-man.ts $INSTANT_OPT |
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
1504 --- docbook-to-man-2.0.0.orig/debian/changelog
1505 +++ docbook-to-man-2.0.0/debian/changelog
1507 +docbook-to-man (1:2.0.0-21) unstable; urgency=low
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.
1515 + -- Daniel Baumann <daniel@debian.org> Sat, 29 Jul 2006 17:26:00 +0200
1517 +docbook-to-man (1:2.0.0-20) unstable; urgency=low
1519 + * Make shell independent (Closes: #332437).
1521 + -- Luk Claes <luk@debian.org> Sat, 19 Nov 2005 18:40:30 +0100
1523 +docbook-to-man (1:2.0.0-19) unstable; urgency=low
1525 + * Remove docbook-dsssl dependency
1526 + * Correct support for XML sources.
1528 + -- Luk Claes <luk@debian.org> Wed, 3 Aug 2005 17:09:49 +0200
1530 +docbook-to-man (1:2.0.0-18) unstable; urgency=low
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.
1537 + -- Luk Claes <luk@debian.org> Wed, 3 Aug 2005 16:36:39 +0200
1539 +docbook-to-man (1:2.0.0-17) unstable; urgency=low
1541 + * cmd/docbook-to-man.sh: UTF minus signs (closes: #284209).
1543 + -- Luk Claes <luk.claes@ugent.be> Tue, 21 Dec 2004 14:54:21 +0100
1545 +docbook-to-man (1:2.0.0-16) unstable; urgency=low
1547 + * Transpec/docbook-to-man.ts: removed '\\' for OPTION (closes: #279912).
1548 + * cmd/docbook-to-man.sh: sed/ -/ \\-/g (UTF minus sign).
1550 + -- Luk Claes <luk.claes@ugent.be> Sat, 6 Nov 2004 11:43:54 +0100
1552 +docbook-to-man (1:2.0.0-15) unstable; urgency=low
1554 + * Removed postscript and font stuff (closes: #275568, #286383).
1556 + -- Luk Claes <luk.claes@ugent.be> Tue, 12 Oct 2004 15:35:43 +0200
1558 +docbook-to-man (1:2.0.0-14) unstable; urgency=low
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)
1566 + -- Luk Claes <luk.claes@ugent.be> Fri, 10 Sep 2004 11:18:11 +0200
1568 +docbook-to-man (1:2.0.0-13) unstable; urgency=low
1570 + * Updated manpage and groff comments generated (closes: #208574).
1572 + -- Luk Claes <luk.claes@ugent.be> Fri, 5 Sep 2003 09:12:39 +0200
1574 +docbook-to-man (1:2.0.0-12) unstable; urgency=low
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).
1584 + -- Luk Claes <luk.claes@ugent.be> Tue, 2 Sep 2003 10:34:12 +0200
1586 +docbook-to-man (1:2.0.0-11.1) unstable; urgency=low
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.
1593 + -- W. Borgert <debacle@debian.org> Sun, 17 Aug 2003 21:20:29 +0200
1595 +docbook-to-man (1:2.0.0-11) unstable; urgency=low
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).
1601 + -- W. Borgert <debacle@debian.org> Sun, 26 Jan 2003 16:22:43 +0000
1603 +docbook-to-man (1:2.0.0-10) unstable; urgency=low
1605 + * Changed references in manual pages, closes: #131752.
1606 + * Used all changes by John, so still closes: #115210.
1608 + -- W. Borgert <debacle@debian.org> Sat, 27 Apr 2002 15:25:44 +0000
1610 +docbook-to-man (1:2.0.0-9.1) unstable; urgency=medium
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.
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.
1630 + -- John R. Daily <koala@debian.org> Tue, 26 Mar 2002 15:47:23 -0500
1632 +docbook-to-man (1:2.0.0-9) unstable; urgency=low
1634 + * Fixed paths to DocBook 4.1 in Debian (closes: bug#98441).
1636 + -- W. Borgert <debacle@debian.org> Sun, 27 May 2001 13:21:40 +0000
1638 +docbook-to-man (1:2.0.0-8) unstable; urgency=low
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.
1645 + -- W. Borgert <debacle@debian.org> Fri, 26 Jan 2001 22:41:51 +0000
1647 +docbook-to-man (1:2.0.0-7) frozen unstable; urgency=low
1649 + * Fixed some meaningless warnings. Closes: bug#69286.
1650 + * Added build dependency on debhelper.
1652 + -- W. Borgert <debacle@debian.org> Thu, 17 Aug 2000 03:34:05 +0000
1654 +docbook-to-man (1:2.0.0-6) frozen unstable; urgency=low
1656 + * Re-upload to frozen. Still closes: bug#50714.
1658 + -- W. Borgert <debacle@debian.org> Sat, 22 Jan 2000 12:21:14 +0000
1660 +docbook-to-man (1:2.0.0-5) frozen unstable; urgency=low
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.
1666 + -- W. Borgert <debacle@debian.org> Sun, 28 Nov 1999 12:33:44 +0000
1668 +docbook-to-man-ans (1:2.0.0-4) unstable; urgency=low
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.
1675 + -- W. Borgert <debacle@debian.org> Thu, 14 Oct 1999 22:04:00 +0000
1677 +docbook-to-man-ans (1:2.0.0-3) unstable; urgency=low
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.
1683 + -- W. Borgert <debacle@debian.org> Mon, 19 Aug 1999 19:47:00 +0000
1685 +docbook-to-man-ans (2.0.0.ans-2) unstable; urgency=low
1687 + * Changed platfrom from i386 to any. Closes: bug#42692.
1688 + * Added SGML source of man page to docs.
1690 + -- W. Borgert <debacle@debian.org> Mon, 9 Aug 1999 20:55:00 +0000
1692 +docbook-to-man-ans (2.0.0.ans-1) unstable; urgency=low
1694 + * Initial Release for debian.
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
1701 --- docbook-to-man-2.0.0.orig/debian/rules
1702 +++ docbook-to-man-2.0.0/debian/rules
1706 +# Uncomment this to turn on verbose mode.
1707 +#export DH_VERBOSE=1
1709 +include /usr/share/dpatch/dpatch.make
1713 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
1720 +build-stamp: patch-stamp
1723 + # Building package
1724 + CFLAGS="$(CFLAGS)" $(MAKE) ROOT=/usr
1733 + # Cleaning package
1745 + # Installing package
1746 + $(MAKE) install ROOT=$(CURDIR)/debian/docbook-to-man/usr
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
1754 +binary-indep: build install
1756 +binary-arch: build install
1759 + dh_installchangelogs
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
1777 +Source: docbook-to-man
1780 +Maintainer: Daniel Baumann <daniel@debian.org>
1781 +Build-Depends: debhelper (>= 4), dpatch
1782 +Standards-Version: 3.7.2
1784 +Package: docbook-to-man
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.
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
1796 +This package was first debianized by Wolfgang Borgert <debacle@debian.org> on
1797 +Sat, 3 Jul 1999 13:17:52 +0000.
1799 +It was downloaded from <http://www.oasis-open.org/docbook/tools/dtm/>.
1801 +Upstream Authors: Fred Dalrymple <fld@veloce.com>,
1802 + David Bolen <db3l@ans.net>.
1806 + Copyright (C) 1996 X Consortium
1807 + Copyright (C) 1996 Dalrymple Computing
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:
1817 + The above copyright notice and this permission notice shall be included
1818 + in all copies or substantial portions of the Software.
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.
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
1837 --- docbook-to-man-2.0.0.orig/debian/dirs
1838 +++ docbook-to-man-2.0.0/debian/dirs
1841 +/usr/share/sgml/transpec