Command/usepath

From Wiki
< Command
Revision as of 10:47, 27 August 2024 by BruceH2020 (talk | contribs) (Typo fixed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: