Command/typefile

From ConTeXt wiki
< Command
Revision as of 06:03, 23 March 2012 by Jannis (talk | contribs) (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

\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

Help from ConTeXt-Mailinglist/Forum

All issues with: