Changes

Jump to navigation Jump to search
77 bytes added ,  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.
== Feisty (7.04) Precompiled / Packaged Nightly Builds From PPA ==
As of today Adam Reviczky was most generous to provide us with an Ubuntu PPA (January 2007Personal Package Archive), feisty is still alpha testthat contains precompiled Ubuntu packages for both ConTeXt and LuaTeX nightlies. But when it is released, you should be able to follow the Instructions for your version of Ubuntu are available for [https://launchpad.net/~reviczky/+archive/context-daily ConTeXt] and [Debian_installation]https://launchpad.net/~reviczky/+archive/luatex-daily LuaTeX]instructions.
== Edgy (6With Ubuntu packages – should work with Ubuntu 16.10) 04 and above ==
You can follow the Note that Ubuntu's packaged version of ConTeXt is quite old ([[Debian_installation]] instructions. However, the packages depend on having <tt>tex-common</tt> later than v0.35, and the <tt>tex-common</tt> in edgy is v0.25. So go to httphttps://packages.ubuntu.com/tex-common and get the feisty (7.04search?keywords=context circa 2015]) package, which will be v0so a better option is the ConTeXt Standalone.42 or later, and install it by hand using
dpkg -i tex-common_0TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.42_all.deb 10, so you can simply
Now go to [[Debian_installation]]. apt-get install context
== Dapper to install ConTeXt and its dependencies (6LuaTeX is part of the [https://packages.ubuntu.06com/search?keywords=texlive-binaries texlive-binaries] package) ==.
Ubuntu 6.06 contains teTeX 3.0 (The dependencies pull in various PDF utilities which you will probably find useful, including ConTeXt 2005.01.31), so you can just install <code>tetex-extrapdfcrop</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 that), so again, please follow the instructions for [[TeTeX_3.0_installation]].
I just made a fresh install of If you would like to use the beta release of Ubuntu Dapper Drake. It comes with a more recent version of tetex than Ubuntu 5.10, i[http://www.etug. tetexorg/texworks/ TeXworks] GUI-3.0.15. So after installationbased TeX editing environment usually included with TeX Live CDs, you get:it is available via
TeXExec 5.2.4 apt- ConTeXt / PRAGMA ADE 1997-2005get install texworks
texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeXand will appear under Applications, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2006.4Science & Math.24 mes: english
Nevertheless, I wanted to have the latest and greatest and decided I would try to upgrade pdf(e)tex and ConTeXt. Basically, the instructions given above for Fedora Core 5 are valid for Ubuntu as well, but there are a few caveatsSee also:* Setting up [[TeXworks]]* Setting up [[Scite]]
* Ubuntu is missing a few tools that you'll need to build a new version of pdftex and '''to run new versions of ConTeXt.''' So before trying to upgrade, run this command:<pre> sudo apt-get install build-essential bison flex ruby </pre>=== Adding the system fonts ===
* All the configuration files that users should edit are under <tt> /etc/texmf/texmf.d</tt>The standard Ubuntu LuaTeX package does not scan any of your installed system fonts. Do '''not''' edit Therefore you will want to set up the files under <tt>/usr/share/texmf/web2c</tt> directly; instead, edit OSFONTDIR environment variable to point to all the files in this directory and run <tt> update-texmf</tt> or <tt>update-updmap</tt>font paths.For example:
I went through the process, and everything seems to be working so far 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
Ubuntu 5.10 does not include a TeX-installation by default. The distribution you get when you simply choose to install TeX is teTeX-2.0.2, which is too old and will very likely not work with the latest ConTeXt versions. So you should not install it, but follow scan all the instructions for [[TeTeX_3.0_installation]]font directories. However, before you can do so, you will need to install a number of supplementary packages that are not included in Ubuntu by default (and I hope I'm not forgetting anything; a number of dependencies will automatically be installed as well):Then run
# sudo apt mtxrun -get install build-essential bison flex libncurses5script fonts -dev-list --all --pattern=*
Install 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 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-setup.sh vi ~/.bashrc Add these packages before trying 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, you will get an error at run time. Also, remember that you have to compile teTeX 3source ~/.0bashrc after changing it, in order to have the changes take effect in your 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 [[ConTeXt_Standalone#Updating|the normal procedure]]. If you will get errors during installed the ConTeXt Standalone with the compilationcommands 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