Command/input
From ConTeXt wiki
< Command
\input
Syntax
| \input file | |
| file | name of the file |
Description
The command \input filename is replaced by the content of the text file filename.
When no file extension is specified the command assumes that the file has the extension .tex
Example
The following example includes the content of the text file chapter-01.
Please be careful: no extension is specified, so it is assumed that the text file chapter-01 has the extension .tex.
\starttext \input chapter-01 \stoptext
produces
The file chapter-01.tex looks like this:
\chapter{Chapter 1} This is the first chapter.
See also
- \getbuffer - Get back the "formatted" content of a buffer.
- \typebuffer- Get back the content of a buffer as verbatim text.
Help from ConTeXt-Mailinglist/Forum
All issues with: