Changes

Jump to navigation Jump to search
m
Scite Se
first-setup.bat --context=current --modules=all
 
Tip: You'll need to run <code>first-setup.bat</code> also to update your ConTeXt and/or to add modules afterwards. One way of making this easier is to copy the Command Prompt shortcut to the ConTeXt folder (e.g. from startup menu). Then right-click the icon, choose Properties and replace the text on the Start In line with your ConTeXt folder location (e.g. C:\context). When you double-click this shortcut, the Command Prompt starts directly in the correct folder and you don't have to remember any file paths (and you can even copy-paste the commands from this wiki page to the command line!).
===Step 3: Add texmf to path===
Then extract/unzip the contents of the lexer zip into a temporary directory. You get a directory <code>scintillua''xxx-n''</code> (e.g. <code>scintillua229-1</code>). Go to that directory and copy everything in it to your SciTe folder.
 
Leave the SciTe program folder open, you'll need next!
==Adjust SciTe to work with ConTeXt==
 
=== Copy setup files ===
 
Go to <code>''yourcontextfolder''/tex/texmf-context/data/scite</code> (e.g. <code>C:\context\tex\texmf-context\context\data\scite</code>). Copy everything from this folder to your SciTe program 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.
 
=== Import settings into scite ===
 
Open SciTe. Go to the <code>Options</code> menu and choose <code>Open Global Options File</code>. Scroll all the way to then end of the file and write <code>import scite-context-user</code> and save the file (you may have to fiddle with the file rights to get this done). If you are the only ConTeXt user on that computer, you can also put the import command into the User Options File.
102

edits

Navigation menu