| 1 |
.\" Process this file with |
| 2 |
.\" groff -man -Tascii sgml2rtf.1 |
| 3 |
.\" |
| 4 |
.TH SGML2RTF 1 "2025-04-06" |
| 5 |
.SH NAME |
| 6 |
sgml2rtf \- create RTF output from a LinuxDoc DTD SGML source file |
| 7 |
.SH SYNOPSIS |
| 8 |
.B sgml2rtf [generic_option...] [--twosplit] |
| 9 |
.IR file [.sgml] |
| 10 |
.SH DESCRIPTION |
| 11 |
.B sgml2rtf |
| 12 |
is an old and obsoleted form of the rtf converter 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 rtf |
| 18 |
now. |
| 19 |
It converts a LinuxDoc DTD SGML source file to RTF, the Rich Text Tormat |
| 20 |
used by the Microsoft Windows help system. |
| 21 |
Output will appear in the top level file |
| 22 |
.I file.rtf |
| 23 |
and |
| 24 |
.I file-n.rtf |
| 25 |
for each section, where |
| 26 |
.I file |
| 27 |
is the name of the SGML source file. |
| 28 |
The RTF output is tailored for |
| 29 |
compilation by the Windows Help Compiler (hc31.exe). |
| 30 |
.LP |
| 31 |
The attribute/value pair "output=rtf" is set for conditionals. |
| 32 |
.SH OPTIONS |
| 33 |
.B sgml2rtf |
| 34 |
accepts all the generic options described in |
| 35 |
.BR linuxdoc (1), and: |
| 36 |
.IP "--twosplit, -2" |
| 37 |
Splits files both at n. sections and n.m. subsections |
| 38 |
.IP file |
| 39 |
The SGML source file, named either |
| 40 |
.I file |
| 41 |
or |
| 42 |
.I file.sgml |
| 43 |
.SH FILES |
| 44 |
Many files and executables in /usr/share/linuxdoc-tools and /usr/bin are used. |
| 45 |
.SH BUGS |
| 46 |
None known. |
| 47 |
.SH AUTHOR |
| 48 |
Originally written by Steve Tynor <[email protected]>, and |
| 49 |
Cees de Groot <[email protected]> for sgml-tools (v1) and maintained by |
| 50 |
Taketoshi Sano <[email protected]> for Linuxdoc-Tools. |
| 51 |
Currently maintained by Agustin Martin <agustin6martin AT gmail com>. |
| 52 |
.SH "SEE ALSO" |
| 53 |
.BR linuxdoc (1), |
| 54 |
.BR sgml2html (1), |
| 55 |
.BR sgml2info (1), |
| 56 |
.BR sgml2latex (1), |
| 57 |
.BR sgml2lyx (1), |
| 58 |
.BR sgml2txt (1), |
| 59 |
.BR sgmlcheck (1). |