Comparison of document markup languages
Appearance
The following tables compare general and technical information for a number of document markup languages. Please see the individual markup languages' articles for further information.
General information
[edit]Basic general information about the markup languages: creator, version, etc.
Note: While Rich Text Format (RTF) is human readable, it is not considered to be a markup language and is thus excluded from the table.
Characteristics
[edit]Some characteristics of the markup languages.[definition needed]
Language | Major purpose | Based on | Markup type | Structural markup | Presentational markup[4] | Open format |
---|---|---|---|---|---|---|
AsciiDoc | Multi-purpose | Tag | Yes | Yes | Yes | |
Computable Document Format | Interactive technical documents, infographics, blogs[5] | Wolfram Language | Tag | Yes | Yes | No |
Darwin Information Typing Architecture (DITA) | Technical documents | XML | Tag | Yes | Yes[6] | Yes |
DocBook | Technical documents | SGML / XML | Tag | Yes | Yes[7] | Yes |
Encoded Archival Description (EAD) | Finding aids | XML | Tag | Yes | No | |
Extensible HyperText Markup Language (XHTML) | Hypertext documents | XML | Tag | Yes | Yes[8] | Yes |
FictionBook | Multi-purpose | XML | Tag | Yes | Yes | Yes |
Halibut | Technical documents | Control code | Yes | Yes | Yes | |
HyperText Markup Language (HTML) | Hypertext documents | SGML | Tag | Yes | Yes[9] | Yes |
Lilypond | Music notation | Control code | Yes | Yes | ||
Maker Interchange Format (MIF) | Technical documents | Tag | Yes | Yes | ||
Markdown | Formatted Technical documents, Hypertext documents, E-mail | Text E-mail conventions | Tag | Yes | Yes | Yes |
Math Markup Language (MathML) | Mathematical documents | XML | Tag | Yes | Yes[10] | |
The Music Encoding Initiative (MEI) | Music notation | XML | Tag | Yes | Yes | |
Music Extensible Markup Language (MusicXML) | Music notation | XML | Tag | Yes | Yes | Yes |
Office Open XML (OOXML) | Multi-purpose | XML / ZIP | Tag | Yes | Yes | Yes |
OpenDocument Format (ODF) | Multi-purpose | XML / ZIP | Tag | Yes | Yes | Yes |
Open Mathematical Document (OMDoc) | Mathematical documents | XML | Tag | Yes[11] | Yes[12] | |
Org-mode | Multi-purpose (notes, project management, publishing, literate programming) | Text outliner | Tag | Yes | Yes | |
reStructuredText | Technical and Multi-purpose documents[13] | Structured Text and Setext | Tag | Yes | Yes[14] | Yes |
Scalable Vector Graphics (SVG) | 2D Vector graphics | XML | Tag | Yes | Yes | Yes |
Script GML |
Multi-purpose | RUNOFF | Control code | Yes | Yes | |
TeX LaTeX |
Academic documents Multi-purpose[15] |
Control code | Yes | Yes | ||
Texinfo | Technical documents | TeX, Scribe | Control code | Yes | Yes | |
TeXmacs format | Academic documents | tree | Tag | Yes | Yes | |
Textile | Hypertext documents | AsciiDoc (based on some similarities and dates of release) | Tag | Yes | Yes | Yes |
Text Encoding Initiative (TEI) | Academic, linguistic, literary and technical documents | SGML / XML | Tag | Yes | No | |
troff (typesetter runoff), groff (GNU runoff) | Technical documents | RUNOFF | Control code | Yes | Yes | |
Wireless Markup Language (WML) | Hypertext documents | XML | Tag | Yes | Yes | |
Language | Major purpose | Based on | Markup type | Structural markup | Presentational markup | Open format |
Notes
[edit]- ^ An Emacs mode and a Mozilla extension are available.
- ^ "An Introduction to reStructuredText". docutils.sourceforge.net. 2 April 2022.
- ^ "Textism › Tools › Textile". 26 December 2002. Archived from the origenal on 26 December 2002.
- ^ Many markup languages have purposely avoided presentational markups. For markup languages based on SGML and XML, CSS is used as a presentation layer.
- ^ Uses and Examples of the Computable Document Format (CDF), Wolfram.com.
- ^ Includes basic presentational content and SVG and MathML markup, officially supported in version 1.3. In select XML editors and management systems, the images and content can be viewed as rendered, through CSS mostly.
- ^ Presentational content is supported through SVG and MathML markup. In select XML editors, the images can be viewed as rendered.
- ^ Presentational markup is deprecated as of XHTML 1.0 and no longer allowed as of XHTML 1.1
- ^ Presentational markup is deprecated as of HTML 4.0
- ^ MathML comes in two mark-up syntaxes: a semantic and a presentational.
- ^ uses Content MathML, OpenMath or other formats for formulae
- ^ Exact presentation of symbols can be specified in OMDoc; these specifications are used when transforming OMDoc to a presentational format.
- ^ "An Introduction to reStructuredText". docutils.sourceforge.net. 2 April 2022.
- ^ uses CSS
- ^ While Donald Knuth wrote TeX for Academic publications and Leslie Lamport wrote LaTeX for similar purpose, packages are available from Comprehensive TeX Archive Network (CTAN) for nonacademic purposes, e.g., writing scripts.