Changes

Jump to navigation Jump to search
1,309 bytes added ,  19:33, 14 April 2020
m
Here are instructions grouped according for ConTeXt installation on Ubuntu and its derivatives [K/X/L]ubuntu. == Precompiled / Packaged Nightly Builds From PPA == Adam Reviczky was most generous to the provide us with an Ubuntu PPA (Personal Package Archive) that contains precompiled Ubuntu packages for both ConTeXt and LuaTeX nightlies. Instructions for your version of Ubuntu you are runningavailable for [https://launchpad.net/~reviczky/+archive/context-daily ConTeXt] and [https://launchpad.net/~reviczky/+archive/luatex-daily LuaTeX].
== With Ubuntu packages – should work with Ubuntu 7.10 and above ==
 
Note that Ubuntu's packaged version of ConTeXt is quite old (circa 2009), so a better option is the ConTeXt Standalone
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply
See also:
* Setting up [[Setting up TeXworks]]  === Adding the system fonts === The 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:  export OSFONTDIR=~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/ Once you have done that, run  mtxrun --script fonts --reload If you have an error do this   luatools --generate to scan all the font directories. Then run  mtxrun --script fonts --list --all --pattern=* [[Using  to list all the fonts LuaTeX in Ubuntu]]now knows about. Finally, run  context --reload to make sure ConTeXt's font cache is up to date.
Note If you are using TeXworks, you need to make sure that Ubuntu's packaged version of ConTeXt OSFONTDIR is quite old (circa 2009)set in the environment TeXworks runs in, so a better option for advanced users is..because ConTeXt may decide it needs to rescan fonts.
== With ConTeXt Minimals Standalone – should work with all Ubuntu Versionsversions==
Example of setting up [[ConTeXt MinimalsStandalone]]:
sudo mkdir /usr/local/context
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 source ~/.bashrc 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 MinimalsStandalone ===
See here: [[ConTeXt_MinimalsConTeXt_Standalone#Installing_third_party_modules|Installing third party modules]]
===Updating ConTeXt MinimalsStandalone===The update procedure is similar to [[ConTeXt_MinimalsConTeXt_Standalone#Updating|the normal procedure]]. If you installed the ConTeXt Minimals 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
./firstsetupfirst-setup.sh --keep {{Installation navbox}}
1

edit

Navigation menu