---
name: "sgml2lyx"
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/sgml2lyx"
---

# sgml2lyx(1)

create LyX output from a LinuxDoc DTD SGML source file

e.

## NAME

sgml2lyx - create LyX output from a LinuxDoc DTD SGML source file

## SYNOPSIS

**sgml2lyx \[generic-option...\]** *file*\[.sgml\]

## DESCRIPTION

**sgml2lyx** is an old and obsoleted form of the lyx 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 lyx** now. It converts a LinuxDoc DTD SGML source file to LyX output. Output will appear in *file.lyx* where *file* is the name of the SGML source file.

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

## OPTIONS

**sgm2lyx** accepts all the generic options described in [**linuxdoc**(1)](/linuxdoc/1.md).

- 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 Frank Pavageau \<frank@via.ecp.fr\> and Cees de Groot \<cg@cdegroot.com\> as sgml2lyx 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), [**sgml2rtf**(1)](/sgml2rtf/1.md), [**sgml2txt**(1)](/sgml2txt/1.md), [**sgmlcheck**(1)](/sgmlcheck/1.md).
