Running ConTeXt

From Wiki
Revision as of 02:13, 31 March 2021 by Thangalin (talk | contribs)
Jump to navigation Jump to search

The First Document page provides a cursory introduction to typesetting document using ConTeXt. The Context page describes the command-line options in brief. This page provides additional information for command-line options.

--run

Process one or more files; this is the default action and may be omitted.

--autopdf

Reopen the generated PDF file in the system's default PDF file viewer after recompiling a document.

--purgeall

Delete all build artifacts generated during compiling of a document, such as .tuc and .log files.

--path=list

Provide a list of paths for ConTeXt to search when processing.

--result

Changes the output document file name. ConTeXt creates the output document file in the current working directory; this option cannot create or move the output document in a different directory. Instead, change the working directory before running ConTeXt and use the --path option to configure where ConTeXt searches for files to process.