Difference between revisions of "Command/typefile"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \typefile")
 
 
Line 27: Line 27:
  
 
\starttext
 
\starttext
   \typefile[TEX][]{pdftex-syntax.txt}
+
   \typefile[TEX]{pdftex-syntax.txt}
 
\stoptext
 
\stoptext
 
</texcode>
 
</texcode>

Latest revision as of 14:24, 3 December 2021


\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

All issues with: