This wiki is out of date, use the continuation of this wiki instead

Tutorial:Setting up Fenix with ConTEXT

From FenixWiki

Revision as of 16:46, 6 August 2007 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Setting up Fenix with ConTEXT.

Contents

Syntax Highlighter

  1. Place fenix.chl in the folder ConTEXT\Highlighters
  2. Restart ConTEXT
  3. File -> New
  4. Go to Tools -> Set Highlighter -> Customize Types..., select Foxpro, click on Edit and change "prg" to "prg2".

Compile

Image:Compilesetup.PNG

  1. Download the new fxc.bat (ConTEXTBatches.zip: extract into fxi/fxc folder) and replace the old one by it.
  2. Setup ConTEXT like on the screenshot. Replace XXXXXX by the directory containing fxc.bat and fxc.exe, in both the ConTEXT setup and the fxc.bat. Parser rule is: Error in file %n at line %l:*.
  3. Note that the -i "XXXXXX" will allow you to include codefiles in the XXXXXX directory.

Run

Image:Runsetup.PNG

  1. Setup ConTEXT like on the screenshot. Replace XXXXXX by the directory containing fxi.exe.

Lookup on this wiki

Image:Lookupsetup.PNG

  1. Download fxw.bat (ConTEXTBatches.zip: extract into fxi/fxc folder).
  2. Setup ConTEXT like on the screenshot. Replace XXXXXX by the directory you placed fxw.bat in, the fxc.bat.

This will allow you to hit a button (F9-F12) to lookup the word currently under your cursor in ConTEXT on FenixWiki. Alternatively you can use %? instead of %w, to enter the word you're looking for. A possible setup is %w on F9 and %? on F12.

Personal tools