Command/usepath

From Wiki
Jump to navigation Jump to search


\usepath

Summary

The command \usepath is used for defining where (in which folders and subfolders) context should look for files.

Settings

\usepath[...,...]
[...,...]path

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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: