1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
|
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -1,6 +1,6 @@
# $Id: Makefile,v 1.1 1999/07/03 15:27:44 debacle Exp $
docbook-to-man.1: docbook-to-man.sgml
- nsgmls -i roff docbook-to-man.sgml | \
+ onsgmls -i roff docbook-to-man.sgml | \
instant -t docbook-to-man.ts -c roff.cmap -s roff.sdata > \
docbook-to-man.1
--- a/Doc/instant.1
+++ b/Doc/instant.1
@@ -52,7 +52,7 @@
.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 \fBnsgmls\fP, whose format is called Element Structure Information Set (ESIS).
+Input to \fBinstant\fP is the output of \fBonsgmls\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.
@@ -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 \fBnsgmls\fP which provide filenames and line numbers.)
+(This depends on the \fB-l\fP option to \fBonsgmls\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 \fBnsgmls\fP.
+This is expected to be the output of the program \fBonsgmls\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(5), \fBnsgmls\fP(1), Standard Generalized Markup Language (SGML), ISO 8879.
+\fBtranspec\fP(5), \fBonsgmls\fP(1), Standard Generalized Markup Language (SGML), ISO 8879.
--- a/Doc/transpec.1
+++ b/Doc/transpec.1
@@ -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 \fBnsgmls\fP, are in upper case.
+Attribute names, as passed by \fBonsgmls\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 \fBnsgmls\fP being called with the \fB\-l\fP option.
+This depends on \fBonsgmls\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 \fBnsgmls\fP) contains line numbers,
+a position hint, which is the nearest title, the line number, if the ESIS (output from \fBonsgmls\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), \fBnsgmls\fP(1), \fBegrep\fP(1).
+\fBinstant\fP(1), \fBonsgmls\fP(1), \fBegrep\fP(1).
--- a/Instant/main.c
+++ b/Instant/main.c
@@ -665,7 +665,7 @@
((*(src+1)-'0') << 3) +
((*(src+2)-'0'));
if ( xml_mode && *dst == 10 && *(dst-1) == '\n') {
- /* nsgmls outputs \n\012 for XML line endings and we want
+ /* onsgmls outputs \n\012 for XML line endings and we want
to ignore the \012 */
/* fprintf(stderr, "found newline!: %c\n", *dst); */
*dst--;
@@ -782,7 +782,7 @@
} /* if !do_DATAhack */
/* Remove any empty elements (not sure you can ever */
- /* get this from NSGMLS, but while I'm here...) */
+ /* get this from ONSGMLS, but while I'm here...) */
if (*buf == '\0') {
/* Nothing left - skip this chunk */
break;
--- a/README
+++ b/README
@@ -32,7 +32,7 @@
SETUP NOTES
===========
-This tool presumes that nsgmls and the DocBook DTDs have been installed
+This tool presumes that onsgmls and the DocBook DTDs have been installed
into "default" places. Mainly, this means where the DTD files are
expected to be found (/usr/local/sgmls, /usr/local/sgmls/Davenport/dtd).
If you've installed them elsewhere, please modify the paths at the top
@@ -72,13 +72,13 @@
<RefEntry>) into pretty-much vanilla -man macros, with tables
rendered in tbl.
-SGML parsing engine: nsgmls (or sgmls)
+SGML parsing engine: onsgmls (or nsgmls or sgmls)
** not included in this package -- see ftp://ftp.jclark.com/pub/sp **
- The nsgmls or sgmls tool is called to parse a DocBook <RefEntry>
- instance and generate ESIS which is the input to the instant
- program.
+ The onsgmls or nsgmls or sgmls tool is called to parse a DocBook
+ <RefEntry> instance and generate ESIS which is the input to the
+ instant program.
Converter engine: instant
--- a/README.ANS
+++ b/README.ANS
@@ -24,7 +24,7 @@
We use the package as follows:
* Install Jade and DocBook as normal - the command below assumes that
- the 'nsgmls' binary is available to parse a DocBook document.
+ the 'onsgmls' binary is available to parse a DocBook document.
* Install 'instant' binary into appropriate directory (/usr/local/bin
or wherever).
@@ -39,17 +39,17 @@
* Translate a source with a command such as (shown on multiple lines
but entered as a single line command):
- nsgmls -i roff {document} |
+ onsgmls -i roff {document} |
instant -t docbook-to-man.ts -c roff.cmap -s roff.sdata > {output}
This assumes a document with a RefEntry as the top level element.
To extract a single RefEntry from a larger document, the "-i id"
option should be given to instant. For documents containing a
- number of RefEntry elements, the initial nsgmls output may be saved
+ number of RefEntry elements, the initial onsgmls output may be saved
and reused for each instant execution (thus saving the SGML parsing
overhead).
- Note: the "-i roff" to nsgmls is not required, but we use that to
+ Note: the "-i roff" to onsgmls is not required, but we use that to
control conditional entities in our documents)
-- David
@@ -87,12 +87,12 @@
Instant
-------
- * Process ESIS data for document (output from nsgmls) during the first
+ * Process ESIS data for document (output from onsgmls) during the first
stage of input rather than waiting until eventual output in the
DoData/OutputString functions. The "pre-processing" handles
quoting, CMAP and SDATA and cleans up a lot of the trickier issues
with "\" translation in the earlier code, since "\" is used both by
- nsgmls for quoting as well as by the instant output processing for
+ onsgmls for quoting as well as by the instant output processing for
items such as the cmap file.
* Absorb whitespace during ESIS parsing unless within an environment
|