Changes

Jump to navigation Jump to search
1,177 bytes added ,  01:29, 11 March 2009
→‎Installation and usage on Windows: Cleaned up and merged the installation guidelines for windows
= Installation and usage use on Windows =
=== Installation: global & If you want to use ConTeXt minimals alongside MikTeX/TeXLive (needed if you also run LaTeX), the follow the command-line installation method. Otherwise, you can follow either the command line or GUI ===installation method.
''(For those who don't need MikTeX/TeX Live and prefer Graphical user interface.)''== Installation ==
=== Command line method ===Download and run [http://minimals.contextgarden.net/setup/context-installer/ContextMinimalInstallsetup-mswin.zip context-setup-mswin.zip] and unzip to a directy where you want to install ConTeXt. It is recommended that you choose a directory that does not have a space in its full paht. Then open cmd.exe , go to the GUI installer] (made by Vyatcheslav Yatskovsky).installation directory and run
Slides from author's presentation can be downloaded [http://meeting.contextgarden.net/2008/talks/2008-08 first-21-vyatcheslav-win-installer/windows_installer.pdf here]setup.bat
Use standard windows tool for uninstalling the applicationThis takes a long time, so go have a coffee.
=== Installation: local & command-line ===By default, the minimals installs ConTeXt beta. If you want the stable version of ConTeXt, you can use
''(For those who need MikTeX/TeX Live and are comfortable with command first-linesetup.)''bat --context=current
Download and unzip [http://minimals.contextgarden.net/setup/context-setup-mswin.zip context-setup-mswin.zip]=== GUI Installer ===
Run <code>firstThere is also a [http://minimals.contextgarden.net/setup/context-setupinstaller/ContextMinimalInstall.exe GUI installer] made by Vyatcheslav Yatskovsky.bat</code>Download and run the installer and it will ask you where to install the minimals, go for a coffeewhich distribution to use (stable or beta) and whether or not you want to make formats.
Before being able to use ConTeXt {{note| The GUI installer asks if you need want to run setuptexset environmental variables globally.bat to initialize the environment. A simple way to Click this only if you do not use MikTeX or TeXLive and do it is not plan to create a file <code>startcontext.bat</code> (use any name) somewhere in PATH and put this line into itLaTeX}}
CYou should also see the [http:\Programs\context\tex\setuptex//meeting.contextgarden.net/2008/talks/2008-08-21-vyatcheslav-win-installer/windows_installer.pdf slides] giving details about the GUI installer.bat C:\Programs\context\tex
Then== Usage == If you used the GUI installer and said yes to setting the evironmental variables globally, then you can type run ConTeXt from anywhere. Otherwise, before running ConTeXt, you need to run <code>setuptex.bat</code> which is provided in <code>startcontextinstallation-dir\tex\</code> into CMD whenever . This can be done by typing installation-dir\tex\setuptex.bat on cmd.exe before you want run ConTeXt. To avoid always having to use ConTeXt Minimals instead of MikTeXtype this, you can create a shortcut to cmd.exe and edit the command line to read (assuming you installed the minimals in <code>C:\Programs</code>; otherwise replace <code>C:\Programs\</code> with your installation directory)  C:\WINDOWS\System32\cmd.exe /k C:\Programs\context\tex\setuptex.bat
Another method is to create a shortcut to cmd.exe and edit the command line to read
C:\WINDOWS\System32\cmd.exe /k C:\Programs\context\tex\setuptex.bat C:\Programs\context\tex
This starts up a new command shell with the environment pre-loaded.
For uninstalling == Updating == If you used the command line method, just run <code>first-setup.bat</code> again to update the minimals. If you used the GUI installer, just run the installer again. == command-line method: uninstallation == If you used the command-line installer, you can just delete the folder with installation directory to uninstall the minimals. If you used the GUI installer, you can use standard windows tools for uninstalation. 
=== Troubleshooting ===
* rsync sometimes has problems with paths with uppercase letters (like c:\Temp or c:\Documents and Settings). Installing into all-lowercase paths without spaces sometimes helps.

Navigation menu