Difference between revisions of "Installation"

From Wiki
Jump to navigation Jump to search
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
Since April 2019, there is a new major version of ConTeXt, named '''ConTeXt LMTX'''.
+
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 [https://tug.org/TUGboat/tb40-1/tb124hagen-lmtx.pdf article]).
 
 
It is a new implementation tuned for LuaMetaTeX TeX engine, the lean and mean successor of the LuaTeX TeX engine (see [https://tug.org/TUGboat/tb40-1/tb124hagen-lmtx.pdf article]).
 
  
 
= #1. Download =
 
= #1. Download =
 
   
 
   
<ul class="DownloadRework">
+
<ul id="DownloadRework">
  
<li class="DownloadRework" style="text-align:left;">
+
<li>
 
===  Windows ===
 
===  Windows ===
<ul style="text-align:left;">
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-mswin.zip 32bits]
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-mswin.zip 32]</li>
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-win64.zip 64bits]
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-win64.zip 64]</li>
 
</ul>
 
 
</li>
 
</li>
  
<li class="DownloadRework" style="text-align:left;">
+
<li>
 
=== MacOS ===
 
=== MacOS ===
<ul style="text-align:left;">
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip 64bits]
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip 64]</li>
 
</ul>
 
 
</li>
 
</li>
  
<li class="DownloadRework" style="text-align:left;">
+
<li>
 
=== GNU/Linux ===
 
=== GNU/Linux ===
<ul style="text-align:left;">
+
* X86 [http://lmtx.pragma-ade.nl/install-lmtx/context-linux.zip 32bits]
<small><li>X86 [http://lmtx.pragma-ade.nl/install-lmtx/context-linux.zip 32] | [http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip 64]</li>
+
* X86 [http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip 64bits]
<li>ARM [http://lmtx.pragma-ade.nl/install-lmtx/context-linux-armhf.zip 32] | [http://lmtx.pragma-ade.nl/install-lmtx/context-linux-aarch64.zip 64]</li></small>
+
* ARM [http://lmtx.pragma-ade.nl/install-lmtx/context-linux-armhf.zip 32bits]
</ul>
+
* ARM [http://lmtx.pragma-ade.nl/install-lmtx/context-linux-aarch64.zip 64bits]
 
</li>
 
</li>
  
  
<li class="DownloadRework" style="text-align:left;">
+
<li>
=== Free BSD ===
+
=== FreeBSD ===
<ul style="text-align:left;">
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-freebsd.zip 32bits] *
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-freebsd.zip 32] (untested)</li>
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-freebsd-amd64.zip 64bits]
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-freebsd-amd64.zip 64]</li>
 
</ul>
 
 
</li>
 
</li>
  
<li class="DownloadRework" style="text-align:left;">
+
<li>
 
=== OpenBSD6.5 ===
 
=== OpenBSD6.5 ===
<ul style="text-align:left;">
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.5.zip 32bits] *
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.5.zip 32] (untested)</li>
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.5-amd64.zip 64bits]
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.5-amd64.zip 64]</li>
 
</ul>
 
 
</li>
 
</li>
  
<li class="DownloadRework" style="text-align:left;">
+
<li>
 
=== OpenBSD6.6 ===
 
=== OpenBSD6.6 ===
<ul style="text-align:left;">
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.6.zip 32bits] *
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.6.zip 32] (untested)</li>
+
* [http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.6-amd64.zip 64bits]
<li>[http://lmtx.pragma-ade.nl/install-lmtx/context-openbsd6.6-amd64.zip 64]</li>
 
 
</ul>
 
</ul>
 
</li>
 
</li>
Line 60: Line 49:
 
</li>
 
</li>
 
</ul>
 
</ul>
 +
 +
<nowiki>*</nowiki>untested configuration.
  
 
You can [[Read Me| read the licence]] (Creative Commons GNU GPL for program code, and Creative Commons Attribution ShareAlike for documentation).
 
You can [[Read Me| read the licence]] (Creative Commons GNU GPL for program code, and Creative Commons Attribution ShareAlike for documentation).
Line 67: Line 58:
  
 
# Create a directory for, e.g. data/context
 
# Create a directory for, e.g. data/context
# Go there and download the relevant zip for your plateform (see aside)
+
# Go there and download the relevant zip for your plateform (see above)
 
# Unpack the zip, some files will appear
 
# Unpack the zip, some files will appear
 
# 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>
#* UNIX: <code>install.sh</code> (set the executable permissions)
+
#* MAC:
 +
#** 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: run <code>setpath.bat</code>
 
#* WINDOWS: run <code>setpath.bat</code>
 
#* UNIX: use the PATH instructions provided at the end of <code>install.sh</code> with:
 
#* UNIX: use the PATH instructions provided at the end of <code>install.sh</code> with:
::: Bash shell <code>echo 'export PATH=...thepathinstructions...:$PATH'  >> ~/.bashrc</code>
+
#** Bash shell <code>echo 'export PATH=...thepathinstructions...:$PATH'  >> ~/.bashrc</code>
::: Sh/Ksh shell <code>echo 'export PATH=...thepathinstructions...:$PATH'  >> ~/.profile</code>
+
#** Sh/Ksh shell <code>echo 'export PATH=...thepathinstructions...:$PATH'  >> ~/.profile</code>
::: Tcsh/csh shell <code>echo 'set path = ($path ...thepathinstructions...)' >> ~/.cshrc</code>
+
#** Tcsh/csh shell <code>echo 'set path = ($path ...thepathinstructions...)' >> ~/.cshrc</code>
 
 
  
 
= #3. First Run ! =
 
= #3. First Run ! =
Line 89: Line 82:
 
* [[First Document| Your 1st document]]
 
* [[First Document| Your 1st document]]
 
* and a more [[Detailed Example|Detailed example]]
 
* and a more [[Detailed Example|Detailed example]]
 +
  
 
= #4. Easy update =
 
= #4. Easy update =
  
Just replay the install program, it also take care of updating the distribution:
+
For an update, just replay the install program: it also take care of updating the distribution incrementally:
 
* WINDOWS: <code>install.bat</code>
 
* WINDOWS: <code>install.bat</code>
 
* UNIX: <code>install.sh</code> (set the executable permissions)
 
* UNIX: <code>install.sh</code> (set the executable permissions)
 
  
 
= Official installation page =
 
= Official installation page =

Revision as of 13:50, 30 May 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).

#1. Download

*untested configuration.

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

#2. 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:
      • If MacOS Catalina (10.15+), first allow mtxrun as unsigned executable with xattr -d com.apple.quarantine context-osx-64/bin/mtxrun
      • execute sh install.sh
    • UNIX: 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
      • Sh/Ksh shell echo 'export PATH=...thepathinstructions...:$PATH' >> ~/.profile
      • Tcsh/csh shell echo 'set path = ($path ...thepathinstructions...)' >> ~/.cshrc

#3. First Run !

You can also follow our two steps tutorial:


#4. Easy update

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

  • WINDOWS: install.bat
  • UNIX: install.sh (set the executable permissions)

Official installation page

The official page Installing CONTEXT LMTX is hosted by Pragma-Ade, which also provides


Further installation instructions