Changes

Jump to navigation Jump to search
252 bytes removed ,  00:00, 23 August 2020
m
Here are instructions grouped according to the version of for ConTeXt installation on Ubuntu you are runningand its derivatives [K/X/L]ubuntu.
== Gutsy (7.10) Precompiled / Packaged Nightly Builds From PPA ==
Gutsy will be released in October 2007. Its repositories, which came from Debian unstable just after feisty Adam Reviczky was most generous to provide us with an Ubuntu PPA (7.04Personal Package Archive) was released, already have the texlive 2007 that contains precompiled Ubuntu packages for both ConTeXt and recent LuaTeX nightlies. Instructions for your version of Ubuntu are available for [https://launchpad.net/~reviczky/+archive/context-daily ConTeXt packages] and [https://launchpad. So you could use them now (if you are brave)net/~reviczky/+archive/luatex-daily LuaTeX].
== Edgy (6With Ubuntu packages – should work with Ubuntu 16.10) 04 and Feisty (7.04) above ==
Unfortunately, you cannot use the repository given in [[Debian installation]] because the Debian packages were compiled with a (very very slightly) newer libc6 than the one Note that comes with Ubuntu 7.04. Here instead are slightly tested 's packaged version of ConTeXt is quite old ([https://packages backported for Ubuntu 6.10 (edgy); they also work on my Feisty (7ubuntu.04com/search?keywords=context circa 2015]) laptop. To use them put these two lines in your <tt>/etc/apt/sources, so a better option is the ConTeXt Standalone.list</tt>:
<nowiki>deb http://webTeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.mit.edu/download/sanjoy/texlive-backports/ edgy/ deb-src http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/</nowiki>10, so you can simply
Then you can apt-get install the texlive 2007 and recent context packages. See the [[Debian installation]] instructions for the details, but here is the quickstart:
apt-get update apt-get to install cmConTeXt and its dependencies (LuaTeX is part of the [https://packages.ubuntu.com/search?keywords=texlive-super binaries texlive-fonts-recommended context context-nonfree context-doc-nonfreebinaries] package).
That command also installs the needed texlive packages for pdftex, metapost, lmodern etc. The <tt>cm-super</tt> package is dependencies pull in the ''universe'' repository so various PDF utilities which you'll need that enabled in your will probably find useful, including <ttcode>sources.listpdfcrop</ttcode>. You should not need to chase down the old teTeX 3.0 packages, which will be removed automatically by the above installation line. To test whether the basics of ConTeXt are working after the upgrade, try:
ctxtools If you would like to use the [http://www.tug.org/texworks/ TeXworks] GUI--contextversionbased TeX editing environment usually included with TeX Live CDs, it is available via
Let me (Sanjoy) know if you find anything broken. apt-get install texworks
== Dapper (6and will appear under Applications, Science & Math.06) ==
Backporting from gutsy (7.10) results in a circular dependency, so I gave See also:* Setting up on that plan as too hard. However,[[TeXworks]]Ubuntu 6.06 contains teTeX 3.0 (including ConTeXt 2005.01.31), so you can just install <code>tetex-extra</code> and use ConTeXt. However, once you got your feet wet, you will probably want to install a more recent pdfTeX than the 1.21a installed with Ubuntu (since ConTeXt can give you more features with newer pdfTeX's), so again, please follow the instructions for * Setting up [[TeTeX_3.0 installationScite]].
The [[Linux_Installation#Updating_a_Linux_Installation:_Fedora_Core_5|instructions for Fedora Core 5]] are valid for Ubuntu 6.06, with a few caveats:=== Adding the system fonts ===
* The standard Ubuntu's default installation lacks a few tools that LuaTeX package does not scan any of your installed system fonts. Therefore you'll need will want to set up the OSFONTDIR environment variable to build a new version of pdfTeX and '''point to run new versions of ConTeXt'''all the font paths. So before upgrading, doFor example:<pre> sudo apt-get install build-essential bison flex ruby </pre>* The configuration files that users should edit are under <tt> /etc/texmf/texmf.d</tt>. '''Do not''' edit the <tt>.cnf</tt> files in <tt>/usr/share/texmf/web2c</tt> directly; instead, edit the configlet files in the <tt>.d</tt> directory and run <tt> update-texmf</tt> or <tt>update-updmap</tt>.
After doing all of the above, the new versions seem to be working export OSFONTDIR=~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/
<pre>% texexec --versionOnce you have done that, run
TeXExec 5.4.3 mtxrun - ConTeXt / PRAGMA ADE 1997-2005script fonts --reload
texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfTeX, 3.141592-1.40.0-beta-20060213 (Web2C 7.5.5) context : ver: 2006.04.23 23:55 cont-en : ver: 2006.04.23 23:55 fmt: 2006.4.24 mes: english</pre>If you have an error do this
== Breezy (5.10) == luatools --generate
''Breezy's support ends in April 2007, so you are advised to upgrade (one Ubuntu release at a time) to a more recent release in order to scan all the font directories. Then run a secure system; Dapper (6.06) will be supported until 2009, so that could be a good choice.'' The following instructions are for those who cannot (or do not wish to) upgrade.
Ubuntu 5 mtxrun --script fonts --list --all --pattern=* to list all the fonts LuaTeX now knows about.10 does not include a TeX installation by defaultFinally, run  context --reload to make sure ConTeXt's font cache is up to date. The distribution that  If you get when are using TeXworks, you install TeX need to make sure that OSFONTDIR is teTeXset in the environment TeXworks runs in, because ConTeXt may decide it needs to rescan fonts. == With ConTeXt Standalone – should work with all Ubuntu versions== Example of setting up [[ConTeXt Standalone]]:  sudo mkdir /usr/local/context sudo chown yourusername /usr/local/context cd /usr/local/context wget http://minimals.contextgarden.net/setup/first-setup.sh sh first-2setup.sh vi ~/.bashrc Add these three lines:  export OSFONTDIR=~/.0fonts:/usr/share/fonts export TEXROOT=/usr/local/context/tex export PATH=/usr/local/context/tex/texmf-linux-64/bin:/usr/local/context/bin:$PATH Note that the order of items in the PATH is significant.2If you put /usr/local/context/bin in the path first, which is too old and you will not work with recent ConTeXt versionsget an error at run time. Also, remember that you have to source ~/. Since teTeX is obsoletebashrc after changing it, in order to have the changes take effect in your best bet current shell. (Either that, or start a new shell.) ===Installing third party modules in ConTeXt Standalone === See here: [[ConTeXt_Standalone#Installing_third_party_modules|Installing third party modules]] ===Updating ConTeXt Standalone===The update procedure is similar to follow the advice on the [[TeX LiveConTeXt_Standalone#Updating|the normal procedure]] page.If you installed the ConTeXt Standalone with the commands from above, you can update to a new (beta) version like this: cd /usr/local/context wget http://minimals.contextgarden.net/setup/first-setup.sh ./first-setup.sh --keep {{Installation navbox}}
174

edits

Navigation menu