Difference between revisions of "Installation"
Jump to navigation
Jump to search
(→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 | + | #* UNIX/MAC: <code>sh install.sh</code> |
# Add ConTeXt to your system PATH : | # Add ConTeXt to your system PATH : | ||
#* WINDOWS: | #* WINDOWS: | ||
#** run <code>setpath.bat</code> | #** 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> | ||
Line 73: | Line 70: | ||
#** 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> | ||
+ | #* MAC: | ||
+ | #** Same as for UNIX. MacOS Catalina (10.15) defaults to `Zsh`, earlier versions defaulted to `Bash` | ||
= First Run ! = | = First Run ! = |
Revision as of 09:46, 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
-
Windows
-
MacOS
-
GNU/Linux
-
FreeBSD
-
OpenBSD6.6
-
OpenBSD6.7
*untested configuration.
You can read the licence (Creative Commons GNU GPL for program code, and Creative Commons Attribution ShareAlike for documentation).
Installation
- Create a directory for, e.g. data/context
- Go there and download the relevant zip for your plateform (see above)
- Unpack the zip, some files will appear
- Execute the install program, which will take care of downloading the distribution:
- WINDOWS:
install.bat
- UNIX/MAC:
sh install.sh
- WINDOWS:
- Add ConTeXt to your system PATH :
- WINDOWS:
- run
setpath.bat
- run
- 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
- Bash shell
- MAC:
- Same as for UNIX. MacOS Catalina (10.15) defaults to
Zsh
, earlier versions defaulted toBash
- Same as for UNIX. MacOS Catalina (10.15) defaults to
- WINDOWS:
First Run !
- Download the tex input file Hello-World.tex from our Detailed example
- Run
context Hello-world.tex
in your shell - Check the pdf output
Hello-world.pdf
.
You can also follow our two steps tutorial:
- Your 1st document
- and a more Detailed example
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
- Installing ConTeXt LMTX on MacOS
- Installing Modules for ConTeXt LMTX
- The official page Installing CONTEXT LMTX is hosted by Pragma-Ade.
- Pragma-Ade also provides the CONTEXT MKIV distribution (MKIV version is LMTX predecessor) for which there is also detailed Installation instructions.
|