Changes

Jump to navigation Jump to search
2,114 bytes added ,  12:23, 12 November 2009
=Installing SciTE for ConTeXt=
 
Note. If you are installing ConTeXt and SciTe simultaneously and do not have any other TeX related systems on your Windows, you may prefer to follow the [[Simple Windows Installation]] instructions instead.
==Installing on Windows==
Building a ConTeXt document is as simple as opening it in the editor and pressing [F7].
 ==Configuring SciTe with ConTeXt on Windows==  === Building ConTeXt documents using MKII ===SciTE builds pdf using MKIV (luatex) by default, to change to MKII (pdftex) alter
the file context.properties as follows:
Replace the line
* Restart SciTE, open a .tex file and press [Cntrl-B] to spell check the file. New words can be added to the word list, but you need to restart SciTE after each change.
=== Using Latin Modern fixed-width font as SciTE display font ===
 
The default font in SciTE is a variable-width sansserif (Arial or similar). If you prefer to use a fixed-width font while coding, the minimal distribution comes with a neat Latin Modern font for this purpose. You can find the font at
''\yourcontextmainfolder''\texmf-context\fonts\truetype\hoekwater\lm\lmtypewriter10-regular.ttf
 
The only thing you need to do is to install the font as you'd install any TrueType font in your Windows. If you SciTE is otherwise correctly set up, it'll automatically start using the new font.
 
NB. It seems that this font doesn't have any Cyrillic, so add the font only if using just Roman letters.
 
=== Forcing SciTE to use UTF-8 as default encoding ===
 
If you plan to use SciTE only for ConTeXt or if all your files are in UTF-8 anyway, you can make UTF-8 as your default encoding. Especially if you start "from scratch", this is recommended!
 
To change the encoding setting, open SciTE and go to ''Options'' and there to ''Open Global Properties''. Find ''Internationalisation'' in the settings file:
<pre># Internationalisation
# Japanese input code page 932 and ShiftJIS character set 128
#code.page=932
#character.set=128
# Unicode
#code.page=65001
code.page=0
#character.set=204</pre>
 
Now '''uncomment <tt>#code.page=65001</tt>''' (i.e. remove the hash sign) and '''comment <tt>code.page=0</tt>''' (i.e. add a hash in front of the line. Now your internationalisation settings should look like this:
<pre>
# Internationalisation
# Japanese input code page 932 and ShiftJIS character set 128
#code.page=932
#character.set=128
# Unicode
code.page=65001
#code.page=0
#character.set=204
</pre>
Now save the settings file, close it, then close SciTE. When you restart SciTE, UTF-8 should be the default encoding.
[[Category: Text Editors]]
102

edits

Navigation menu