Difference between revisions of "Command/typefile"

From ConTeXt wiki
m (cleanup)
(put refrerence template back in)
Line 1: Line 1:
 +
{{Reference
 +
|name=typefile
 +
|attributes=
 +
}}
 +
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 17:37, 15 April 2010

\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