Open main menu

Command/typefile

< Command
Revision as of 14:24, 3 December 2021 by Taco (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


\typefile

Summary

The command \typefile typesets a file verbatim

Settings

\typefile[...][...=...,...]{...}
[...]name
...=...,...inherits from \setuptyping
{...}file

OptionExplanation
name from \definetyping

Description

Typeset a file verbatim

Examples

Example 1

\definetyping[TEX]
\setuptyping[TEX][option=TEX]

\starttext
  \typefile[TEX]{pdftex-syntax.txt}
\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum