Changes

Jump to navigation Jump to search
483 bytes added ,  01:45, 31 March 2021
m
no edit summary
The '''`context`''' script has two the following main uses: (1)  * compiling ConTeXt MkIV documents, ; and (2) * recompiling the ConTeXt core format after you change one of the changing a source filesfile.  It is one of ConTeXt's four command-line scripts, together with `[[Mtxrun]]` for running general ('meta-TeX') helper scripts, `[[First-setup]]` for installation and updating, and `[[texexec]]` for compiling MkII documents.
== Compiling ==
context ''myfile.tex''
== Remaking the format Lists ==
When you change one of ConTeXt's core files – as Tables in the following sections may reference a temporary patch, or "list" parameter to try out something new, or for whatever reason – the change won't take effect immediately. Instead, you must first recompile ConTeXt, a process known as '(re)making the format'command-line option. In factsuch cases, ConTeXt has several formats: the Englishvalue may be a comma-separated list enclosed in straight single-language interface is a separate format from the English or the Persian onedouble-quotes. For example:
To make all formats: context --environment="setups,styles,classes" ''myfile.tex''
context --make== Basic options ==
To make just the format for a single interface language:  context --make cont-en # English context --make cont-uk # British English context --make cont-de # German context --make cont-fr # French context --make cont-nl # Dutch context --make cont-cs # Czech context --make cont-it # Italian context --make contThe following table lists common command-ro # Romanian context --make cont-pe # Farsi (Persian)  == Basic line options ==:
{| class="wikitable"
== Expert options ==
The following table lists additional command-line options: {| class="wikitable"! Argument! Description|-| --touch | update context version number (also provide --expert, optionally provide --basepath) |-| --nostatistics | omit runtime statistics at the end of the run |-| --profile | profile job (use: mtxrun --script profile --analyze) |-| --timing | generate timing and statistics overview |-| --keeptuc | keep previous tuc files (jobname-tuc-[run].tmp) |-| --keeplog | keep previous log files (jobname-log-[run].tmp) |-| --lmtx | force lmtx mode (when available) |-| --overloadmode=error|,warning|,0--6,255|255 enable csname overload checking|}
== Special options ==
The following table lists command-line options that are not commonly used: {| class="wikitable"! Argument! Description|-| --pdftex | process file with texexec using pdftex |-| --xetex | process file with texexec using xetex |-| --mkii | process file with texexec |-| --pipe | do not check for file and enter scroll mode (--dummyfile=whatever.tmp) |-| --sandbox | process file in a limited environment |-| --addbinarypath | prepend the (found) binarypath to runners|} == Remaking the format == When you change one of ConTeXt's core files – as a temporary patch, or to try out something new, or for whatever reason – the change won't take effect immediately. Instead, you must first recompile ConTeXt, a process known as '(re)making the format'. In fact, ConTeXt has several formats: the English-language interface is a separate format from the English or the Persian one.  To make all formats:  context --make To make just the format for a single interface language:  context --make cont-en # English context --make cont-uk # British English context --make cont-de # German context --make cont-fr # French context --make cont-nl # Dutch context --make cont-cs # Czech context --make cont-it # Italian context --make cont-ro # Romanian context --make cont-pe # Farsi (Persian) 
[[Category:Tools]]
419

edits

Navigation menu