Changes

Jump to navigation Jump to search
1,311 bytes added ,  00:42, 11 March 2009
→‎Installation: Cleaned up post-installation stuff
This takes a long time, so go have a coffee.
By default, the minimals installs ConTeXt beta. If you want the stable version of ConTeXt, you can use
sh ./first-setup.sh --context=== Usage: permanent ===current
''(For those who mostly use ConTeXt and [almost] never LaTeX.)''
Put the following line to <code>~/.bash_profile</code> or <code>~/.bashrc</code>: source ~/context/tex/setuptex ~/context/tex(t)csh users can use the variant: source ~/context/tex/setuptex.csh== Usage ==
In theory ConTeXt minimals works in a non-interfering manner because it should already suffice to add does not put anything in your <code>export $PATH=~</contextcode> and does not set any system variables. This in turn means that in order to use it, you need to do some initialization. An intialization script called <code>setuptex</tex/texmf-code> is provided in <platformcode>installation-dir/tex/bin:$PATH</code>.
=== Usage: temporary ===If you run context from a terminal, source <code>setuptex</code> before running ConTeXt. This depends on the shell that you are using.
* ''(For those who often use LaTeX, but need the latest ConTeXt every now and then.)'bash'''users can use source /installation-dir/tex/setuptex
Just type* '''zsh''' users can use . ~/contextinstallation-dir/tex/setuptex ~/context/texto switch from system-wide TeX distribution to the minimals inside current shell.
=== Updating ===* '''(t)csh''' users can use source /installation-dir/tex/setuptex.csh
For now just If you run ConTeXt from an editor, you need to source <code>./first-setup.shsetuptex</code> again. This will change - the name is not most self-explanatory at in a terminal and then open your editor from the moment.In theory mtxrun --script updateshould work, but it has not been tested yetsame terminal.
=== Uninstalling =Exlusive usage ==
Just remove The above method means that you always have to type <code>source /installation-dir/tex/setuptex</code> in a terminal before you can use typeset. If you always use ConTeXt minimals and never use LaTeX or plain TeX provided by another TeX distribution, you can add the folder above intialization line to the startup script of your shell. For bash, this means <code>$HOME/.bashrc</code>; for zsh, this means <code>$HOME/.zshrc</code>; for (distribution did not touch anything elset): rm -rf ~csh, this means <code>$HOME/.cshrc</code> or <code>$HOME/.tcshrc</code>. Then, <code>setuptex</contextcode> will always be sourced in your terminal.
Depending on how your editor intializes, you may still need to source it in order to run ConTeXt directly from your editor, In theory, it is sufficient to add <code>/installation-dir/tex/texmf-<platform>/bin</code> to your path in order to use the minimals. You can try to add this to the paths that your editor searches. == Updating == For updating the ConTeXt minimals, just run <code>first-setup.sh</code> again.  == Uninstalling == ConTeXt minimals does not touch anything outside its installation folder. So to uninstall it, you can simply remove the installation folder. == Remaking formats === Normally, the update script should create the formats for you. If for some reason you need to recreate the formats, you can do the following: * For making MKII format.  mktexlsr texexec --make --all  * For making XeTeX format
Thi is optional: only if you need to remake formats for some unexpected reason or use another interface (for example the German one):
mktexlsr
texexec --make --xtx --all en de * For making MKIV format  texexec luatools --make --xtx selfupdate mtxrun --all en deselfupdate
luatools --generate
context --make en de
= Installation and usage on Mac =

Navigation menu