Changes

Jump to navigation Jump to search
145 bytes removed ,  00:00, 23 August 2020
m
Each successive version of Here are instructions for ConTeXt installation on Ubuntu becomes easier to update, which is why the following sections, arranged in reverse chronological order, get successively longerand its derivatives [K/X/L]ubuntu.
== Late-breaking bad news for Ubuntu users (March 2007) Precompiled / Packaged Nightly Builds From PPA ==
The latest Debian Adam Reviczky was most generous to provide us with an Ubuntu PPA (Personal Package Archive) that contains precompiled Ubuntu packages starting with for both ConTeXt 2007.03and LuaTeX nightlies.19 require the texlive 2007 packages. Unfortunately, those packages are built against libpoppler0c2, which hasn't shipped on Ubuntu in an age. And it's not easy to recompile it against libpoppler1, which is part Instructions for your version of Ubuntuare available for [https://launchpad. Sonet/~reviczky/+archive/context-daily ConTeXt] and [https: <b>You won't be able to upgrade until a workaround is figured out,</b> which makes the rest of this page irrelevant until then/launchpad.net/~reviczky/+archive/luatex-daily LuaTeX].
== Feisty (7With Ubuntu packages – should work with Ubuntu 16.04) and above ==
As Note that Ubuntu's packaged version of today ConTeXt is quite old (January 2007[https://packages.ubuntu.com/search?keywords=context circa 2015]), feisty is still alpha test. But when it so a better option is released, you should be able to follow the [[Debian installation]]instructionsConTeXt Standalone.
== Edgy (6TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10) ==, so you can simply
You can follow the [[Debian installation]] instructions. However, the packages depend on having <tt>tex apt-common</tt> later than v0.35, and the <tt>tex-common</tt> in edgy is v0.25. So go to http://packages.ubuntu.com/tex-common and get the feisty (7.04) package, which will be v0.42 or later, and install it by hand using context
dpkg to install ConTeXt and its dependencies (LuaTeX is part of the [https://packages.ubuntu.com/search?keywords=texlive-i texbinaries texlive-common_0.42_allbinaries] package).deb
Now go to [[Debian installation]]The dependencies pull in various PDF utilities which you will probably find useful, including <code>pdfcrop</code>.
== Dapper (6If you would like to use the [http://www.06) ==tug.org/texworks/ TeXworks] GUI-based TeX editing environment usually included with TeX Live CDs, it is available via
Ubuntu 6.06 contains teTeX 3.0 (including ConTeXt 2005.01.31), so you can just install <code>tetex apt-extra</code> and use ConTeXt. However, once you got your feet wet, you will probably want to get 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 [[TeTeX_3.0 installation]].texworks
The [[Linux_Installation#Updating_a_Linux_Installation:_Fedora_Core_5|instructions for Fedora Core 5]] are valid for Ubuntu 6and will appear under Applications, Science & Math.06, with a few caveats:
* Ubuntu's default installation lacks a few tools that you'll need to build a new version of pdfTeX and '''to run new versions of ConTeXt'''. So before upgrading, doSee also:<pre> sudo apt-get install build-essential bison flex ruby </pre>* Setting up [[TeXworks]]* 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>.Setting up [[Scite]]
After doing all of === Adding the above, the new versions seem to be working:system fonts ===
<pre>% texexec --versionThe standard Ubuntu LuaTeX package does not scan any of your installed system fonts. Therefore you will want to set up the OSFONTDIR environment variable to point to all the font paths. For example:
TeXExec 5 export OSFONTDIR=~/.4fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3 - ConTeXt / PRAGMA ADE 1997-2005share/fonts/
texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfTeXOnce you have done that, 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>run
== Breezy (5.10) == mtxrun --script fonts --reload
''Breezy's support ends in April 2007, so If you are advised to upgrade (one Ubuntu release at a time) to a more recent release in order to 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 have an error do not wish to) upgrade.this
Ubuntu 5.10 does not include a TeX installation by default. The distribution that you get when you install TeX is teTeX luatools -2.0.2, which is too old and will not work with recent ConTeXt versions. So you should not install it, but follow the instructions for [[TeTeX_3.0_installation]]. However, you first must install supplementary packages not included in Ubuntu by default (and I hope I'm not forgetting anything; a number of dependencies will automatically be installed as well):-generate
# sudo apt-get install build-essential bison flex libncurses5-dev rubyto scan all the font directories. Then run
Install these packages before trying mtxrun --script fonts --list --all --pattern=* to list all the fonts LuaTeX now knows about. Finally, run  context --reload to make sure ConTeXt's font cache is up to date. If you are using TeXworks, you need to make sure that OSFONTDIR is set in the environment TeXworks runs in, because ConTeXt may decide it needs to compile teTeX 3rescan fonts.0 or running newer  == With ConTeXt Standalone – should work with all Ubuntu versions== Example of setting up [[ConTeXt release (which use ruby rather than perl)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-setup.sh vi ~/.bashrc Add these three lines:  export OSFONTDIR=~/.fonts:/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. If you put /usr/local/context/bin in the path first, or you will get errors during an error at run time. Also, remember that you have to source ~/.bashrc after changing it, in order to have the compilation changes take effect in your current shell. (Either that, or have problems running 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 [[ConTeXt_Standalone#Updating|the normal procedure]]. If you installed the ConTeXt Standalone with the resultscommands 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