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, bestiefileβ The SGML source file, named eitherfileorfile.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
- arch rolling: linuxdoc-tools 0.9.86-1 Β· GPL
- debian trixie: linuxdoc-tools 0.9.86-1 Β· PD-SGMLUG
- ubuntu questing: linuxdoc-tools 0.9.86-1
- ubuntu resolute: linuxdoc-tools 0.9.86-1build1 Β· PD-SGMLUG
- ubuntu stonking: linuxdoc-tools 0.9.86-1build1 Β· PD-SGMLUG
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms