| 1 |
.\" Process this file with |
| 2 |
.\" groff -man -Tascii sgmlcheck.1 |
| 3 |
.\" |
| 4 |
.TH SGMLCHECK 1 "2025-04-06" |
| 5 |
.SH NAME |
| 6 |
sgmlcheck \- check the syntax of an LinuxDoc DTD sgml source file |
| 7 |
.SH SYNOPSIS |
| 8 |
.B sgmlcheck |
| 9 |
.IR file [.sgml] |
| 10 |
.SH DESCRIPTION |
| 11 |
.B sgmlcheck |
| 12 |
is an old and obsoleted form of the SGML source checker command |
| 13 |
of LinuxDoc-Tools |
| 14 |
(its name may be misleading, as it is not a tool for any SGML DTD, only |
| 15 |
supports the SGML LinuxDoc DTD). |
| 16 |
It is recommended to switch the new form |
| 17 |
.B linuxdoc -B check |
| 18 |
now. |
| 19 |
It runs an SGML parse on the specified document source. |
| 20 |
Any errors are reported to standard output. |
| 21 |
No formatted version of the source is produced. |
| 22 |
.LP |
| 23 |
Note that |
| 24 |
.B sgmlcheck |
| 25 |
preprocesses the LinuxDoc DTD SGML source, doing the conditionalization |
| 26 |
described by any <#if></#if> and <#unless></#unless> tags. |
| 27 |
Document sources containing these tags will confuse a standalone SGML parser. |
| 28 |
.SH OPTIONS |
| 29 |
None. The generic options described in |
| 30 |
.BR linuxdoc (1) |
| 31 |
are accepted, but have no effect (except for \-D). |
| 32 |
.SH FILES |
| 33 |
Many files and executables in /usr/share/linuxdoc-tools and /usr/bin are used. |
| 34 |
.SH BUGS |
| 35 |
None known. |
| 36 |
.SH AUTHOR |
| 37 |
Originally written by Cees de Groot <[email protected]> as sgmlcheck |
| 38 |
for SGML-Tools v1 and maintained by |
| 39 |
Taketoshi Sano <[email protected]> for Linuxdoc-Tools. |
| 40 |
Currently maintained by Agustin Martin <agustin6martin AT gmail com>. |
| 41 |
.SH "SEE ALSO" |
| 42 |
.BR linuxdoc (1), |
| 43 |
.BR sgml2html (1), |
| 44 |
.BR sgml2info (1), |
| 45 |
.BR sgml2latex (1), |
| 46 |
.BR sgml2rtf (1), |
| 47 |
.BR sgml2txt (1). |