Changes

Jump to navigation Jump to search
m
re-add Linux 32bit link
< __NOTOC__Since April 2019, there is a new implementation of ConTeXt, named '''ConTeXt [[Installation hintsLMTX]] | ['''. It is tuned for LuaMetaTeX, the lean and mean successor of LuaTeX TeX engine (see [TeX Distributions]https://tug.org/TUGboat/tb40-1/tb124hagen-lmtx.pdf article] >).
= Download =
<ul id="DownloadRework">
 
<li>
=== Windows ===
* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-mswin.zip 32bits]
* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-win64.zip 64bits]
* ARM [https://lmtx.pragma-ade.com/install-lmtx/context-windows-arm64.zip 64bits]
</li>
 
<li>
 
=== MacOS ===
* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-osx-64.zip 64bits]
* ARM [https://lmtx.pragma-ade.com/install-lmtx/context-osx-arm64.zip 64bits]
</li>
 
<li>
 
=== GNU/Linux ===
* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-linux.zip 32bits]
* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip 64bits]
* ARM [https://lmtx.pragma-ade.com/install-lmtx/context-linux-aarch64.zip 64bits]
* Musl [https://lmtx.pragma-ade.nl/install-lmtx/context-linuxmusl-64.zip 64bits]
</li>
{{Installation navbox}}
{{note | The officially recommended way of installing ConTeXt on all platforms is using [[ConTeXt Standalone|ConTeXt Suite]]}}<li>
=== FreeBSD ===
* 14.0 [https://lmtx.pragma-ade.com/install-lmtx/context-freebsd-amd64.zip 64bits]
</li>
= Look before you leap =<li>
Most === OpenBSD ===* 7.4 [[TeX Distributions]] include an installation of ConTeXt alreadyhttps://lmtx.pragma-ade.To see if it's installed on your system run nl/install-lmtx/context -openbsd-versionamd64.zip 64bits]</li></ul></li>
If it is not installed, there are two important considerations.</ul>
* Do you want a '''ConTeXt distribution''' or do you want a '''TeX distribution''' (plain TeX, LaTeX, ConTeXt, and lots of other goodies)?</li>* Do you want a '''stable''' version of ConTeXt, or do you want the '''beta''' or '''bleeding edge''' versions? Remember that ConTeXt gets updated frequently.</ul>
If you are on a Linux systemYou can [[Read Me| read the licence]] (Creative Commons GNU GPL for program code, there is also a third consideration: Do you want a '''distribution package''', or do you want your own '''local TeX''' installationand Creative Commons Attribution ShareAlike for documentation).
= Installation =
select your operating system
== Unix (linux/bsd/...) ==In decreasing order of simplicity, here The general steps to install ConTeXt LMTX are a few optionsas follows:
* (simplest) If you distribution supports [[TeX Live]] packages, use them# Create a directory for ConTeXt. Debian, Ubuntu, openSUSE, Gentoo, Fedora, Arch and Mandriva (if not too old) do so# Download the platform-specific archive file into the ConTeXt directory. See [[Debian installation]] or [[Ubuntu installation]]# Unpack the archive.* Otherwise# Execute the install program, use a fresh [[TeX Live]] installationwhich downloads the distribution. The problem with this method is that you'll probably have to redo the installation once a year, when # Update the new TeX Live DVD comes outPATH environment variable.If you will use TeX Live# Generate cache# Optionally, you have to delete the distribution-provided teTeX packages (if they exist)archive file.
If you are running an rpm-based distribution (RedHat, Fedora, Mandrake, Mandriva etcSee the next sections for instructions specific to various platforms.), then you can most easily uninstall them like so: rpm --qa | grep tetex rpm --erase <package-names><code>rpm</code>'s dependencies will tell you what other TeX-related packages are installed but don't have 'tetex' in their names!
FreeBSD also still contains teTeX in its ports distribution (with many dependencies). These packages can be deleted as follows: pkg_info | grep tetex pkg_delete tetex\*Note, however, that teTeX will again be pulled-in by other packages, for example if options installing formatted documentation are activated. == Unix ==
* Alternatively, if you need '''just ConTeXt The steps in this section show how to download and no LaTeX''', you can use the [[install ConTeXt Standalone]] installationfor a 64-bit Linux system. The ConTeXt Standalone installation does not require Change the de-installation of other TeX distributions and can be used in parallelarchive file download link as needed for your target platform.Open a new terminal then run the following commands:
=== Debian # mkdir $HOME/ (K)Ubuntu ===contextDebian_TeXlive_install (Debian# cd $HOME/linux and Debiancontext# wget https://lmtx.pragma-ade.com/kfreebsd)* [[Debian installation| install ConTeXt on Debian]]-lmtx/context-linux-64.zip* [[Ubuntu installation| install ConTeXt on Ubuntu]]# unzip context-linux-64.zip* [[Debian TeXlive install| # sh install TeXlive on Debian]].sh
=== Fedora ===Update the PATH environment variable by using the path instructions displayed when the install program finishes. The instructions will vary depending on the type of shell being used:
Detils for [http* '''Bash''':<code>echo 'export PATH=...instructions...:$PATH' >> ~/.bashrc</fedoraprojectcode>* '''Zsh''': <code>echo 'export PATH=...instructions...org Fedora] version 11, 12 and 13 are at [http:$PATH' >> ~/.zshenv</code>* '''Sh'''/fedoraproject'''Ksh''': <code>echo 'export PATH=...instructions...org:$PATH' >> ~/wiki.profile</Featurescode>* '''Tcsh'''/TeXLive Fedora Project Wiki TeX Live page] maintained by Jindrich Novy'''csh''': <code>echo 'set path = ($path ... The repository provides a snapshot of TeX Live 2010 tlpretest, and it includes very new ConTeXt packages and requires absolutely no manual configuration to get working Mk II and Mk IVinstructions. Highly recommended..)' >> ~/.cshrc</code>
=== funtoo ===For example, if ConTeXt was downloaded into `$HOME/context` on a system running bash, then the following line would update the PATH environment variable:
If you are using [http:<code>echo 'export PATH=$HOME/context/tex/texmf-linux-64/funtoo.org funtoo] there are ebuilds that will make an installation as easy as installing any other package from portage. Take a look at the [[ConTeXt Standalone Funtoo]] Howto. This might also work for [httpbin:$PATH' >> ~/.bashrc</www.gentoo.org gentoo], but is untested right now.code>
Then generate the cache with <code>mtxrun --generate</code>.=== openSUSE =MacOS ==
OpenSUSE (starting from 10.3beta3) comes with TeX Live and offers also XeTeX. 10.3b3 contains ConTeXt 2007.01.12.The instructions for MacOS are the same as for Unix, but note that:
You can [http://software.opensuse.org/search?q=context search for OpenSUSE packages online]In OpenSUSE 11.3 there are two packages available. * texlive-context-2010-33.1MacOS versions from Catalina (10.noarch15) and newer use '''Zsh''' by default.rpm* texlive-context-2009-26.1.noarchMacOS versions before Catalina use '''Bash''' by default.rpm
=== freeBSD =Windows ==
FreeBSD still relies Complete the following steps to set up ConTeXt on teTeX in the ports collection. Alternately, TeXlive is now available as a branch extension, see [httpWindows://code.google.com/p/freebsd-texlive/wiki/Installing] and [http://romain.blogreen.org/blog/2011/08/texlive-2011-on-freebsd/], until migration to the main ports branch is completed.
[[TeX Live]] # Create a directory for ConTeXt, such as a standalone installation will run "out of `C:\context`.# Download the architecture-specific version into the box" on all recent versions of freeBSD (7, 8, 9) and extended support is available for earlier versions; The [[ConTeXt Standalone]] installation is compiled for directory.# Extract the latest stable release (currently 8archive.# Run: <code>install.2)bat</code># Run: <code>setpath.bat</code>
Installation is complete. =First Run This section describes how to run ConTeXt to transform your first TeX document into a PDF. # Download the tex input file [[Media:Hello-world.tex|Hello-World.tex]] from our [[Detailed_Example|Detailed example]].# Run <code>context Hello-world.tex</code> in your terminal (or command prompt).# Check the PDF output <code>Hello-world.pdf</code>. Additional tutorials include: * [[First Document| Your first document]]* [[Detailed Example|Detailed example]] See the [[Sample documents]] page for even more examples. = OpenBSD ==Upgrade =
* [[OpenBSD installation|OpenBSD]]Re-run the install program to upgrade, which will update the distribution incrementally:
== Mac OS X ==* Windows: <code>install.bat</code>* [[Mac Installation]]Unix: <code>sh install.sh</code>
=Running MkIV = Windows ==There are two main TeX distributions for Windows wich contain a stable context* [[MikTeX]] (currently '''ConTeXt support is broken''')* [[TeX Live]] (provides stable ConTeXt)
Use The new distribution has all the files to run the previous version of ConTeXt. * Run <code>context --luatex Hello-world.tex</code> to use the `luatex` binary and [[ConTeXt Standalone|ConTeXt SuiteMkIV]], if you want up to date ConTeXt.
* [[Windows Installation]] ''(if you are also using LaTeX or have a favourite editor)''* [[Windows Installation: ConTeXt Suite with SciTe]] ''(the "for dummies" version for those who haven't done any TeXing before)''= Further installation instructions =
== Installation from source == * [[Installing ConTeXt LMTX on MacOS]]* [[TeX Live Modules#ConTeXt_LMTX| TeX Live installationInstalling Modules for ConTeXt LMTX]]* The official page '''[http: Specific installation instructions using the TeX Live source distribution//www.pragma-ade.nl/install.htm Installing ConTeXt LMTX ]''' is hosted by Pragma ADE.* Pragma ADE also provides the '''[http://www.pragma-ade.nl/download-1.htm ConTeXt MkIV distribution]''' (version MkIV is the predecessor of LMTX) for which there are also [[Installation hintsConTeXt_Standalone|detailed installation instructions]].
== external manuals on installation ==* [http://www.pragma-ade.com/general/manuals/minstall.pdf How to install context (outdated 2001)]---
{{Getting started Installation navbox}}
[[Category:Basics]]
[[Category:Installation]]

Navigation menu