From FenixWiki
(Difference between revisions)
Revision as of 16:51, 6 August 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (00:16, 9 August 2007) (edit) (undo) Sandman (Talk | contribs) |
Line 1: |
Line 1: |
- | [[Category:general]] | + | #REDIRECT [[Tutorial:Setting up Fenix with ConTEXT]] |
- | [[Category:tutorials]] | + | |
- | | + | |
- | Setting up Fenix with [http://www.context.cx ConTEXT]. It is assumed [[Latest_Fenix_version|Fenix Binaries]] are downloaded in a certain folder, thus in which fxi.exe and fxc.exe will be. | + | |
- | | + | |
- | == Syntax Highlighter == | + | |
- | # Place [[Media:Fenix.chl|fenix.chl]] in the folder ConTEXT\Highlighters | + | |
- | # Restart ConTEXT | + | |
- | # File -> New | + | |
- | # Go to Tools -> Set Highlighter -> Customize Types..., select Foxpro, click on Edit and change "prg" to "prg2". | + | |
- | | + | |
- | == Compile == | + | |
- | [[Image:Compilesetup.PNG]] | + | |
- | # Download the new fxc.bat ([[Media:ContextBatches.zip|ConTEXTBatches.zip]]: extract into fxi/fxc folder) and replace the old one by it. | + | |
- | # Setup ConTEXT like on the screenshot. Replace <code>XXXXXX</code> by the directory containing fxc.bat and fxc.exe, in both the ConTEXT setup and the fxc.bat. Parser rule is: <code>Error in file %n at line %l:*</code>. | + | |
- | # Note that the <code>-i "XXXXXX"</code> will allow you to include codefiles in the <code>XXXXXX</code> directory. | + | |
- | | + | |
- | == Run == | + | |
- | [[Image:Runsetup.PNG]] | + | |
- | # Setup ConTEXT like on the screenshot. Replace <code>XXXXXX</code> by the directory containing fxi.exe. | + | |
- | | + | |
- | == Lookup on this wiki == | + | |
- | [[Image:Lookupsetup.PNG]] | + | |
- | # Download fxw.bat ([[Media:ContextBatches.zip|ConTEXTBatches.zip]]: extract into fxi/fxc folder). | + | |
- | # Setup ConTEXT like on the screenshot. Replace <code>XXXXXX</code> 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 <code>%?</code> instead of <code>%w</code>, to enter the word you're looking for. A possible setup is <code>%w</code> on F9 and <code>%?</code> on F12. | + | |
Current revision
- REDIRECT Tutorial:Setting up Fenix with ConTEXT