Difference between revisions of "Installation"

From Wiki
Jump to navigation Jump to search
(→‎Further installation instructions: move a few links to the LMTX page)
(→‎Installation: manual xattr is no longer needed)
Line 61: Line 61:
 
# Execute the install program, which will take care of downloading the distribution:
 
# Execute the install program, which will take care of downloading the distribution:
 
#* WINDOWS: <code>install.bat</code>
 
#* WINDOWS: <code>install.bat</code>
#* MAC:
+
#* MAC/UNIX: <code>sh install.sh</code>
#** If MacOS Catalina (10.15+), first allow mtxrun as unsigned executable with:
 
#*: <code>xattr -d com.apple.quarantine context-osx-64/bin/mtxrun</code>
 
#** execute <code>sh install.sh</code>
 
#* UNIX: <code>sh install.sh</code>
 
 
# Add ConTeXt to your system PATH :
 
# Add ConTeXt to your system PATH :
 
#* WINDOWS:  
 
#* WINDOWS:  

Revision as of 09:43, 7 July 2020

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

*untested configuration.

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

Installation

  1. Create a directory for, e.g. data/context
  2. Go there and download the relevant zip for your plateform (see above)
  3. Unpack the zip, some files will appear
  4. Execute the install program, which will take care of downloading the distribution:
    • WINDOWS: install.bat
    • MAC/UNIX: sh install.sh
  5. Add ConTeXt to your system PATH :
    • WINDOWS:
      • run setpath.bat
    • MAC:
      • Bash shell (pre-catalina) echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.bashrc
      • Zsh shell (Catalina) echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.zshenv
    • 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

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

Further installation instructions