SOURCES: docbook-to-man-debian.patch (NEW) - http://ftp.debian.org...

qboosh qboosh at pld-linux.org
Sat Oct 28 12:20:27 CEST 2006


Author: qboosh                       Date: Sat Oct 28 10:20:27 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- http://ftp.debian.org/debian/pool/main/d/docbook-to-man/docbook-to-man_2.0.0-21.diff.gz

---- Files affected:
SOURCES:
   docbook-to-man-debian.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/docbook-to-man-debian.patch
diff -u /dev/null SOURCES/docbook-to-man-debian.patch:1.1
--- /dev/null	Sat Oct 28 12:20:27 2006
+++ SOURCES/docbook-to-man-debian.patch	Sat Oct 28 12:20:22 2006
@@ -0,0 +1,1841 @@
+--- docbook-to-man-2.0.0.orig/debian/patches/01-conglomeration.dpatch
++++ docbook-to-man-2.0.0/debian/patches/01-conglomeration.dpatch
+@@ -0,0 +1,1496 @@
++#!/bin/sh /usr/share/dpatch/dpatch-run
++## 01-conglomeration.dpatch
++##
++## DP: FIXME - Patches need to be broken out.
++
++ at DPATCH@
++
++diff -Naur docbook-to-man-2.0.0.orig/Doc/Makefile docbook-to-man-2.0.0/Doc/Makefile
++--- docbook-to-man-2.0.0.orig/Doc/Makefile	1970-01-01 00:00:00.000000000 +0000
+++++ docbook-to-man-2.0.0/Doc/Makefile	2006-07-29 15:23:05.000000000 +0000
++@@ -0,0 +1,6 @@
+++# $Id$
+++
+++docbook-to-man.1: docbook-to-man.sgml
+++	nsgmls -i roff docbook-to-man.sgml | \
+++	    instant -t docbook-to-man.ts -c roff.cmap -s roff.sdata > \
+++	    docbook-to-man.1
++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
++--- docbook-to-man-2.0.0.orig/Doc/docbook-to-man.1	1970-01-01 00:00:00.000000000 +0000
+++++ docbook-to-man-2.0.0/Doc/docbook-to-man.1	2006-07-29 15:23:05.000000000 +0000
++@@ -0,0 +1,141 @@
+++.\" $Header$
+++.\"
+++.\"	transcript compatibility for postscript use.
+++.\"
+++.\"	synopsis:  .P! <file.ps>
+++.\"
+++.de P!
+++.fl
+++\!!1 setgray
+++.fl
+++\\&.\"
+++.fl
+++\!!0 setgray
+++.fl			\" force out current output buffer
+++\!!save /psv exch def currentpoint translate 0 0 moveto
+++\!!/showpage{}def
+++.fl			\" prolog
+++.sy sed \-e 's/^/!/' \\$1\" bring in postscript file
+++\!!psv restore
+++.
+++.de pF
+++.ie     \\*(f1 .ds f1 \\n(.f
+++.el .ie \\*(f2 .ds f2 \\n(.f
+++.el .ie \\*(f3 .ds f3 \\n(.f
+++.el .ie \\*(f4 .ds f4 \\n(.f
+++.el .tm ? font overflow
+++.ft \\$1
+++..
+++.de fP
+++.ie     !\\*(f4 \{\
+++.	ft \\*(f4
+++.	ds f4\"
+++'	br \}
+++.el .ie !\\*(f3 \{\
+++.	ft \\*(f3
+++.	ds f3\"
+++'	br \}
+++.el .ie !\\*(f2 \{\
+++.	ft \\*(f2
+++.	ds f2\"
+++'	br \}
+++.el .ie !\\*(f1 \{\
+++.	ft \\*(f1
+++.	ds f1\"
+++'	br \}
+++.el .tm ? font underflow
+++..
+++.ds f1\"
+++.ds f2\"
+++.ds f3\"
+++.ds f4\"
+++'\" t 
+++.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
+++.TH "docbook-to-man" "1" 
+++.SH "NAME" 
+++docbook-to-man \(em convert \fBDocBook\fP       SGML into roff \-man macros 
+++.SH "SYNOPSIS" 
+++.PP 
+++\fBdocbook-to-man\fR [\fIsource.sgml\fR]  [>]  [\fIdestination.1\fR]  
+++.SH "DESCRIPTION" 
+++.PP 
+++The docbook-to-man tool is a batch converter that transforms 
+++UNIX-style manpages from the \fBDocBook\fP SGML       DTD into nroff/troff \-man macros. 
+++.PP 
+++docbook-to-man is the shell command that runs the low-level 
+++components to translate a single \fBDocBook\fP SGML document 
+++instance (whose document element is <RefEntry>) into 
+++pretty-much vanilla \-man macros, with tables rendered in 
+++tbl. 
+++.PP 
+++This is not the original version by Fred Dalrymple, but one 
+++with the ANS Modifications by David Bolen (db3l at ans.net). 
+++.PP 
+++This manual page and some small changes are by W. Borgert 
+++debacle at debian.org for \fBDebian GNU/Linux\fP.  Permission is 
+++granted to copy, distribute and/or modify this document under 
+++the terms of the GNU Free Documentation 
+++License, Version 1.1 or any later version published by the Free 
+++Software Foundation; with no Invariant Sections, no Front-Cover 
+++Texts and no Back-Cover Texts. 
+++.SH "White space and special characters" 
+++.PP 
+++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. 
+++.PP 
+++When you want to collapse white space into one, you should invoke docbook-to-man with INSTANT_OPT set to a space character. 
+++.PP 
+++Special characters like \\, ' or . will not be interpreted if you set INSTANT_OPT to a space or tab character. 
+++.SH "ENVIRONMENT" 
+++.PP 
+++If the variable INSTANT_OPT is not set, the 
+++\fBinstant(1)\fR is called with the parameter 
+++\fB\-d\fP by docbook-to-man.  If you don't want this, 
+++e.g. if you want to use some special characters literally in 
+++your SGML file, you can set INSTANT_OPT to just 
+++a space character:  
+++.PP 
+++\fBINSTANT_OPT=" 
+++" docbook-to-man src.sgml > 
+++dst.1\fR 
+++. 
+++.PP 
+++Note: The better way to use special characters like ^ or 
+++> is to write them in the SGML way, i.e. &caret; 
+++or &gt;. 
+++.SH "COPYRIGHT" 
+++.PP 
+++Copyright (c) 1996 X Consortium 
+++.PP 
+++Copyright (c) 1996 Dalrymple Consulting 
+++.PP 
+++Permission is hereby granted, free of charge, to any person 
+++obtaining a copy of this software and associated documentation 
+++files (the "Software"), to deal in the Software without 
+++restriction, including without limitation the rights to use, 
+++copy, modify, merge, publish, distribute, sublicense, and/or 
+++sell copies of the Software, and to permit persons to whom the 
+++Software is furnished to do so, subject to the following 
+++conditions: 
+++.PP 
+++The above copyright notice and this permission notice shall 
+++be included in all copies or substantial portions of the 
+++Software. 
+++.PP 
+++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 
+++KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 
+++WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE 
+++AND NONINFRINGEMENT.  IN NO EVENT SHALL THE X CONSORTIUM OR 
+++DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+++LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 
+++ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 
+++USE OR OTHER DEALINGS IN THE SOFTWARE. 
+++.PP 
+++Except as contained in this notice, the names of the X 
+++Consortium and Dalrymple Consulting shall not be used in 
+++advertising or otherwise to promote the sale, use or other 
+++dealings in this Software without prior written 
+++authorization. 
+++.SH "See also" 
+++.PP 
+++instant(1) and transpec(5) 
+++.\" created by instant / docbook-to-man, Fri 10 Sep 2004, 13:13 
++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
++--- docbook-to-man-2.0.0.orig/Doc/docbook-to-man.sgml	1970-01-01 00:00:00.000000000 +0000
+++++ docbook-to-man-2.0.0/Doc/docbook-to-man.sgml	2006-07-29 15:23:05.000000000 +0000
++@@ -0,0 +1,125 @@
+++<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+++  <!ENTITY debian  "<productname>Debian GNU/Linux</productname>">
+++  <!ENTITY docbook "<productname>DocBook</productname>">
+++  <!ENTITY sgml    "<abbrev>SGML</abbrev>">
+++]>
+++
+++<!-- Manual page for docbook-to-man, DocBook source file
+++     (C) 1999 W. Borgert debacle at debian.org
+++
+++     $Id$ -->
+++
+++<refentry>
+++  <refentryinfo>
+++    <address>
+++      <email>debacle at debian.org</email>
+++    </address>
+++    <author>
+++      <firstname>W.</firstname>
+++      <surname>Borgert</surname>
+++    </author>
+++    <date>1999-06-03</date>
+++  </refentryinfo>
+++  <refmeta>
+++    <refentrytitle>docbook-to-man</refentrytitle>
+++    <manvolnum>1</manvolnum>
+++  </refmeta>
+++  <refnamediv>
+++    <refname>docbook-to-man</refname> <refpurpose>convert &docbook;
+++      &sgml; into roff \-man macros</refpurpose>
+++  </refnamediv>
+++  <refsynopsisdiv>
+++    <cmdsynopsis>
+++      <command>docbook-to-man</command>
+++      <arg><replaceable>source.sgml</replaceable></arg>
+++      <arg>&gt;</arg>
+++      <arg><replaceable>destination.1</replaceable></arg>
+++    </cmdsynopsis>
+++  </refsynopsisdiv>
+++  <refsect1>
+++    <title>DESCRIPTION</title>
+++
+++    <para>The docbook-to-man tool is a batch converter that transforms
+++      UNIX-style manpages from the &docbook; &sgml;
+++      <abbrev>DTD</abbrev> into nroff/troff \-man macros.</para>
+++
+++    <para>docbook-to-man is the shell command that runs the low-level
+++      components to translate a single &docbook; &sgml; document
+++      instance (whose document element is &lt;RefEntry&gt;) into
+++      pretty-much vanilla \-man macros, with tables rendered in
+++      tbl.</para>
+++
+++    <para>This is not the original version by Fred Dalrymple, but one
+++      with the ANS Modifications by David Bolen (db3l at ans.net).</para>
+++
+++    <para>This manual page and some small changes are by W. Borgert
+++      <email>debacle at debian.org</email> for &debian;.  Permission is
+++      granted to copy, distribute and/or modify this document under
+++      the terms of the <acronym>GNU</acronym> Free Documentation
+++      License, Version 1.1 or any later version published by the Free
+++      Software Foundation; with no Invariant Sections, no Front-Cover
+++      Texts and no Back-Cover Texts.</para>
+++  </refsect1>
+++  <refsect1>
+++    <title>White space and special characters</title>
+++      <para>If you want to use tabs in your manpage you should use &lt;programlisting&gt;, &lt;literal&gt; or &lt;screen&gt; 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>
+++      <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>
+++      <para>Special characters like \\, ' or . will not be interpreted if you set <envar>INSTANT_OPT</envar> to a space or tab character.</para> 
+++  </refsect1>
+++  <refsect1>
+++    <title>ENVIRONMENT</title>
+++    <subtitle>INSTANT_OPT</subtitle>
+++    <para>If the variable <envar>INSTANT_OPT</envar> is not set, the
+++      <command>instant(1)</command> is called with the parameter
+++      <option>-d</option> by docbook-to-man.  If you don't want this,
+++      e.g. if you want to use some special characters literally in
+++      your &sgml; file, you can set <envar>INSTANT_OPT</envar> to just
+++      a space character: <cmdsynopsis><command>INSTANT_OPT=&quot;
+++      &quot; docbook-to-man src.sgml &gt;
+++      dst.1</command></cmdsynopsis>.</para>
+++
+++    <para>Note: The better way to use special characters like &caret; or
+++      &gt; is to write them in the &sgml; way, i.e. &amp;caret&semi;
+++      or &amp;gt&semi;.</para>
+++  </refsect1>
+++  <refsect1>
+++    <title>COPYRIGHT</title>
+++
+++    <para>Copyright (c) 1996 X Consortium</para>
+++    <para>Copyright (c) 1996 Dalrymple Consulting</para>
+++
+++    <para>Permission is hereby granted, free of charge, to any person
+++      obtaining a copy of this software and associated documentation
+++      files (the "Software"), to deal in the Software without
+++      restriction, including without limitation the rights to use,
+++      copy, modify, merge, publish, distribute, sublicense, and/or
+++      sell copies of the Software, and to permit persons to whom the
+++      Software is furnished to do so, subject to the following
+++      conditions:</para>
+++
+++    <para>The above copyright notice and this permission notice shall
+++      be included in all copies or substantial portions of the
+++      Software.</para>
+++
+++    <para>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+++      KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+++      WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
+++      AND NONINFRINGEMENT.  IN NO EVENT SHALL THE X CONSORTIUM OR
+++      DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+++      LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+++      ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+++      USE OR OTHER DEALINGS IN THE SOFTWARE.</para>
+++
+++    <para>Except as contained in this notice, the names of the X
+++      Consortium and Dalrymple Consulting shall not be used in
+++      advertising or otherwise to promote the sale, use or other
+++      dealings in this Software without prior written
+++      authorization.</para>
+++
+++  </refsect1>
+++  <refsect1>
+++    <title>See also</title>
+++
+++    <para>instant(1) and transpec(5)</para>
+++  </refsect1>
+++</refentry>
++diff -Naur docbook-to-man-2.0.0.orig/Doc/instant.1 docbook-to-man-2.0.0/Doc/instant.1
++--- docbook-to-man-2.0.0.orig/Doc/instant.1	1999-07-03 12:58:22.000000000 +0000
+++++ docbook-to-man-2.0.0/Doc/instant.1	2006-07-29 15:23:05.000000000 +0000
++@@ -1,46 +1,46 @@
++-...\"
++-...\" Copyright (c) 1994  
++-...\" Open Software Foundation, Inc. 
++-...\"  
++-...\" Permission is hereby granted to use, copy, modify and freely distribute 
++-...\" the software in this file and its documentation for any purpose without 
++-...\" fee, provided that the above copyright notice appears in all copies and 
++-...\" that both the copyright notice and this permission notice appear in 
++-...\" supporting documentation.  Further, provided that the name of Open 
++-...\" Software Foundation, Inc. ("OSF") not be used in advertising or 
++-...\" publicity pertaining to distribution of the software without prior 
++-...\" written permission from OSF.  OSF makes no representations about the 
++-...\" suitability of this software for any purpose.  It is provided "as is" 
++-...\" without express or implied warranty. 
++-...\"
++-...\" Copyright (c) 1996 X Consortium
++-...\" Copyright (c) 1996 Dalrymple Consulting
++-...\" 
++-...\" Permission is hereby granted, free of charge, to any person obtaining a copy
++-...\" of this software and associated documentation files (the "Software"), to deal
++-...\" in the Software without restriction, including without limitation the rights
++-...\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++-...\" copies of the Software, and to permit persons to whom the Software is
++-...\" furnished to do so, subject to the following conditions:
++-...\" 
++-...\" The above copyright notice and this permission notice shall be included in
++-...\" all copies or substantial portions of the Software.
++-...\" 
++-...\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++-...\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++-...\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++-...\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
++-...\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
++-...\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
++-...\" OTHER DEALINGS IN THE SOFTWARE.
++-...\" 
++-...\" Except as contained in this notice, the names of the X Consortium and
++-...\" Dalrymple Consulting shall not be used in advertising or otherwise to
++-...\" promote the sale, use or other dealings in this Software without prior
++-...\" written authorization.
++-...\"
++-...\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 21:59
++-.TH "instant" "user cmd"
+++.\" -*- nroff -*-
+++.\" Copyright (c) 1994  
+++.\" Open Software Foundation, Inc. 
+++.\"  
+++.\" Permission is hereby granted to use, copy, modify and freely distribute 
+++.\" the software in this file and its documentation for any purpose without 
+++.\" fee, provided that the above copyright notice appears in all copies and 
+++.\" that both the copyright notice and this permission notice appear in 
+++.\" supporting documentation.  Further, provided that the name of Open 
+++.\" Software Foundation, Inc. ("OSF") not be used in advertising or 
+++.\" publicity pertaining to distribution of the software without prior 
+++.\" written permission from OSF.  OSF makes no representations about the 
+++.\" suitability of this software for any purpose.  It is provided "as is" 
+++.\" without express or implied warranty. 
+++.\"
+++.\" Copyright (c) 1996 X Consortium
+++.\" Copyright (c) 1996 Dalrymple Consulting
+++.\" 
+++.\" Permission is hereby granted, free of charge, to any person obtaining a copy
+++.\" of this software and associated documentation files (the "Software"), to deal
+++.\" in the Software without restriction, including without limitation the rights
+++.\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+++.\" copies of the Software, and to permit persons to whom the Software is
+++.\" furnished to do so, subject to the following conditions:
+++.\" 
+++.\" The above copyright notice and this permission notice shall be included in
+++.\" all copies or substantial portions of the Software.
+++.\" 
+++.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+++.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+++.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+++.\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
+++.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+++.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+++.\" OTHER DEALINGS IN THE SOFTWARE.
+++.\" 
+++.\" Except as contained in this notice, the names of the X Consortium and
+++.\" Dalrymple Consulting shall not be used in advertising or otherwise to
+++.\" promote the sale, use or other dealings in this Software without prior
+++.\" written authorization.
+++.\"
+++.\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 21:59
+++.TH "instant" "1" "user cmd"
++ .SH "Name"
++ instant - manipulates ESIS from parsed SGML instance
++ .SH "Synopsis"
++@@ -52,14 +52,14 @@
++ .PP
++ The \fBinstant\fP program manipulates an SGML document instance in a variety of ways, 
++ including translating into a form suitable for a formatting application and printing information about this instance. 
++-Input to \fBinstant\fP is the output of \fBsgmls\fP, whose format is called Element Structure Information Set (ESIS).
+++Input to \fBinstant\fP is the output of \fBnsgmls\fP, whose format is called Element Structure Information Set (ESIS).
++ .SH "Flags"
++ .PP
++ The following are the possible command line options to \fBinstant\fP. Output is sent to the standard output, except where otherwise noted.
++ 'br\" labeled list
++ .IP "\fB-t\fP \fIfile\fP"
++ Translate the SGML instance to another form, usually suitable for a formatting application. 
++-The \fIfile\fP is called a translation spec, which specifies how the tags are to be translated. See \fBtranspec\fP(4). 
+++The \fIfile\fP is called a translation spec, which specifies how the tags are to be translated. See \fBtranspec\fP(5). 
++ By convention, names for \fIfile\fP use the suffix \fB.ts\fP, for \fItranslation spec\fP.
++ .IP "\fB-s\fP \fIfile\fP "
++ Specifies a file of mappings for SDATA entities in the instance. 
++@@ -109,7 +109,7 @@
++ .IP "\fB-I\fP"
++ List the IDs of all elements in the instance that have an ID.  The format is more suitable for other programs than humans. 
++ Lines show the ID, element GI, filename, and line, separated by colons. 
++-(This depends on the \fB-l\fP option to \fBsgmls\fP which provide filenames and line numbers.)
+++(This depends on the \fB-l\fP option to \fBnsgmls\fP which provide filenames and line numbers.)
++ .IP "\fB-i\fP \fIid\fP"
++ When translating the instance, begin processing at the element whose ID is \fIid\fP instead of the topmost element.
++ .IP "\fB-D\fP \fIvariable\fP\fB=\fP\fIvalue\fP"
++@@ -120,7 +120,7 @@
++ Print a help message briefly describing the options.
++ .IP "\fIfile\fP"
++ Read the instance from the file \fIfile\fP. 
++-This is expected to be the output of the program \fBsgmls\fP.
+++This is expected to be the output of the program \fBnsgmls\fP.
++ If not specified, \fBinstant\fP reads the instance from its standard input.
++ 'br\" labeled list end
++ .PP
++@@ -193,4 +193,4 @@
++ 'br\" labeled list end
++ .SH "Related Information"
++ .PP
++-\fBtranspec\fP(4), \fBsgmls\fP(1), Standard Generalized Markup Language (SGML), ISO 8879.
+++\fBtranspec\fP(5), \fBnsgmls\fP(1), Standard Generalized Markup Language (SGML), ISO 8879.
++diff -Naur docbook-to-man-2.0.0.orig/Doc/transpec.1 docbook-to-man-2.0.0/Doc/transpec.1
++--- docbook-to-man-2.0.0.orig/Doc/transpec.1	1999-07-03 12:58:22.000000000 +0000
+++++ docbook-to-man-2.0.0/Doc/transpec.1	2006-07-29 15:23:05.000000000 +0000
++@@ -1,47 +1,47 @@
++-...\"
++-...\"
++-...\" Copyright (c) 1994  
++-...\" Open Software Foundation, Inc. 
++-...\"  
++-...\" Permission is hereby granted to use, copy, modify and freely distribute 
++-...\" the software in this file and its documentation for any purpose without 
++-...\" fee, provided that the above copyright notice appears in all copies and 
++-...\" that both the copyright notice and this permission notice appear in 
++-...\" supporting documentation.  Further, provided that the name of Open 
++-...\" Software Foundation, Inc. ("OSF") not be used in advertising or 
++-...\" publicity pertaining to distribution of the software without prior 
++-...\" written permission from OSF.  OSF makes no representations about the 
++-...\" suitability of this software for any purpose.  It is provided "as is" 
++-...\" without express or implied warranty. 
++-...\"
++-...\" Copyright (c) 1996 X Consortium
++-...\" Copyright (c) 1996 Dalrymple Consulting
++-...\" 
++-...\" Permission is hereby granted, free of charge, to any person obtaining a copy
++-...\" of this software and associated documentation files (the "Software"), to deal
++-...\" in the Software without restriction, including without limitation the rights
++-...\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++-...\" copies of the Software, and to permit persons to whom the Software is
++-...\" furnished to do so, subject to the following conditions:
++-...\" 
++-...\" The above copyright notice and this permission notice shall be included in
++-...\" all copies or substantial portions of the Software.
++-...\" 
++-...\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++-...\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++-...\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++-...\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
++-...\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
++-...\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
++-...\" OTHER DEALINGS IN THE SOFTWARE.
++-...\" 
++-...\" Except as contained in this notice, the names of the X Consortium and
++-...\" Dalrymple Consulting shall not be used in advertising or otherwise to
++-...\" promote the sale, use or other dealings in this Software without prior
++-...\" written authorization.
++-...\"
++-...\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 22:00
++-.TH "\fBtranspec\fP" "file format"
+++.\" -*- nroff -*-
+++.\"
+++.\" Copyright (c) 1994  
+++.\" Open Software Foundation, Inc. 
+++.\"  
+++.\" Permission is hereby granted to use, copy, modify and freely distribute 
+++.\" the software in this file and its documentation for any purpose without 
+++.\" fee, provided that the above copyright notice appears in all copies and 
+++.\" that both the copyright notice and this permission notice appear in 
+++.\" supporting documentation.  Further, provided that the name of Open 
+++.\" Software Foundation, Inc. ("OSF") not be used in advertising or 
+++.\" publicity pertaining to distribution of the software without prior 
+++.\" written permission from OSF.  OSF makes no representations about the 
+++.\" suitability of this software for any purpose.  It is provided "as is" 
+++.\" without express or implied warranty. 
+++.\"
+++.\" Copyright (c) 1996 X Consortium
+++.\" Copyright (c) 1996 Dalrymple Consulting
+++.\" 
+++.\" Permission is hereby granted, free of charge, to any person obtaining a copy
+++.\" of this software and associated documentation files (the "Software"), to deal
+++.\" in the Software without restriction, including without limitation the rights
+++.\" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+++.\" copies of the Software, and to permit persons to whom the Software is
+++.\" furnished to do so, subject to the following conditions:
+++.\" 
+++.\" The above copyright notice and this permission notice shall be included in
+++.\" all copies or substantial portions of the Software.
+++.\" 
+++.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+++.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+++.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+++.\" X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
+++.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+++.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+++.\" OTHER DEALINGS IN THE SOFTWARE.
+++.\" 
+++.\" Except as contained in this notice, the names of the X Consortium and
+++.\" Dalrymple Consulting shall not be used in advertising or otherwise to
+++.\" promote the sale, use or other dealings in this Software without prior
+++.\" written authorization.
+++.\"
+++.\" Translated with /usr/local/lib/tpt/ref-man.ts by fld on cord, Wed 07 Feb 1996, 22:00
+++.TH "\fBtranspec\fP" "5" "file format"
++ .SH "Name"
++ \fBtranspec\fP - translation specification for \fBinstant\fP
++ .SH "Synopsis"
++@@ -113,7 +113,7 @@
++ This specifies that the GI is the \fInumber\fPth child element of its parent. 
++ Children are numbered starting with \fB1\fP. 
++ Negative numbers may be used to indicate order counting backwards. 
++-For example, -1 denotes the last child.
+++For example, \-1 denotes the last child.
++ .IP "\fBPAttSet:\fP \fIattname\fP"
++ This specifies that the parent has this attribute, \fIattname\fP, set to any value (not IMPLIED).  A value to match may optionally
++ be specified after attname.
++@@ -174,7 +174,7 @@
++ .IP "\fBMessage:\fP \fItext\fP"
++ This specifies a string to be printed to the standard error when the matching element is processed. 
++ It is intended for informing the user of the progress of the translation. 
++-It is also used for validation of instances (see the \fB-v\fP flag of \fBinstant\fP(1)); 
+++It is also used for validation of instances (see the \fB\-v\fP flag of \fBinstant\fP(1)); 
++ a spec would be written to recognize a construct that is not allowed. 
++ This action is done immediately after \fBStartText\fP.
++ Messages are also useful for debugging spec files; one is able to easily tell when a matching spec is processed, 
++@@ -262,7 +262,7 @@
++ In fact, if an attribute name is referred to and it is not set for a given element, 
++ \fBinstant\fP looks for a variable with the same name.  This way global defaults can be set. 
++ 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. 
++-Attribute names, as passed by \fBsgmls\fP, are in upper case.
+++Attribute names, as passed by \fBnsgmls\fP, are in upper case.
++ .PP
++ Any number of \fBVar\fP actions may appear in the spec file.  These set the values of the variables before any translation takes place. 
++ The \fBSet\fP actions within transpecs are performed when that spec is processed when an element matches the given criteria.
++@@ -396,7 +396,7 @@
++ Insert the file \fIfilename\fP into the output stream.
++ .IP "\fB_infile\fP [\fBline\fP]"
++ Print the name of the sgml instance file to the output stream. If \fBline\fP is specified, also print the line number. 
++-This depends on \fBsgmls\fP being called with the \fB-l\fP option.
+++This depends on \fBnsgmls\fP being called with the \fB\-l\fP option.
++ .IP "\fB_insertnode\fP \fBS\fP|\fBE\fP \fIspec-id\fP"
++ Do \fIspec-id\fP when the current element is traversed at a later pass. 
++ This can be considered inserting a node, without content, into the hierarchy.
++@@ -406,7 +406,7 @@
++ \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.
++ .IP "\fB_location\fP"
++ The location of the current element is printed to the output stream in several ways: the path to the element (see \fB_path\fP), 
++-a position hint, which is the nearest title, the line number, if the ESIS (output from \fBsgmls\fP) contains line numbers,
+++a position hint, which is the nearest title, the line number, if the ESIS (output from \fBnsgmls\fP) contains line numbers,
++ and the ID of the element, if it has one. 
++ This is especially useful when using the \fBMessage\fP action to validate an instance.
++ .IP "\fB_namelist\fP \fIspec-id\fP [\fIspec-id2\fP]"
++@@ -523,4 +523,4 @@
++ .DE
++ .SH "Related Information"
++ .PP
++-\fBinstant\fP(1), \fBsgmls\fP(1), \fBegrep\fP(1).
+++\fBinstant\fP(1), \fBnsgmls\fP(1), \fBegrep\fP(1).
++diff -Naur docbook-to-man-2.0.0.orig/Instant/general.h docbook-to-man-2.0.0/Instant/general.h
++--- docbook-to-man-2.0.0.orig/Instant/general.h	1999-07-03 12:58:23.000000000 +0000
+++++ docbook-to-man-2.0.0/Instant/general.h	2006-07-29 15:23:05.000000000 +0000
++@@ -232,6 +232,7 @@
++ def int		interactive;		/* flag - interactive browsing? */
++ def int		slave;			/* are we slave to another process? */
++ def int		fold_case;		/* flag - fold case of GIs? */
+++def int                xml_mode;               /* flag - XML-specific hacks */
++ 
++ /* ----- some macros for convenience and ease of code reading ----- */
++ 
++diff -Naur docbook-to-man-2.0.0.orig/Instant/main.c docbook-to-man-2.0.0/Instant/main.c
++--- docbook-to-man-2.0.0.orig/Instant/main.c	1999-07-03 12:58:23.000000000 +0000
+++++ docbook-to-man-2.0.0/Instant/main.c	2006-07-29 15:23:05.000000000 +0000
++@@ -199,6 +199,7 @@
++     warnings  = 1;
++     fold_case = 1;
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list