---
name: "sgml2rtf"
section: "1"
platform: "linux"
package: "linuxdoc-tools"
version: "0.9.86-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/sgml2rtf"
---

# sgml2rtf(1)

create RTF output from a LinuxDoc DTD SGML source file

## NAME

sgml2rtf - create RTF output from a LinuxDoc DTD SGML source file

## SYNOPSIS

**sgml2rtf \[generic\_option...\] \[--twosplit\]** *file*\[.sgml\]

## DESCRIPTION

**sgml2rtf** is an old and obsoleted form of the rtf converter command of LinuxDoc-Tools (its name may be misleading, as it is not a tool for any SGML DTD, only supports the SGML LinuxDoc DTD). It is recommended to switch the new form **linuxdoc -B rtf** now. It converts a LinuxDoc DTD SGML source file to RTF, the Rich Text Tormat 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. The RTF output is tailored for compilation by the Windows Help Compiler (hc31.exe).

The attribute/value pair "output=rtf" is set for conditionals.

## OPTIONS

**sgml2rtf** accepts all the generic options described in [**linuxdoc**(1)](/linuxdoc/1.md),**and:**

- \--twosplit, -2

  Splits files both at n. sections and n.m. subsections

- 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.

## BUGS

None known.

## 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\>.

## SEE ALSO

[**linuxdoc**(1)](/linuxdoc/1.md), [**sgml2html**(1)](/sgml2html/1.md), [**sgml2info**(1)](/sgml2info/1.md), [**sgml2latex**(1)](/sgml2latex/1.md), [**sgml2lyx**(1)](/sgml2lyx/1.md), [**sgml2txt**(1)](/sgml2txt/1.md), [**sgmlcheck**(1)](/sgmlcheck/1.md).
