Changes

Jump to navigation Jump to search
756 bytes added ,  20:18, 6 March 2021
= Installation =
Complete the following The general steps to install ConTeXt LMTXare as follows:
# Create a directory for ConTeXt (e.g., bin/context).# Download the platform-specific archive file---see above---into the ConTeXt directory directory.#* For example, on a 64-bit Linux platform, you may use the following steps:#*# <code>cd bin/context</code>#*# <code>wget http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip</code>
# Unpack the archive.
#* UNIX/MAC: <code>unzip context-linux-64.zip</code>
# Execute the install program, which downloads the distribution.
#* WINDOWS: <code>installUpdate the PATH environment variable.bat</code>#* UNIX/MAC: <code>sh installOptionally, delete the archive file.sh</code># Add See the next sections for instructions specific to various platforms. == Unix == The following steps download and install ConTeXt directory to the for a 64-bit Linux system PATH environment variable.Change archive file download link as needed for your target platform: # mkdir $HOME/bin/context# cd $HOME/bin/context#* WINDOWSwget http: //lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip#** run <code>setpathunzip context-linux-64.bat</code>zip#* UNIX: use sh install.sh Update the PATH environment variable by using the instructions provided at displayed by the end of <code>installprogram.sh</code> withThe instructions will vary depending on the type of shell being used:#** '''Bash shell ''': <code>echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.bashrc</code>#** '''Zsh shell ''': <code>echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.zshenv</code>#** '''Sh'''/'''Ksh shell ''': <code>echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.profile</code>#** '''Tcsh'''/'''csh shell ''': <code>echo 'set path = ($path ...thepathinstructions...)' >> ~/.cshrc</code>#* MACFor example, if ConTeXt was downloaded into `$HOME/bin/context` on a system running bash, then the following line would update the PATH environment variable:#** Same <code>echo 'export PATH=$HOME/bin/context/tex/texmf-linux-64/bin:$PATH' >> ~/.bashrc</code> === MacOS === The instructions for MacOS are the same as for UNIX. Unix, but note that: * MacOS versions from Catalina (10.15) defaults to `and newer use '''Zsh`, earlier ''' by default.* MacOS versions defaulted before Catalina use '''Bash''' by default. == Windows == Complete the following instructions to set up ConTeXt on Windows: # Create a directory for ConTeXt, such as `BashC:\context`.# Download the architecture-specific version into the ConTeXt directory directory.# Extract the archive.# Run: <code>install.bat</code># Run: <code>setpath.bat</code>
# Optionally, delete the archive file.
419

edits

Navigation menu