Command/typefile

From ConTeXt wiki
< Command
Revision as of 17:37, 15 April 2010 by Patrick Gundlach (talk | contribs) (put refrerence template back in)

\typefile

Syntax

\typefile[...]{...}
[...] name
{...} text

Description

name => from \definetyping; text => file name.

comment

If you use name you should also use a (possibly empty) parameter list:

\typefile[TEX][]{file.tex}

Example

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

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


See also