Difference between revisions of "Installation"

From Wiki
Jump to navigation Jump to search
Line 61: Line 61:
 
= Installation =
 
= Installation =
  
# Create a download directory (e.g., downloads/context)
+
# Create a download directory (e.g., downloads/context).
# Download the relevant archive for your platform into the download directory (see above)
+
# Download the relevant archive for your platform into the download directory (see above).
 
#* For example, 64-bit Linux:
 
#* For example, 64-bit Linux:
 
#*# <code>cd downloads/context</code>
 
#*# <code>cd downloads/context</code>
Line 68: Line 68:
 
# Unpack the archive, some files will appear
 
# Unpack the archive, some files will appear
 
#* UNIX/MAC: <code>unzip context-linux-64.zip</code>
 
#* UNIX/MAC: <code>unzip context-linux-64.zip</code>
# Execute the install program, which will take care of downloading the distribution:
+
# Execute the install program, which downloads the distribution.
 
#* WINDOWS: <code>install.bat</code>
 
#* WINDOWS: <code>install.bat</code>
 
#* UNIX/MAC: <code>sh install.sh</code>
 
#* UNIX/MAC: <code>sh install.sh</code>
Line 81: Line 81:
 
#* MAC:
 
#* MAC:
 
#** Same as for UNIX. MacOS Catalina (10.15) defaults to `Zsh`, earlier versions defaulted to `Bash`
 
#** Same as for UNIX. MacOS Catalina (10.15) defaults to `Zsh`, earlier versions defaulted to `Bash`
 +
 +
Installation is complete.
  
 
= First Run ! =
 
= First Run ! =

Revision as of 19:45, 6 March 2021

Since April 2019, there is a new implementation of ConTeXt, named ConTeXt LMTX. It is tuned for LuaMetaTeX, the lean and mean successor of LuaTeX TeX engine (see article).

Download


You can read the licence (Creative Commons GNU GPL for program code, and Creative Commons Attribution ShareAlike for documentation).

Installation

  1. Create a download directory (e.g., downloads/context).
  2. Download the relevant archive for your platform into the download directory (see above).
  3. Unpack the archive, some files will appear
    • UNIX/MAC: unzip context-linux-64.zip
  4. Execute the install program, which downloads the distribution.
    • WINDOWS: install.bat
    • UNIX/MAC: sh install.sh
  5. Add ConTeXt to your system PATH:
    • WINDOWS:
      • run setpath.bat
    • UNIX: use the PATH instructions provided at the end of install.sh with:
      • Bash shell echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.bashrc
      • Zsh shell echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.zshenv
      • Sh/Ksh shell echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.profile
      • Tcsh/csh shell echo 'set path = ($path ...thepathinstructions...)' >> ~/.cshrc
    • MAC:
      • Same as for UNIX. MacOS Catalina (10.15) defaults to Zsh, earlier versions defaulted to Bash

Installation is complete.

First Run !

You can also follow our two steps tutorial:

Moreover, a page is used to centralized Sample documents.

Easy update

For an update, just replay the install program: it also take care of updating the distribution incrementally:

  • WINDOWS: install.bat
  • UNIX: sh install.sh

Running MkIV

The new distribution still has all the files to run the previous version of ConTeXt.

  • Run context --luatex Hello-world.tex in your shell to revert back to the luatex binary and MkIV.

Further installation instructions