Command/usepath
< Command
Contents
\usepath
Summary
The command \usepath is used for defining where (in which folders and subfolders) context should look for files.
Settings
Description
Examples
Example 1
$ tree -al . ├── library │ ├── abc.mp │ └── file.mp ├── library2 │ └── abcd.mp ├── main.log ├── main.pdf ├── main.tex └── main.tuc 3 directories, 7 files
\usepath[library,library2] \startMPinclusions input file.mp; \stopMPinclusions \starttext \startMPcode draw_circle(2cm) ; \stopMPcode \startMPcode input abdc.mp; \stopMPcode \stoptext