SGML2RTF(1)

πŸŽ€ SGML2RTF(1) πŸŽ€

welcome to the General Commands Manual bestie, this is the page for sgml2rtf, and yes we are reading the whole thing together, no skipping πŸ’–


✨ NAME ✨

sgml2rtf β€” create RTF output from a LinuxDoc DTD SGML source file 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

sgml2rtf [generic_option...] [--twosplit] file[.sgml]

πŸ’… DESCRIPTION πŸ’…

okay so real talk first: sgml2rtf is the old and obsoleted form of the rtf converter command of LinuxDoc-Tools. and the name? lowkey misleading πŸ™ˆ because it is not a tool for any SGML DTD β€” it only supports the SGML LinuxDoc DTD. that's it. that's the whole thing.

so the recommendation is: switch to the new form, linuxdoc -B rtf, like, now. it's giving glow-up ✨

here's what she actually does: it converts a LinuxDoc DTD SGML source file to RTF, the Rich Text Format used by the Microsoft Windows help system.

Output will appear in the top level file file.rtf and file-n.rtf for each section, where file is the name of the SGML source file.

and the RTF output? it's tailored for compilation by the Windows Help Compiler (hc31.exe). fr fr, that's the whole point.

The attribute/value pair "output=rtf" is set for conditionals. πŸ’–


🌸 OPTIONS 🌸

sgml2rtf accepts all the generic options described in linuxdoc(1), and:

  • --twosplit, -2 β€” Splits files both at n. sections and n.m. subsections βœ‚οΈ she's splitting at two levels, bestie
  • file β€” The SGML source file, named either file or file.sgml

πŸ“ FILES πŸ“

Many files and executables in /usr/share/linuxdoc-tools and /usr/bin are used. she's busy, she's everywhere 🧚


πŸ’€ BUGS πŸ’€

None known. iconic, honestly. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Originally written by Steve Tynor <tynor@atlanta.twr.com>, and Cees de Groot <cg@pobox.com> for sgml-tools (v1) and maintained by Taketoshi Sano <sano@debian.org> for Linuxdoc-Tools. Currently maintained by Agustin Martin <agustin6martin AT gmail com>. legends, all of them πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

linuxdoc(1), sgml2html(1), sgml2info(1), sgml2latex(1), sgml2lyx(1), sgml2txt(1), sgmlcheck(1)


okay that's the whole page πŸ’– this one lives in the General Commands Manual, it's dated 2025-04-06, and it's filed under SGML2RTF(1). go drink some water, back up your files, and switch to linuxdoc -B rtf like the main character you are πŸ‘‘ periodt 🌈

πŸ“¦ where this page comes from