Changes

Jump to navigation Jump to search
no edit summary
import context
</pre>
Remember to save the fileto save these settings. Then close SciTE.  == Step 4: Using ConTeXt ==   == Additional configuration == === Using fixed-width font in SciTE === 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 setup (i.e. step 3 is done), it'll automatically start using the new font.   === 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=65001code.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# Unicodecode.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.
102

edits

Navigation menu