Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Hans Hagen
On 20-6-2012 05:04, Bill Meahan wrote: Anybody got a ctags file for ConTeXt? :-) what are ctags - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread luigi scarso
On Wed, Jun 20, 2012 at 4:24 PM, Hans Hagen pra...@wxs.nl wrote: On 20-6-2012 05:04, Bill Meahan wrote: Anybody got a ctags file for ConTeXt?  :-) what are ctags CTAGS(1) Exuberant Ctags CTAGS(1) NAME ctags - Generate tag files for

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Aditya Mahajan
On Wed, 20 Jun 2012, Hans Hagen wrote: On 20-6-2012 05:04, Bill Meahan wrote: Anybody got a ctags file for ConTeXt? :-) what are ctags They allow you to jump around to specific locations in a file. For example, in vim, pressing CTRL+] on \in[sec:first] will jump to the location where

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Bill Meahan
On 06/20/2012 11:24, Aditya Mahajan wrote: On Wed, 20 Jun 2012, Hans Hagen wrote: On 20-6-2012 05:04, Bill Meahan wrote: Anybody got a ctags file for ConTeXt? :-) what are ctags They allow you to jump around to specific locations in a file. SciTE also uses them to generate

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Bill Meahan
On 06/19/2012 17:57, Hans Hagen wrote: On 19-6-2012 23:27, Bill Meahan wrote: On 06/19/2012 16:43, Hans Hagen wrote: and you can give spell checking a try (you can use mtxrun --script --scite to convert a list with words into one suitable for the context lexers) Hans fyi: the context

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Hans Hagen
On 20-6-2012 18:37, Bill Meahan wrote: 1. Running the command as shown generates a spell-xx.lua file but complains about a spell-xx.lucluac file not being present. luac compiles the lau file into bytecode (luac comes with lua and needs to match the lua version in scite) 2. The lexer does

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Hans Hagen
On 20-6-2012 20:02, Hans Hagen wrote: indeed, internally there is a limit of length 2 i can probably do a check for length i.e. if no 3 character words then also no checking the next version has return { [max]=40, [min]=3, [n]=151493, [words]={ [aardvark]=aardvark,

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Bill Meahan
On 06/20/2012 14:44, Hans Hagen wrote: On 20-6-2012 20:02, Hans Hagen wrote: indeed, internally there is a limit of length 2 i can probably do a check for length i.e. if no 3 character words then also no checking the next version has return { [max]=40, [min]=3, [n]=151493, [words]={

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Bill Meahan
On 06/20/2012 14:02, Hans Hagen wrote: On 20-6-2012 18:37, Bill Meahan wrote: 1. Running the command as shown generates a spell-xx.lua file but complains about a spell-xx.lucluac file not being present. luac compiles the lau file into bytecode (luac comes with lua and needs to match the lua

Re: [NTG-context] ConTeXt and SciTE

2012-06-20 Thread Hans Hagen
On 20-6-2012 21:05, Bill Meahan wrote: On 06/20/2012 14:02, Hans Hagen wrote: On 20-6-2012 18:37, Bill Meahan wrote: 1. Running the command as shown generates a spell-xx.lua file but complains about a spell-xx.lucluac file not being present. luac compiles the lau file into bytecode (luac

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Hans Hagen
On 19-6-2012 06:54, Bill Meahan wrote: I'm trying to get the SciTE lexers that come with the ConTeXt distribution working but I'm not having much luck. SciTE certainly processes the ConTeXt start-up script but never does any highlighting. I always get the warning that lpeg is not loaded but I

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Bill Meahan
On 06/19/2012 04:58, Hans Hagen wrote: On 19-6-2012 06:54, Bill Meahan wrote: (Textadept has no realtime log pane so I cannot use it here without sacrificing too much convenience.) Might be fixable, at least on *nix system. Textadept 5.4 does allow running processes in a subshell. I'll

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Hans Hagen
On 19-6-2012 18:48, Bill Meahan wrote: Finding the properties files is pretty easy (/usr/local/share/scite/), Not sure where to put the lexers directory, though. I changed ScITEGlobal.properties per the instructions. There is no lpeg.properties file, nothing I've found (so far) in the global

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Bill Meahan
On 06/19/2012 13:28, Hans Hagen wrote: you need to fetch it from http://foicica.com/scintillua/ I ended up installing the complete scintillua package and now everything works just fine. Had to modify the scintillua Makefile every place where there was a bare scintilla/something or

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Hans Hagen
On 19-6-2012 22:17, Bill Meahan wrote: On 06/19/2012 13:28, Hans Hagen wrote: you need to fetch it from http://foicica.com/scintillua/ I ended up installing the complete scintillua package and now everything works just fine. Had to modify the scintillua Makefile every place where there was

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Bill Meahan
On 06/19/2012 16:43, Hans Hagen wrote: and you can give spell checking a try (you can use mtxrun --script --scite to convert a list with words into one suitable for the context lexers) Hans There is a little module in Brian's ~/.textadept file on the Textadept wiki that uses aspell to do

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Hans Hagen
On 19-6-2012 23:27, Bill Meahan wrote: On 06/19/2012 16:43, Hans Hagen wrote: and you can give spell checking a try (you can use mtxrun --script --scite to convert a list with words into one suitable for the context lexers) Hans There is a little module in Brian's ~/.textadept file on the

Re: [NTG-context] ConTeXt and SciTE

2012-06-19 Thread Bill Meahan
On 06/19/2012 04:58, Hans Hagen wrote: Interestingly, the lexers work just fine in Textadept but I haven't quite figured out how to get them to load automatically. I have to manually select the lexer but it works fine once I do. Turns out they don't work as well as I thought they did. To

Re: [NTG-context] ConTeXt in SciTe in Windows, non-working commands in Tools menu

2011-08-23 Thread Hans Hagen
On 23-8-2011 10:59, Mari Voipio wrote: While struggling with the prefixed referencing system, I found two commands in the Tools menu that fail miserably. As the commands I normally use (Ctrl+1/Process TeX file, Process and Arrange, Generate Formats (luaTeX) work fine, the problem is fairly