Changes

Jump to navigation Jump to search
1,630 bytes added ,  14:24, 3 December 2021
Created page with "Documentation for \typefile"
<cd:commandgroup name="typefile" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\typefile</tt> typesets a file verbatim
</cd:shortdesc>
<cd:variants>
<cd:command category="verbatim" file="buff-ver.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-verbatim.xml" level="document" name="typefile" variantnumber="1">
<cd:arguments>
<cd:keywords optional="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name">from {{cmd|definetyping}}</cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setuptyping"></cd:inherit>
</cd:assignments>
<cd:keywords delimiters="braces" ordinal="3">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:file"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Typeset a file verbatim
</cd:description>
<cd:examples><cd:example title=""><texcode>
\definetyping[TEX]
\setuptyping[TEX][option=TEX]

\starttext
\typefile[TEX][]{pdftex-syntax.txt}
\stoptext
</texcode>
</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definetyping" originator="system"></cd:commandref>
<cd:commandref name="setuptyping" originator="system"></cd:commandref>
<cd:source file="buff-ver.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Verbatim"></cd:wikipage>
<cd:commandref name="type"></cd:commandref>
<cd:wikipage page="Verbatim text"></cd:wikipage></cd:seealso>
</cd:commandgroup>

Navigation menu