File: sgmlspl.1

package info (click to toggle)
libsgmls-perl 1.03ii-20
  • links: PTS
  • area: main
  • in suites: woody
  • size: 632 kB
  • ctags: 152
  • sloc: perl: 1,557; lisp: 262; makefile: 161
file content (47 lines) | stat: -rw-r--r-- 1,725 bytes parent folder | download | duplicates (2)
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
.\" -*- nroff -*-
.\" ----------------------------------------------------------------------
.TH SGMLSPL 1 "October 26, 1999" "SGMLSPL" "SGMLSPL"
.\"
.\" ----------------------------------------------------------------------
.SH "NAME"
sgmlspl \- a simple post-processor for nsgmls
.\"
.\" ----------------------------------------------------------------------
.SH "SYNOPSIS"
.B sgmlspl
.I "spec file"
.\"
.\" ----------------------------------------------------------------------
.SH "DESCRIPTION"
sgmlspl is a sample application to convert SGML documents to other
formats by providing a specification file detailing exactly how to
handle each element, external data entity, subdocument entity, CDATA
string, record end, SDATA string, and processing instruction.

To use sgmlspl, prepare a specification file containing regular perl5
code. If the SGML document were named doc.sgml, the sgmlspl
specification file were named, spec.pl, and the name of the new file
were doc.latex, then use the following command in a Unix shell to
convert the SGML document:

nsgmls doc.sgml | sgmlspl spec.pl > doc.latex

sgmlspl will pass any additional arguments on to the specification
file, which can then process them in the regular perl5 fashion.
.\"
.\" ----------------------------------------------------------------------
.SH "SEE ALSO"
.TP
.BR /usr/share/doc/sgmlspl/sgmlspl.html/
sgmlspl documentation in HTML format
.TP
.BR /usr/share/doc/libsgmls-perl/SGMLS.html/
SGMLS documentation in HTML format
.TP
.BR nsgmls (1)
.\"
.\" ----------------------------------------------------------------------
.SH "AUTHOR"
Ardo van Rangelrooij <ardo@debian.org>
.\"
.\" ----------------------------------------------------------------------