Difference between revisions of "Command/typefile"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>typefile</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 20:46, 13 January 2020

\typefile

Syntax (autogenerated)

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


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: