Changes

Jump to navigation Jump to search
no edit summary
===Step 1: Download and unzip the installer===
For a 32 bit installation, download [http://standalone.contextgarden.net/setup/context-setup-mswin.zip context-setup-mswin.zip] onto your computer.
For a 64 bit installation, download [http://standalone.contextgarden.net/setup/context-setup-win64.zip context-setup-win64.zip] onto your computer. It contains a folder called <tt>context</tt>, '''unzip/extract that folder to C:\, so the result is C:\context\.
This step is an alternative to run setuptex.bat which is located in C:\context\tex\
 
 
==Install SciTe==
 
Now you have ConTeXt. To complement it, i.e. to easily write and compile ConTeXt files, install the SciTe editor. It is a nifty open source editor that, with some adjustments, will be able to highlight ConTeXt code and run ConTeXt from inside the editor. (And it is pretty useful for e.g. html and php editing, too.)
 
===Step 1: Get SciTe===
 
There's a SciTe included in your ConTeXt Suite, but you'll get less hassle with user rights and such if you use [https://www.ebswift.com/scite-text-editor-installer.html Windows installer for SciTe]. Keep accepting everything it suggests and you'll get a very standard Windows program installed without any hassle. I recommend not using the 'context menu' during setup (you can right-click any text file (html, php, tex, txt) and give command "Edit with SciTe in New Tab" or "Edit with SciTe in New Window".)
 
 
===Step 2: Fetch and install lexer add-in===
 
See also https://foicica.com/scintillua/manual.html
 
The up-to-date ConTeXt version uses ''external lexers'' and for that you have to [http://foicica.com/scintillua/download Download the lexer add-in zip] (just get the top-most file of those listed in the download directory).
 
Then extract/unzip the contents of the lexer zip into a temporary directory. You get a directory <tt>scintillua''xxx-n''</tt> (e.g. <tt>scintillua375-1</tt>). Insite the temp folder, look for a folder called 'lexers'.
 
Locate your SciTE installation, typically C:\Program Files\SciTE\ for Windows for Linux.
Move the 'lexers' directory to the root of your SciTE installation.
 
Also leave the SciTe program folder open. You'll need it next!
 
==Adjust SciTe to work with ConTeXt==
 
=== Copy setup files ===
 
Go to <tt>C:\context\tex\tex\texmf-context\context\data\scite\context\lexers</tt>. Copy everything from this folder to your SciTe program lexers folder. If you only plan to use SciTe for ConTeXt, you can replace all files. If you want to keep all the existing functionality, copy the subfolder contents by hand, but make sure you get everything.
21

edits

Navigation menu