Changes

Jump to navigation Jump to search
1,842 bytes added ,  21:05, 7 June 2008
basic installation instructions
Everyone is invited to test this distribution, but is kindly asked for patience and understanding until we tidy up the details. You need to have '''rsync''' installed, for windows it's shipped together with the minimals.
 
= Quick Start =
 
== Linux/Mac/FreeBSD ==
 
mkdir context && cd context
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
./first-setup.sh
''... go and have a coffee ...''
 
and then put something equivalent (depending on where you have placed ConTeXt) of
source ~/context/tex/setuptex ~/context/tex
to <code>~/.bash_profile</code> or do this each time when you want to initialize the environment to run the minimals:
cd ~/context/tex
. setuptex
or
. ~/context/tex/setuptex ~/context/tex
This will enable you to use both TeX Live and ConTeXt minimals without interferring with each other.
 
== Windows ==
 
Note: rsync sometimes has problems with paths with uppercase letters (like c:\Temp or c:\Documents and Settings). Installing into all-lowercase paths sometimes helps.
 
=== Using installer ===
 
You may not have MikTeX or TeX Live installed - the two installations will interfere with each other.
 
Just download and run [http://minimals.contextgarden.net/setup/context-installer/ContextMinimalInstall.exe the installer] and hope for the best.
 
=== Using command-line tools ===
 
Download and unzip [http://minimals.contextgarden.net/setup/context-setup-mswin.zip context-setup-mswin.zip]
 
Run <code>first-setup.bat</code>, go for a coffee.
 
Before being able to use ConTeXt you need to run setuptex.bat to initialize the environment. A simple way to do it is to create a file <code>startcontext.bat</code> (use any name) somewhere in PATH and put this line into it
 
C:\Programs\context\tex\setuptex.bat C:\Programs\context\tex
 
Then, you can type <code>startcontext</code> into CMD whenever you want to use ConTeXt Minimals instead of MikTeX.
 
== Testing ==
 
\starttext
Hello World!
\stoptext
 
Now, you should be able to run
context hello.tex
or
texexec hello.tex
 
<code>context</code> uses LuaTeX by default.
= Goals =

Navigation menu