Re: [NTG-context] SciTE configuration Mac

2021-10-10 Thread Hans Hagen via ntg-context

On 10/8/2021 6:39 PM, MANUEL GONZALEZ SUAREZ via ntg-context wrote:

Hi everyone:
Could someone send me a minimal configuration for the SciTE editor of 
the files needed to work with ConTeXt? I work with MaC OS Big Sur.
There are some scite related files in the distribution that you can look 
at (context/data/scite). In principle the built-in lexers (called 
internal there) should work with context (using the keyword lists). The 
external lexers depend on the scintillua dll/so and the latest updats 
drops that (for various reasons) and I now use the OnStyle lua feature 
of scite. However, it still do't work out of the box because they assume 
lpeg to be built in. On my machine I have a version with a few lines 
patch that does that and this is what I'm currently testing with (i can 
put a scite.zip somewhere if needed but that won't help you on osx; if 
lpeg ever makes it into stock scite it should work there too).


You can try to copy the files that ships with context in the scite home 
path and add


import context/scite-context-user

to the global properties files and see what happens

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite and Mac OS

2020-12-05 Thread Bruce Horrocks

> On 5 Dec 2020, at 11:48, MANUEL GONZALEZ SUAREZ  
> wrote:
> 
> Regarding the first question, Scite comes from the App Store. I have 
> downloaded and installed it. When I open Scite, I can open .tex files without 
> problem, but when I try to compile, I get an error. On the other hand, there 
> is no syntax highlighting nor do they appear in the taskbar> options, the 
> preferences to configure ConTeXt.properties, etc.
>  Thank you.

I never thought to look on the App store - but now I have ... I won't be 
buying. ;-)

For that kind of money I suggest you email the author for help. Failing that I 
assume you have tried everything suggested here 
 ?

--
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite and Mac OS

2020-12-05 Thread MANUEL GONZALEZ SUAREZ
Regarding the first question, Scite comes from the App Store. I have downloaded 
and installed it. When I open Scite, I can open .tex files without problem, but 
when I try to compile, I get an error. On the other hand, there is no syntax 
highlighting nor do they appear in the taskbar> options, the preferences to 
configure ConTeXt.properties, etc.
 Thank you.
M. González.

De: ntg-context  en nombre de Bruce Horrocks 

Enviado: viernes, 4 de diciembre de 2020 23:36
Para: ntg-context@ntg.nl 
Asunto: Re: [NTG-context] Scite and Mac OS



> On 4 Dec 2020, at 08:18, MANUEL GONZALEZ SUAREZ  
> wrote:
>
> Hello everyone:
> I don't know if anyone can help me. I have installed the Scite editor on a 
> Mac OS Catalina computer and I cannot configure the editor to work with 
> ConTeXt files. Could someone give me some quick setup instructions? With 
> Windows and Linux I have no problems.
> Thank you.
> M. González.

I don't have it installed and when I Googled I couldn't find what appeared to 
be a definitive pre-built image. So the first question is: where did you get 
your image from?

Secondly, what exactly do you mean by "configure the editor to work with 
ConTeXt files"? Simply open them? Or understand the syntax to allow syntax 
highlighting? Or something else?

To open them you need to pick an extension - I use .tex - then option-click a 
.tex file -> choose 'other' -> find Scite in the list of apps -> tick "Always 
open with" -> click Open and it should then associate Scite with .tex files.

--
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite and Mac OS

2020-12-04 Thread Bruce Horrocks


> On 4 Dec 2020, at 08:18, MANUEL GONZALEZ SUAREZ  
> wrote:
> 
> Hello everyone:
> I don't know if anyone can help me. I have installed the Scite editor on a 
> Mac OS Catalina computer and I cannot configure the editor to work with 
> ConTeXt files. Could someone give me some quick setup instructions? With 
> Windows and Linux I have no problems.
> Thank you.
> M. González.

I don't have it installed and when I Googled I couldn't find what appeared to 
be a definitive pre-built image. So the first question is: where did you get 
your image from?

Secondly, what exactly do you mean by "configure the editor to work with 
ConTeXt files"? Simply open them? Or understand the syntax to allow syntax 
highlighting? Or something else?

To open them you need to pick an extension - I use .tex - then option-click a 
.tex file -> choose 'other' -> find Scite in the list of apps -> tick "Always 
open with" -> click Open and it should then associate Scite with .tex files.

--
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] scite

2018-08-21 Thread cryo shock
Hi again,
this is the reply of Mitchell:

"Hi Lars,

On Tue, 21 Aug 2018, cryo shock wrote:

> Hi Mitch, hi readers,
>
> do you happen to know where one can download a SciTE / Scintilla v3.8.0
> long term stable release? Or is it only available for users who compile it
> themselves?
> This is everything I found:
> https://sourceforge.net/projects/scintilla/files/scintilla/3.8.0/

Scintilla long term 3.x releases are source releases. There are no SciTE
long term 3.x releases.

Note: the latest long term 3 release is 3.10.0.

Cheers,
Mitchell"

I hope that helps. Cheers, Lars.

Am Di., 21. Aug. 2018 um 18:43 Uhr schrieb cryo shock :

> Hi Hans,
>
> I just posted a similar question in the Textadept / Foicica-Code mailing
> list. Maybe Mitchell knows. But since you didn't find it, I think chances
> are rather low...
>
> Cheers, Lars
>
> Am Di., 21. Aug. 2018 um 17:24 Uhr schrieb Hans Hagen :
>
>> Hi,
>>
>> does anyone know where one can download a scite 3.80 (long term stable)
>>
>> https://sourceforge.net/projects/scintilla/files/scintilla/3.8.0/
>>
>> or do we need to start compiling it ourselves
>>
>> Hans
>>
>> -
>>Hans Hagen | PRAGMA ADE
>>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] scite

2018-08-21 Thread cryo shock
Hi Hans,

I just posted a similar question in the Textadept / Foicica-Code mailing
list. Maybe Mitchell knows. But since you didn't find it, I think chances
are rather low...

Cheers, Lars

Am Di., 21. Aug. 2018 um 17:24 Uhr schrieb Hans Hagen :

> Hi,
>
> does anyone know where one can download a scite 3.80 (long term stable)
>
> https://sourceforge.net/projects/scintilla/files/scintilla/3.8.0/
>
> or do we need to start compiling it ourselves
>
> Hans
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite + ConTeXt

2018-08-14 Thread Ken Moffat
On Tue, Aug 14, 2018 at 12:17:06PM +0200, Fabrice Couvreur wrote:
> Hi Ken,
> In which file ?
> Fabrice
> 
As a user, on the command line: xdg-mime is a command to set
preferences.  But I said 'perhaps' because it depends on the rest of
your desktop adhering to freedesktop.org standards.

> 
> Le mar. 14 août 2018 à 02:18, Ken Moffat  a écrit :
> 
> > On Tue, Aug 14, 2018 at 01:54:06AM +0200, Fabrice Couvreur wrote:
> >
> > > How to have evince as the default reader ?
> > >
> > perhaps
> >
> >  xdg-mime default evince.desktop application/pdf
> >
> > ĸen
> > --
> >Entropy not found, thump keyboard to continue
> >
> >
> > ___
> > If your question is of interest to others as well, please add an entry to
> > the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : http://contextgarden.net
> >
> > ___

> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___


-- 
   Entropy not found, thump keyboard to continue

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite + ConTeXt

2018-08-14 Thread Fabrice Couvreur
Hi Ken,
In which file ?
Fabrice


Le mar. 14 août 2018 à 02:18, Ken Moffat  a écrit :

> On Tue, Aug 14, 2018 at 01:54:06AM +0200, Fabrice Couvreur wrote:
>
> > How to have evince as the default reader ?
> >
> perhaps
>
>  xdg-mime default evince.desktop application/pdf
>
> ĸen
> --
>Entropy not found, thump keyboard to continue
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite + ConTeXt

2018-08-14 Thread Hans Hagen

On 8/14/2018 2:06 AM, Alan Braslau wrote:

On Tue, 14 Aug 2018 01:54:06 +0200
Fabrice Couvreur  wrote:


Hello,
As I am having some problems with Emacs, I will try to use Scite !

1. How to insert an environment ?
That is with AUCTEX + Emacs, I was doing C-c C-e but how do with Scite ?

2. To compile, I do Alt + F12 (Run with jit) and it works but how to have
the test.pdf output because F5 (go) gives me  > gv test.pdf then RET but
nothing ...
How to have evince as the default reader ?

3. How to have highlighting of context code with Scite ?


Hans uses a (lua) lpeg library for syntax highlighting with Scite. As far as I 
know, this library has only been successfully compiled under Windows, at least 
our feeble attempts at porting it to other systems did not go very far. Perhaps 
the situation is now better?
yes, we still need to look into that ... ship precompiled scites as 
benchmarks (because they support the syntax highlighting that i use 
here) .. btw, you can see that with


context --extra=listing --scite --compact foo.tex (or foo.lua or ...)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite + ConTeXt

2018-08-13 Thread Ken Moffat
On Tue, Aug 14, 2018 at 01:54:06AM +0200, Fabrice Couvreur wrote:

> How to have evince as the default reader ?
> 
perhaps

 xdg-mime default evince.desktop application/pdf

ĸen
-- 
   Entropy not found, thump keyboard to continue

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite + ConTeXt

2018-08-13 Thread Alan Braslau
On Tue, 14 Aug 2018 01:54:06 +0200
Fabrice Couvreur  wrote:

> Hello,
> As I am having some problems with Emacs, I will try to use Scite !
> 
> 1. How to insert an environment ?
> That is with AUCTEX + Emacs, I was doing C-c C-e but how do with Scite ?
> 
> 2. To compile, I do Alt + F12 (Run with jit) and it works but how to have
> the test.pdf output because F5 (go) gives me  > gv test.pdf then RET but
> nothing ...
> How to have evince as the default reader ?
> 
> 3. How to have highlighting of context code with Scite ?

Hans uses a (lua) lpeg library for syntax highlighting with Scite. As far as I 
know, this library has only been successfully compiled under Windows, at least 
our feeble attempts at porting it to other systems did not go very far. Perhaps 
the situation is now better?

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] SciTE under GNU/Debian Linux - lpeg not loaded

2017-09-23 Thread Hans Hagen

On 9/23/2017 9:19 PM, mf wrote:

Il giorno sab, 23/09/2017 alle 10.47 +0200, Hans Hagen ha scritto:

On 9/22/2017 10:24 PM, mf wrote:

Hello list,
I'm trying to use SciTE under Debian GNU/Linux stable (64 bit) to
edit
my ConTeXt files.

I've installed scite 3.7.2 from the Debian repository.

Downloaded Scintillua and copied its "lexers" folder under
/usr/share/scite. Created a symbolic link from /etc/scite/lexers to
that folder:
/etc/scite/lexers -> /usr/share/scite/lexers

Copied the "context" folder from tex/texmf-
context/context/data/scite
and created a symbolic link to it in /etc/scite:
/etc/scite/context -> /usr/share/scite/context

Appended the following lines to /etc/scite/SciTEGlobal.properties:
import lexers/lpeg
import context/scite-context-user

Now I open Scite and can see the ConTeXt customization.
Shortcuts keys work, but syntax highlighting does not, because the
lpeg
library is not loaded.

There's a message in the side window: "warning: lpeg not loaded".
The message comes from the "scite-ctx.lua" file in the "context"
folder.

I've installed the package lua-lpeg from the Debian repository.

When I run "lua scite-ctx.lua" it manages to load the lpeg library,
because the warning does not appear. It's lua inside SciTE that
can't
load the lpeg library.

Any hints?


that message about lpeg is just there because the main scite binary
has
no lpeg

the lpeg lexing is using a library from scintillua which comes with
textadept (that also uses the scintilla editing component)

it's a bit annoying that this small lpeg lexing extension is not part
of
sciet itself nor that scite has lpeg on board (in which case i could
probably make the lexers use that)

in fact, even the scintillua code was a moving target that i redid
the
lua code to a large extend to suit my needs and another unfortunate
aspect is that there is no real connection with scite's other
propertie

so ... this is what i do (maybe i should ship a zip with all binaries
too):

- install scite on windows
- also install the scintillua lib
- copy context stuff over it
- adapt the global or user properties file

this is described in the manual in the distribution btw.

- on linux i just use wine with the above
- on osx we never manages to get the combination working

so ... when i have time (or motivation) i might look into a way to
enable/load lpeg in scite itself (should be doable i guess)

an alternative is to use textadept ... context comes with files that
can
be used for that (it simply replaces some text adept files and
creates a
context specific instance) .. on my windows:

start textadept -u c:\data\develop\context\textadept\data\context\

(running from the editor is then somewhat more clumsy)

on linux something

textadept -u /texmf-context/context/textadept/data/context/

should work (hans that textapdept didn't change much in the meantime)

Hans



Thank you Hans, I followed the manual but Scite under Linux seems to
ignore the Scintillua library, which should bring in the lpeg library.
I've installed it and added the import directive in the
SciTEGlobal.properties file, but it seems to have no effect.
Instead the customization files from the context distribution work,
because the interface is changed and the shortcut keys work.


i remember that there was something with the name (or maybe some path is 
hard coded in it)



Until now I used Geany or Texworks to edit my files, but I was curious
to try the editor you use, benefiting also from the customization you
made.


the advatage is that it is consistent in the tex, xml, lua, etc lexing 
and in tex mode also supports mixed mode lexing



I tried to run SciTE with wine, but it's 32 bit and my Debian is 64
bit; it's possible to install it anyway, adding the i386 architecture,
but it gives some problems with package dependencies.

Sure I will not urge you to enable lpeg inside Scite, I was simply
exploring new tools to edit my files.

I've downloaded textadept, put its dir in the PATH and started
/tex/texmf-context/context/data/textadept/context/textadept-
context.sh: it works!

Thanks again,
Massi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

Re: [NTG-context] SciTE under GNU/Debian Linux - lpeg not loaded

2017-09-23 Thread mf
Il giorno sab, 23/09/2017 alle 10.47 +0200, Hans Hagen ha scritto:
> On 9/22/2017 10:24 PM, mf wrote:
> > Hello list,
> > I'm trying to use SciTE under Debian GNU/Linux stable (64 bit) to
> > edit
> > my ConTeXt files.
> > 
> > I've installed scite 3.7.2 from the Debian repository.
> > 
> > Downloaded Scintillua and copied its "lexers" folder under
> > /usr/share/scite. Created a symbolic link from /etc/scite/lexers to
> > that folder:
> > /etc/scite/lexers -> /usr/share/scite/lexers
> > 
> > Copied the "context" folder from tex/texmf-
> > context/context/data/scite
> > and created a symbolic link to it in /etc/scite:
> > /etc/scite/context -> /usr/share/scite/context
> > 
> > Appended the following lines to /etc/scite/SciTEGlobal.properties:
> > import lexers/lpeg
> > import context/scite-context-user
> > 
> > Now I open Scite and can see the ConTeXt customization.
> > Shortcuts keys work, but syntax highlighting does not, because the
> > lpeg
> > library is not loaded.
> > 
> > There's a message in the side window: "warning: lpeg not loaded".
> > The message comes from the "scite-ctx.lua" file in the "context"
> > folder.
> > 
> > I've installed the package lua-lpeg from the Debian repository.
> > 
> > When I run "lua scite-ctx.lua" it manages to load the lpeg library,
> > because the warning does not appear. It's lua inside SciTE that
> > can't
> > load the lpeg library.
> > 
> > Any hints?
> 
> that message about lpeg is just there because the main scite binary
> has 
> no lpeg
> 
> the lpeg lexing is using a library from scintillua which comes with 
> textadept (that also uses the scintilla editing component)
> 
> it's a bit annoying that this small lpeg lexing extension is not part
> of 
> sciet itself nor that scite has lpeg on board (in which case i could 
> probably make the lexers use that)
> 
> in fact, even the scintillua code was a moving target that i redid
> the 
> lua code to a large extend to suit my needs and another unfortunate 
> aspect is that there is no real connection with scite's other
> propertie
> 
> so ... this is what i do (maybe i should ship a zip with all binaries
> too):
> 
> - install scite on windows
> - also install the scintillua lib
> - copy context stuff over it
> - adapt the global or user properties file
> 
> this is described in the manual in the distribution btw.
> 
> - on linux i just use wine with the above
> - on osx we never manages to get the combination working
> 
> so ... when i have time (or motivation) i might look into a way to 
> enable/load lpeg in scite itself (should be doable i guess)
> 
> an alternative is to use textadept ... context comes with files that
> can 
> be used for that (it simply replaces some text adept files and
> creates a 
> context specific instance) .. on my windows:
> 
> start textadept -u c:\data\develop\context\textadept\data\context\
> 
> (running from the editor is then somewhat more clumsy)
> 
> on linux something
> 
> textadept -u /texmf-context/context/textadept/data/context/
> 
> should work (hans that textapdept didn't change much in the meantime)
> 
> Hans
> 

Thank you Hans, I followed the manual but Scite under Linux seems to
ignore the Scintillua library, which should bring in the lpeg library.
I've installed it and added the import directive in the
SciTEGlobal.properties file, but it seems to have no effect.
Instead the customization files from the context distribution work,
because the interface is changed and the shortcut keys work.

Until now I used Geany or Texworks to edit my files, but I was curious
to try the editor you use, benefiting also from the customization you
made.
I tried to run SciTE with wine, but it's 32 bit and my Debian is 64
bit; it's possible to install it anyway, adding the i386 architecture,
but it gives some problems with package dependencies.

Sure I will not urge you to enable lpeg inside Scite, I was simply
exploring new tools to edit my files.

I've downloaded textadept, put its dir in the PATH and started
/tex/texmf-context/context/data/textadept/context/textadept-
context.sh: it works!

Thanks again,
Massi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] SciTE under GNU/Debian Linux - lpeg not loaded

2017-09-23 Thread Hans Hagen

On 9/22/2017 10:24 PM, mf wrote:

Hello list,
I'm trying to use SciTE under Debian GNU/Linux stable (64 bit) to edit
my ConTeXt files.

I've installed scite 3.7.2 from the Debian repository.

Downloaded Scintillua and copied its "lexers" folder under
/usr/share/scite. Created a symbolic link from /etc/scite/lexers to
that folder:
/etc/scite/lexers -> /usr/share/scite/lexers

Copied the "context" folder from tex/texmf-context/context/data/scite
and created a symbolic link to it in /etc/scite:
/etc/scite/context -> /usr/share/scite/context

Appended the following lines to /etc/scite/SciTEGlobal.properties:
import lexers/lpeg
import context/scite-context-user

Now I open Scite and can see the ConTeXt customization.
Shortcuts keys work, but syntax highlighting does not, because the lpeg
library is not loaded.

There's a message in the side window: "warning: lpeg not loaded".
The message comes from the "scite-ctx.lua" file in the "context"
folder.

I've installed the package lua-lpeg from the Debian repository.

When I run "lua scite-ctx.lua" it manages to load the lpeg library,
because the warning does not appear. It's lua inside SciTE that can't
load the lpeg library.

Any hints?
that message about lpeg is just there because the main scite binary has 
no lpeg


the lpeg lexing is using a library from scintillua which comes with 
textadept (that also uses the scintilla editing component)


it's a bit annoying that this small lpeg lexing extension is not part of 
sciet itself nor that scite has lpeg on board (in which case i could 
probably make the lexers use that)


in fact, even the scintillua code was a moving target that i redid the 
lua code to a large extend to suit my needs and another unfortunate 
aspect is that there is no real connection with scite's other propertie


so ... this is what i do (maybe i should ship a zip with all binaries too):

- install scite on windows
- also install the scintillua lib
- copy context stuff over it
- adapt the global or user properties file

this is described in the manual in the distribution btw.

- on linux i just use wine with the above
- on osx we never manages to get the combination working

so ... when i have time (or motivation) i might look into a way to 
enable/load lpeg in scite itself (should be doable i guess)


an alternative is to use textadept ... context comes with files that can 
be used for that (it simply replaces some text adept files and creates a 
context specific instance) .. on my windows:


start textadept -u c:\data\develop\context\textadept\data\context\

(running from the editor is then somewhat more clumsy)

on linux something

textadept -u /texmf-context/context/textadept/data/context/

should work (hans that textapdept didn't change much in the meantime)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite module and escape does not work anymore

2017-08-30 Thread Christoph Reller
On Tue, 29 Aug 2017 13:29:59 +0200 Hans Hagen    wrote:

> On 8/29/2017 9:31 AM, Christoph Reller wrote:
> > Hi,
> >
> > I noticed that the scite module (m-scite.mkiv) has undergone some
> > changes recently. When using this module to highlight source code, then
> > the escape mechanism does not seem to work anymore.
> >
> > Can this be fixed? Thank you in advance for your effort.
> i'll intercept it (there are no escapes in scite mode)
>
Oh, I see. Thank you, Hans.
Christoph
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Scite module and escape does not work anymore

2017-08-29 Thread Hans Hagen

On 8/29/2017 9:31 AM, Christoph Reller wrote:

Hi,

I noticed that the scite module (m-scite.mkiv) has undergone some 
changes recently. When using this module to highlight source code, then 
the escape mechanism does not seem to work anymore.


MWE:
\enabletrackers[buffers.visualize]
\usemodule[scite]
\setuptyping[TEX][escape={[[,]]}]
\starttext
\startTEX
\test[[\em test]]
\stopTEX
\stoptext

The reported error is:
[ctxlua]:221: attempt to index local 'specification' (a nil value)
stack traceback:
[ctxlua]:221: in function <[ctxlua]:220>
[C]: in function 'lpegmatch'
...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:283: in 
function 'n'
...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:511: in 
function 'visualize'
...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:760: in 
function <...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:752>

(...tail calls...)

Can this be fixed? Thank you in advance for your effort.

i'll intercept it (there are no escapes in scite mode)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] SciTE configuration to use mkiv instead of mkii

2012-01-03 Thread Hans Hagen

On 3-1-2012 04:52, Peter Park Nelson wrote:

Hello, I installed and configured SciTE today to try it out. I am
using the standalone distribution. When I try to process a context
document with F7, SciTE calls texexec and uses mkii instead of mkiv (I
always use mkiv/luatex). How do I configure SciTE to use mkiv?


there are scite configuration files in the context distribution (and 
there's also a page on the garden and a manual on the pragma website


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE configuration to use mkiv instead of mkii

2012-01-03 Thread Mari Voipio
On Tue, Jan 3, 2012 at 05:52, Peter Park Nelson
peter.park.nel...@gmail.com wrote:
 Hello, I installed and configured SciTE today to try it out.

How did you do the configuration part? I.e. did you follow the (AFAIK)
up-to-date instructions at
http://wiki.contextgarden.net/Windows_Installation:_ConTeXt_Suite_with_SciTe
or some other version?

At least when I do a clean install in Win according to those
instructions, my system automatically uses MkIV, I have to force it to
use MKII if I really need that. I do have a few files still that try
to use MKII, but that's because I have

% engine=pdftex

on the very first line of the file. Once I delete that, LuaTeX steps in.


Note. If you had an old SciTe installation, your user directory may
have stuff that confuses SciTe, now you should only have configuration
files in the SciTe program file.

BTW, Hans advised me to use Ctrl+F12 to compile in my Win7+Ctx+SciTe
combo, so I've been using that since this summer - don't know how much
difference it makes, but you can always try it, too...



Hope this helps,

Mari
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE configuration to use mkiv instead of mkii

2012-01-03 Thread John Kitzmiller
It looks like you need to point Scite to
/home/peter/context1220/texmf-mswin/bin (assuming you are using
windows) in your PATH.



On Mon, Jan 2, 2012 at 10:52 PM, Peter Park Nelson
peter.park.nel...@gmail.com wrote:

 Hello, I installed and configured SciTE today to try it out. I am
 using the standalone distribution. When I try to process a context
 document with F7, SciTE calls texexec and uses mkii instead of mkiv (I
 always use mkiv/luatex). How do I configure SciTE to use mkiv?

 Here's the beginning of the output:

 texexec --pdf H1.tex
 /home/peter/context1220/tex/texmf-context/scripts/context/ruby/base/system.rb:16:
 warning: Insecure world writable dir /usr/local/texlive in PATH, mode
 040777
 TeXExec | processing document 'H1.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file H1.top
 TeXExec | using randomseed 202
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en.mkii
 warning: Could not open char translation file `natural.tcx'.
 This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
  \write18 enabled.
 entering extended mode
 (./H1.tex

 ConTeXt  ver: 2011.12.31 15:44 MKII  fmt: 2011.12.31  int: english/english

 system          : cont-new.mkii loaded
 (/home/peter/context1220/tex/texmf-context/tex/context/base/cont-new.mkii

 [...more output...]
 --
 Peter Park Nelson
 peter.park.nel...@gmail.com
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] SciTE configuration to use mkiv instead of mkii

2012-01-03 Thread Peter Park Nelson
Thanks for your responses. I should have specified that I am using
Linux (Ubuntu). I don't have any previous SciTE configuration files in
my home directory.

I used the instructions from contextgarden and
scite-context-readme.pdf, including creating a launch script that sets
the PATH to include my context standalone binary. What I don't
understand now is that SciTE finds the correct standalone binary but
uses texexec to run mkii instead of mkiv as is supposed to be the
defuault:

ConTeXt  ver: 2011.12.31 15:44 MKII

and calls an old pdftex from a separate TexLive installation:

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)

Any suggestions?
Thanks.

texexec --pdf H1.tex
/home/peter/context1220/tex/texmf-context/scripts/context/ruby/base/system.rb:16:
warning: Insecure world writable dir /usr/local/texlive in PATH, mode
040777
TeXExec | processing document 'H1.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file H1.top
TeXExec | using randomseed 1125
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en.mkii
warning: Could not open char translation file `natural.tcx'.
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 \write18 enabled.
entering extended mode
(./H1.tex

ConTeXt  ver: 2011.12.31 15:44 MKII  fmt: 2011.12.31  int: english/english

system  : cont-new.mkii loaded
(/home/peter/context1220/tex/texmf-context/tex/context/base/cont-new.mkii
systems : beware: some patches loaded from cont-new.mkii
)
system  : cont-sys.rme loaded
(/home/peter/context1220/tex/texmf-context/tex/context/user/cont-sys.rme
(/home/peter/context1220/tex/texmf-context/tex/context/base/type-siz.mkii)
(/home/peter/context1220/tex/texmf-context/tex/context/base/type-one.mkii))
system  : H1.top loaded
(./H1.top)

On Tue, Jan 3, 2012 at 9:58 AM, John Kitzmiller jki...@gmail.com wrote:
 It looks like you need to point Scite to
 /home/peter/context1220/texmf-mswin/bin (assuming you are using
 windows) in your PATH.



 On Mon, Jan 2, 2012 at 10:52 PM, Peter Park Nelson
 peter.park.nel...@gmail.com wrote:

 Hello, I installed and configured SciTE today to try it out. I am
 using the standalone distribution. When I try to process a context
 document with F7, SciTE calls texexec and uses mkii instead of mkiv (I
 always use mkiv/luatex). How do I configure SciTE to use mkiv?

 Here's the beginning of the output:

 texexec --pdf H1.tex
 /home/peter/context1220/tex/texmf-context/scripts/context/ruby/base/system.rb:16:
 warning: Insecure world writable dir /usr/local/texlive in PATH, mode
 040777
 TeXExec | processing document 'H1.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file H1.top
 TeXExec | using randomseed 202
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en.mkii
 warning: Could not open char translation file `natural.tcx'.
 This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
  \write18 enabled.
 entering extended mode
 (./H1.tex

 ConTeXt  ver: 2011.12.31 15:44 MKII  fmt: 2011.12.31  int: english/english

 system          : cont-new.mkii loaded
 (/home/peter/context1220/tex/texmf-context/tex/context/base/cont-new.mkii

 [...more output...]
 --
 Peter Park Nelson
 peter.park.nel...@gmail.com
 ___
 If your question is of interest to others as well, please add an entry to 
 the Wiki!

 maillist : ntg-context@ntg.nl / 
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___



-- 
Peter Park Nelson
peter.park.nel...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE configuration to use mkiv instead of mkii

2012-01-03 Thread Peter Park Nelson
OK, I just realized that the pdftex Tex Live 2010 actually is the
pdftex in the current context beta...

peter@computer:~$ which pdftex
/home/peter/context1220/tex/texmf-linux/bin/pdftex

peter@computer:~$ pdftex -v
pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010)
kpathsea version 6.0.0
Copyright 2010 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.40; using libpng 1.2.40
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.02pl4

so the problem is really just mkii vs. mkiv.


On Tue, Jan 3, 2012 at 2:07 PM, Peter Park Nelson
peter.park.nel...@gmail.com wrote:
 Thanks for your responses. I should have specified that I am using
 Linux (Ubuntu). I don't have any previous SciTE configuration files in
 my home directory.

 I used the instructions from contextgarden and
 scite-context-readme.pdf, including creating a launch script that sets
 the PATH to include my context standalone binary. What I don't
 understand now is that SciTE finds the correct standalone binary but
 uses texexec to run mkii instead of mkiv as is supposed to be the
 defuault:

 ConTeXt  ver: 2011.12.31 15:44 MKII

 and calls an old pdftex from a separate TexLive installation:

 This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)

 Any suggestions?
 Thanks.

texexec --pdf H1.tex
 /home/peter/context1220/tex/texmf-context/scripts/context/ruby/base/system.rb:16:
 warning: Insecure world writable dir /usr/local/texlive in PATH, mode
 040777
 TeXExec | processing document 'H1.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file H1.top
 TeXExec | using randomseed 1125
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en.mkii
 warning: Could not open char translation file `natural.tcx'.
 This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
  \write18 enabled.
 entering extended mode
 (./H1.tex

 ConTeXt  ver: 2011.12.31 15:44 MKII  fmt: 2011.12.31  int: english/english

 system          : cont-new.mkii loaded
 (/home/peter/context1220/tex/texmf-context/tex/context/base/cont-new.mkii
 systems         : beware: some patches loaded from cont-new.mkii
 )
 system          : cont-sys.rme loaded
 (/home/peter/context1220/tex/texmf-context/tex/context/user/cont-sys.rme
 (/home/peter/context1220/tex/texmf-context/tex/context/base/type-siz.mkii)
 (/home/peter/context1220/tex/texmf-context/tex/context/base/type-one.mkii))
 system          : H1.top loaded
 (./H1.top)

 On Tue, Jan 3, 2012 at 9:58 AM, John Kitzmiller jki...@gmail.com wrote:
 It looks like you need to point Scite to
 /home/peter/context1220/texmf-mswin/bin (assuming you are using
 windows) in your PATH.



 On Mon, Jan 2, 2012 at 10:52 PM, Peter Park Nelson
 peter.park.nel...@gmail.com wrote:

 Hello, I installed and configured SciTE today to try it out. I am
 using the standalone distribution. When I try to process a context
 document with F7, SciTE calls texexec and uses mkii instead of mkiv (I
 always use mkiv/luatex). How do I configure SciTE to use mkiv?

 Here's the beginning of the output:

 texexec --pdf H1.tex
 /home/peter/context1220/tex/texmf-context/scripts/context/ruby/base/system.rb:16:
 warning: Insecure world writable dir /usr/local/texlive in PATH, mode
 040777
 TeXExec | processing document 'H1.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file H1.top
 TeXExec | using randomseed 202
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en.mkii
 warning: Could not open char translation file `natural.tcx'.
 This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
  \write18 enabled.
 entering extended mode
 (./H1.tex

 ConTeXt  ver: 2011.12.31 15:44 MKII  fmt: 2011.12.31  int: english/english

 system          : cont-new.mkii loaded
 (/home/peter/context1220/tex/texmf-context/tex/context/base/cont-new.mkii

 [...more output...]
 --
 Peter Park Nelson
 peter.park.nel...@gmail.com
 ___
 If your question is of interest to others as well, please add an entry to 
 the Wiki!

 maillist : ntg-context@ntg.nl / 
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___
 ___
 If your question is of interest to others as well, please add an entry to 
 the Wiki!

 maillist : 

Re: [NTG-context] Scite-syntax-highlighting (solved)

2011-11-01 Thread Jan Heinen

Hello,

problem solved!

1. I made a new installation of Scite
2. put the lexer from scintillua into the 
scite-rootdirectory (including the directoryname /lexer/)

3. and then the lexer from my context-installation

And now highlighting works :-)

Regards
Jannis

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE ConTeXt

2010-11-24 Thread Marco Pessotto
S Barmeier severinbarme...@googlemail.com writes:

 Hello,

 I tried to follow the PRAGMA document for setting up SciTE to run with
 ConTeXt. The Tools menu seems to recognize that I am trying to process
 a ConTeXt file and the syntax highlighting seems to fit as well.
 However, when trying to Compile or Build, SciTE tells me

mtxrun --autogenerate --script context --autopdf --pdf myfile.tex
 sh: mtxrun: not found
Exit code: 127

 When running mtxrun from the terminal or from the shell (by entering sh
 in the terminal) it works fine. My $PATH variable is set to find mtxrun
 (and context). How come SciTE can't find it?


Where the PATH is set? in .bashrc or .bash_profile? How do you start the
window manager? (startx or via a login manager?)

Try to start the editor from the shell (so it should pick up the
environment).

-- 
Marco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-11-12 Thread Wolfgang Hugemann

well, editor support is just a bonus

i still have to upgrade the scite related files to the new minimals

(we did some tests at the context conference with this; one problem is 
that one needs to adapt user specific files (in user space) on top of 
globally used setup files)


Hans


I finally decided to allow for global environment variables during the 
installation (possibly interfering with my MikTeX installation; I 
haven't checked yet) and than it functioned just as easy a proclaimed.


I seems to me that waiving global environment variables is something 
almost impossible for a beginner. I ran into a lot of errors obiously 
originating from unknown paths.


I think the Windows installation should warn somewhat more drastical on 
skipping global environment variables...


Thanks from Münster
Wolfgang Hugemann
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-11-12 Thread Mari Voipio

Wolfgang Hugemann wrote:
I seems to me that waiving global environment variables is something 
almost impossible for a beginner. I ran into a lot of errors obiously 
originating from unknown paths.


I literally just found out that even though I had allowed the installer 
to set global environment variables and added the necessary user 
specific settings (copied the few .properties files to user profile), I 
couldn't get my ConTeXt to work under a different user name on a Vista 
Business computer that already has a working ConTeXt+SciTe combo.


The funniest thing is that the second username/login is the more 
powerful one, so this wasn't about missing admin rights or anything like 
that.


When I reran the installer (I used Vyatscheslav's Windows installer) and 
thus got updated minimals, ConTeXt started working also with a new 
username. ...I don't know if it broke the original one and I won't care 
for now - the important thing is that now somebody else can use ConTeXt 
on that computer while I'm not at it.



So even global doesn't seem to be *so* global. Some more 
investigations are needed at some point, I suspect.



Mari
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-10-26 Thread Wolfgang Hugemann

Look at the label ':help' in 'cscite.bat'.


I had done this already. All that is says is
echo usage: cscite root, e.g. cscite d:\copyofcdrom
leaving you with the question which root of what is meant.

I tested the root directory of context C:\Programme\contextminimal and 
the root directory of scite, i.e. C:\Programme\wscite, neither of them 
worked.


It seems like I need another hint.

Woilfgang Hugemann


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-10-25 Thread Wolfgang Hugemann
you should not have any global Context environment variables, because 
you call cscite.bat (setuptex.bat is called then before scite is 
started).
The problems I see are miktex executables which are in the PATH and 
can interfere with their context equivalents.

How exactly are you starting scite?


Well, I just ran scite.exe. OK, I downloaded cscite.bat now. Is there 
somewhere any explanation with what parameters to call this batch? I 
could not find such a documentation and the batch is by far not 
self-explaning. (This is a really frustrating start with ConTeXt; I hope 
it doesn't stay like this.)


Greetings from Muenster
Wolfgang Hugeamnn
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-10-25 Thread Hans Hagen

Wolfgang Hugemann wrote:
you should not have any global Context environment variables, because 
you call cscite.bat (setuptex.bat is called then before scite is 
started).
The problems I see are miktex executables which are in the PATH and 
can interfere with their context equivalents.

How exactly are you starting scite?


Well, I just ran scite.exe. OK, I downloaded cscite.bat now. Is there 
somewhere any explanation with what parameters to call this batch? I 
could not find such a documentation and the batch is by far not 
self-explaning. (This is a really frustrating start with ConTeXt; I hope 
it doesn't stay like this.)


well, editor support is just a bonus

i still have to upgrade the scite related files to the new minimals

(we did some tests at the context conference with this; one problem is 
that one needs to adapt user specific files (in user space) on top of 
globally used setup files)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-10-25 Thread Wolfgang Werners-Lucchini
 Date: Fri, 23 Oct 2009 19:24:37 +0200
 From: Wolfgang Hugemann a...@hugemann.de
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] Scite + non-global environbment
 variables
 Message-ID: 4ae1e6d5.4010...@hugemann.de
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
  you should not have any global Context environment variables,
  because you call cscite.bat (setuptex.bat is called then beforescite 
  is started).
  The problems I see are miktex executables which are in the PATH
  and can interfere with their context equivalents.
  How exactly are you starting scite?
 
 Well, I just ran scite.exe. OK, I downloaded cscite.bat now. Is
 there 
 somewhere any explanation with what parameters to call this batch? 
 I could not find such a documentation and the batch is by far not 
 self-explaning. (This is a really frustrating start with ConTeXt; I
 hope it doesn't stay like this.)

Look at the label ':help' in 'cscite.bat'.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite + non-global environbment variables

2009-10-07 Thread Wolfgang Werners-Lucchini
Hallo Wolfgang,

 I have just started with Context, having been working with LaTeX
 (i.e. MikTeX / TeXnicCenter under WIndows) for quite a while.
 
 I installed Contextminimal and Scite just as proposed as the easiest
 way to get started. As setting global environments variables would
 interfere with MikTeX, I switched off this option during the
 installation process (in the GUI Windows installation program).
 
 But now I cannot easily start the compilation by pressing Crtl+1 in
 Scite, bcause this just calls the compiler and the environment
 variables are of course not set for this process. So which file do I
 have to change to make Scite call the batch file which sets the
 environments variables before it calls the compiler?
 
 What global Context environment variables would possibly interfere
 with MikTeX?
 
 Greatings from M?nster
 Wolfgang Hugemann

you should not have any global Context environment variables, because 
you call cscite.bat (setuptex.bat is called then before scite is 
started).
The problems I see are miktex executables which are in the PATH and 
can interfere with their context aequivalents.
How exactly are you starting scite?

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite automatic compling

2008-11-11 Thread Mari Voipio


On Wed, 5 Nov 2008, mattia schirosa wrote:
 editor how was advised in context wiki. I can't found a command or a 
 tool to compile the tex file by Scite, is there any possibility or i 
 have to pass by prompt control everytimes?

I normally use Ctrl+1 in my SciTe; I've used it so long I've forgotten the 
original command but it seems to be same as Tools | Process tex file, 
which is probably exactly the correct command to be used, when working 
with ConTeXt. If you use generic Scite and not WinConTeXt you may have to 
put a setting somewhere for TeX=ConTeXt to get this to work - this 
assuming that you never want to use other TeX on your SciTe.

The other command I use once in a while especially if stuff has been 
updated is Ctrl+F7 that stands for Tools | Compile. I'm sure there's a 
difference between these two commands, but I haven't noticed it in the 
context (pun unintended) I use ConTeXt in pure Windows environment as my 
only TeX.


Note that if you do an imposition (when \setuparranging is in use), plain 
Process (Ctrl+1) will skip among others table of contents and references. 
In those cases you have to command Tools | Process and Arrange to get it 
right in SciTe. There's no default shortcut keys for this one, so it's two 
mouseclicks away - but still faster than typing --pdfarrange etc. etc. in 
the prompt (if you ask me - I'm a Windows/mousey type of person anyway).


Hope this helps,

Mari
(who knows just enough of SciTe to compile her files on it...)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite automatic compling

2008-11-05 Thread Diego Depaoli
2008/11/5 mattia schirosa [EMAIL PROTECTED]:
 Hi,
 i start use context to write my master thesis, i chose Scite tex editor how
 was advised in context wiki. I can't found a command or a tool to compile
 the tex file by Scite, is there any possibility or i have to pass by prompt
 control everytimes? When i try different layout solution is a bit annoying.
Look at
http://www.pragma-ade.com/general/manuals/mscite-s.pdf

Auguri per la tesi


-- 
Diego Depaoli
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite automatic compling

2008-11-05 Thread luigi scarso
On Wed, Nov 5, 2008 at 10:57 AM, Diego Depaoli [EMAIL PROTECTED] wrote:

 2008/11/5 mattia schirosa [EMAIL PROTECTED]:
  Hi,
  i start use context to write my master thesis, i chose Scite tex editor
 how
  was advised in context wiki. I can't found a command or a tool to compile
  the tex file by Scite, is there any possibility or i have to pass by
 prompt
  control everytimes? When i try different layout solution is a bit
 annoying.
 Look at
 http://www.pragma-ade.com/general/manuals/mscite-s.pdf

 Auguri per la tesi

naah,
qui si dice
in bocca al lupo


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE in ConTeXt setup

2008-08-23 Thread Alan Stone
Hi Idris,

I open a terminal window and type

scite

as follows (incl. terminal window output messages):

Setting /opt/context/tex as TEXROOT.
[EMAIL PROTECTED]:/opt/context/tex$ scite

then SciTE launches but not in the way I expected.

did you use the cscite script to launch scite or the setuptex script?

Uh ? What are these scripts ?

Best,
Alan

On Sat, Aug 23, 2008 at 3:53 AM, Idris Samawi Hamid
[EMAIL PROTECTED]wrote:

 Hi Alan,

 On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  Launching
 
  texexec --check
 
  from the SciTE output window gives
 
  sh: texexec: not found
  Exit code: 127
 
  ruby, tidy, xsltproc, gv and rxvt are installed
 
  texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby
 
  What's missing ?

 Not presently on linux etc. but did you use the cscite script to launch
 scite or the setuptex script?

 Best wishes
 Idris

 --
 Professor Idris Samawi Hamid, Editor-in-Chief
 International Journal of Shi`i Studies
 Department of Philosophy
 Colorado State University
 Fort Collins, CO 80523

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE in ConTeXt setup

2008-08-23 Thread Alan Stone
Found it.

TeX was not selected in the language menu.
( SciTE doesn't check mark the selected language so I didn't spot it at
first )

However now, when compiling I get ...   :O)

texmfstart texexec --lua mini01.tex
TeXExec | processing document 'mini01.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file mini01.top
TeXExec | using randomseed 1346
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en.fmt
LuaTools | no luc/lua with name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en
LuaTools |
LuaTools | runtime: 0.014 seconds

TeXUtil | unable to locate mini01.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file mini01.top
TeXExec | using randomseed 1346
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en.fmt
LuaTools | no luc/lua with name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en
LuaTools |
LuaTools | runtime: 0.014 seconds

TeXUtil | unable to locate mini01.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.141179
Exit code: 0

SciTE doesn't locate its own generated files.

Fascinating !

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE in ConTeXt setup

2008-08-22 Thread trebestie
2008/8/22, Alan Stone [EMAIL PROTECTED]:
 I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running from
 within Windows XP + VirtualBox to a stand-alone Ubuntu installation.
 from the SciTE output window gives
 sh: texexec: not found
Exit code: 127
 ruby, tidy, xsltproc, gv and rxvt are installed
 texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby
 What's missing ?
Try launching Scite from a console.

Regards

-- 
Diego Depaoli
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE in ConTeXt setup

2008-08-22 Thread Idris Samawi Hamid
Hi Alan,

On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 Launching

 texexec --check

 from the SciTE output window gives

 sh: texexec: not found
 Exit code: 127

 ruby, tidy, xsltproc, gv and rxvt are installed

 texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby

 What's missing ?

Not presently on linux etc. but did you use the cscite script to launch  
scite or the setuptex script?

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE/Linux: how to change font ?

2008-06-19 Thread Hans Hagen
Alan Stone wrote:
 Hi,
 
 Is it possible to use the available True/OpenType fonts ? If so, how ?

on the wiki search for xetex and luatex


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE/Linux: how to change font ?

2008-06-19 Thread Alan Stone
Thanks Hans. I meant changing the font of the SciTE editor. Meanwhile I
found how.

Best,
Alan

On Thu, Jun 19, 2008 at 7:53 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Hi,
 
  Is it possible to use the available True/OpenType fonts ? If so, how ?

 on the wiki search for xetex and luatex


 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
 -

 ___
 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite startup script error

2008-04-09 Thread Mojca Miklavec
On Tue, Apr 8, 2008 at 2:26 PM, Abhishek Seth wrote:
 Hi,
  It seems I have missing scite-ctx.lua. It is not present in the
  cont-tmf.zip which I had downloaded. I created an empty scite-ctx.lua to
  suppress the error message. Is this file meant to be created manually or
  a part of distribution (cont-tmf.zip)?

That's a question for Hans. The minimals on the garden revealed that
the file apparently disappeared form ConTeXt

find . | grep scite-ctx.lua
./2007.09.28/scripts/context/lua/scite-ctx.lua
./2007.09.14/scripts/context/lua/scite-ctx.lua
# these were all the hits
2007.12.05 doesn't include the file any more.

This link confirms it, but with no explanation:
http://wiki.contextgarden.net/Context_2007.12.05#Removed_files

Mojca


   Abhishek Seth wrote:
Hi,
   
After reinstalling the Scite 1.76 and putting the support files in
place, I am getting the following error:
   
attempt to call a string value
Lua: error occured while loading startup script
   
I don't know what it is. Can someone please help?
  
   probably related to scite using lua 5 now; did you update to the
   scite-ctx from the context distribution?
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite startup script error

2008-04-09 Thread Abhishek Seth
On Wed, 2008-04-09 at 15:34 +0200, Mojca Miklavec wrote:
 On Tue, Apr 8, 2008 at 2:26 PM, Abhishek Seth wrote:
  Hi,
   It seems I have missing scite-ctx.lua. It is not present in the
   cont-tmf.zip which I had downloaded. I created an empty scite-ctx.lua to
   suppress the error message. Is this file meant to be created manually or
   a part of distribution (cont-tmf.zip)?
 
 That's a question for Hans. The minimals on the garden revealed that
 the file apparently disappeared form ConTeXt
 

Apparently cont-sci.zip (last modified 2008/03/24) available at
http://www.pragma-ade.com/dir?path=context/scite has this file. Is
scite-ctx.lua not supposed to be part of cont-tmp.zip any longer?

 find . | grep scite-ctx.lua
 ./2007.09.28/scripts/context/lua/scite-ctx.lua
 ./2007.09.14/scripts/context/lua/scite-ctx.lua
 # these were all the hits
 2007.12.05 doesn't include the file any more.
 
 This link confirms it, but with no explanation:
 http://wiki.contextgarden.net/Context_2007.12.05#Removed_files
 
 Mojca
 
 
Abhishek Seth wrote:
 Hi,

 After reinstalling the Scite 1.76 and putting the support files in
 place, I am getting the following error:

 attempt to call a string value
 Lua: error occured while loading startup script

 I don't know what it is. Can someone please help?
   
probably related to scite using lua 5 now; did you update to the
scite-ctx from the context distribution?

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite startup script error

2008-04-09 Thread Abhishek Seth
On Wed, 2008-04-09 at 15:34 +0200, Mojca Miklavec wrote:
 On Tue, Apr 8, 2008 at 2:26 PM, Abhishek Seth wrote:
  Hi,
   It seems I have missing scite-ctx.lua. It is not present in the
   cont-tmf.zip which I had downloaded. I created an empty scite-ctx.lua to
   suppress the error message. Is this file meant to be created manually or
   a part of distribution (cont-tmf.zip)?
 
 That's a question for Hans. The minimals on the garden revealed that
 the file apparently disappeared form ConTeXt
 

Apparently cont-sci.zip (last modified 2008/03/24) available at
http://www.pragma-ade.com/dir?path=context/scite has this file. Is
scite-ctx.lua not supposed to be part of cont-tmp.zip any longer?

 find . | grep scite-ctx.lua
 ./2007.09.28/scripts/context/lua/scite-ctx.lua
 ./2007.09.14/scripts/context/lua/scite-ctx.lua
 # these were all the hits
 2007.12.05 doesn't include the file any more.
 
 This link confirms it, but with no explanation:
 http://wiki.contextgarden.net/Context_2007.12.05#Removed_files
 
 Mojca
 
 
Abhishek Seth wrote:
 Hi,

 After reinstalling the Scite 1.76 and putting the support files in
 place, I am getting the following error:

 attempt to call a string value
 Lua: error occured while loading startup script

 I don't know what it is. Can someone please help?
   
probably related to scite using lua 5 now; did you update to the
scite-ctx from the context distribution?

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite startup script error

2008-04-09 Thread Hans Hagen
Abhishek Seth wrote:
 On Wed, 2008-04-09 at 15:34 +0200, Mojca Miklavec wrote:
 On Tue, Apr 8, 2008 at 2:26 PM, Abhishek Seth wrote:
 Hi,
  It seems I have missing scite-ctx.lua. It is not present in the
  cont-tmf.zip which I had downloaded. I created an empty scite-ctx.lua to
  suppress the error message. Is this file meant to be created manually or
  a part of distribution (cont-tmf.zip)?
 That's a question for Hans. The minimals on the garden revealed that
 the file apparently disappeared form ConTeXt

 
 Apparently cont-sci.zip (last modified 2008/03/24) available at
 http://www.pragma-ade.com/dir?path=context/scite has this file. Is
 scite-ctx.lua not supposed to be part of cont-tmp.zip any longer?

was it ever part of t he main zip then? i don't remember changing this

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] scite properties enable utf8 and customizing

2008-04-07 Thread Jan-Erik Hägglöf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans Hagen skrev:
 Jan-Erik Hägglöf wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 HI!

 I am trying to make Scite work in a context way by copying
 context.properties and friends, and it does work .

 The problem seems to be that make scite automatic be in utf8 mode. I
 have copying following parameters in the file .SciTEUser.properies by
 inserting following:

 LC_CTYPE=sv_SE.UTF-8
 output.code.page=65001

 but it seems not working when the program is restarted.

 All adjustments seems to be forgotten every time I restart.
 
 code.page=65001
 output.code.page=65001

This I've tried with no effect. Still the default alternative
8-bit instead of utf-8 is marked in file - encoding menu Therefore
I must remember to change that before i start writing, otherwise ååö
gets nasty.

Thanks for answer anyway

Best regards

Jan-Erik hägglöf


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+fNY/zRis+sQPvARAuqOAKDp5EcdjHWDXjiwfi0SXPa3giKMqgCg6LyV
h6EUBnBrVFBrX4Sd22FRHjs=
=U6oQ
-END PGP SIGNATURE-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite startup script error

2008-04-07 Thread Abhishek Seth
I have updated lua to the latest version 5.1.3. And yes I have updated
to scite-ctx from the latest context distribution in the scite
directory.

On Sun, 2008-04-06 at 20:21 +0200, Hans Hagen wrote:
 Abhishek Seth wrote:
  Hi,
  
  After reinstalling the Scite 1.76 and putting the support files in
  place, I am getting the following error:
  
  attempt to call a string value
  Lua: error occured while loading startup script
  
  I don't know what it is. Can someone please help?
 
 probably related to scite using lua 5 now; did you update to the 
 scite-ctx from the context distribution?
 
 
 -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
   | www.pragma-pod.nl
 -

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite startup script error

2008-04-06 Thread Hans Hagen
Abhishek Seth wrote:
 Hi,
 
 After reinstalling the Scite 1.76 and putting the support files in
 place, I am getting the following error:
 
 attempt to call a string value
 Lua: error occured while loading startup script
 
 I don't know what it is. Can someone please help?

probably related to scite using lua 5 now; did you update to the 
scite-ctx from the context distribution?


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] scite properties enable utf8 and customizing

2008-04-06 Thread Hans Hagen
Jan-Erik Hägglöf wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 HI!
 
 I am trying to make Scite work in a context way by copying
 context.properties and friends, and it does work .
 
 The problem seems to be that make scite automatic be in utf8 mode. I
 have copying following parameters in the file .SciTEUser.properies by
 inserting following:
 
 LC_CTYPE=sv_SE.UTF-8
 output.code.page=65001
 
 but it seems not working when the program is restarted.
 
 All adjustments seems to be forgotten every time I restart.

code.page=65001
output.code.page=65001


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE under Windows and Metapost

2007-09-29 Thread Hans Hagen
Michal Kvasnička wrote:

 However, when I try to compile a metapost/metafun source from the SciTE
 editor, it fails. It tries to run mpost directly, and it's not found. I can
 run texmfstart texexec --mptex ... in the SciTE's command promt, and it
 works, but it's annoying. Can I somehow reconfigure the SciTE to run the
 metapost properly (I mean to run texexec --mptex)?

you can set the commands in context.properties file (or overload t hen 
in your user.properties file)

 P.S. Hans, would it be possible to add the Metafont into the minimal
 distribution? I like it so much I'd like to make it my major distribution
 even in Linux, but I need the Metafont since from time to time I still use
 some bitmapped font (like Concrete Math). Many thanks.

only the binary i assume? you also have to convince mojca, the minimal 
gardener

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE under Windows and Metapost

2007-09-29 Thread Mojca Miklavec
On 9/29/07, Hans Hagen wrote:
 Michal Kvasnička wrote:

  P.S. Hans, would it be possible to add the Metafont into the minimal
  distribution? I like it so much I'd like to make it my major distribution
  even in Linux, but I need the Metafont since from time to time I still use
  some bitmapped font (like Concrete Math). Many thanks.

 only the binary i assume? you also have to convince mojca, the minimal
 gardener

I don't have time during the weekend and in the following days (I need
to go now), but that should not be a problem.
The goal of ConTeXt minimals is to be as minimal as possible but
if there will be a new system with a possibility to add binaries on
user's request (like modules/packages with rsync), adding metafont
should not be a problem.

What exactly is needed for metafont? locate returns me these:

% is that a format which needs to be generated automatically, like cont-en.fmt?
/usr/local/gwTeX/texmf.local/web2c/metafont/mf.base

% probably all are needed
/usr/local/gwTeX/texmf.texlive/metafont/base/expr.mf
/usr/local/gwTeX/texmf.texlive/metafont/base/io.mf
/usr/local/gwTeX/texmf.texlive/metafont/base/mf.mf
/usr/local/gwTeX/texmf.texlive/metafont/base/null.mf
/usr/local/gwTeX/texmf.texlive/metafont/base/plain.mf

% no idea about those, but the priority is *not* to add what is not needed
% rather than adding anything that could be useful in theory
/usr/local/gwTeX/texmf.texlive/metafont/config/cmmf.ini
/usr/local/gwTeX/texmf.texlive/metafont/config/mf.ini

/usr/local/gwTeX/texmf.texlive/metafont/mfpic/grafbase.mf

/usr/local/gwTeX/texmf.texlive/metafont/misc/3test.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/6test.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/mode2dpi.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/mode2dpixy.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/modename.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/modes.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/ps2mfbas.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/rtest.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/test.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/waits.mf
/usr/local/gwTeX/texmf.texlive/metafont/misc/ztest.mf

Also:
- platform-specific binary
- mf.pool

Which ones are (not) needed? Did I forget anything? Some binaries?

The manual lists some other programs. What are those? Which ones could
theoretically be needed?
gftopk(1), gftodvi(1), gftype(1), mft(1), pltotf(1), tftopl(1)

However, my next question before you ask it: you're probably going to
request that some fonts need to be added, right?

Mojca

PS before anyone alse asks it: no, if you want to use LaTeX, use some
other distribution instead
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE under Windows and Metapost

2007-09-29 Thread Michal Kvasnička
Many thanks for your answer.

you can set the commands in context.properties file (or overload t hen
 in your user.properties file)


But can you please be more specific? The only thing I want  is to press F7
and make the SciTE call
  texmfstart texexec --mptex File.mp 
I tried to find the proper line in the context.properties file but I wasn't
able to fix it. I uncommented the line 137, and commented the line 138 (now
it is this:
  command.build.$(file.patterns.metafun)=$(name.context.texexec) --$(
name.context.backend) --mptex $(FileNameExt)
  #command.build.$(file.patterns.metafun)=$(name.metafun.mptopdf)
$(FileNameExt)
But it didn't help. What should I set, and where?

 P.S. Hans, would it be possible to add the Metafont into the minimal
  distribution? I like it so much I'd like to make it my major
 distribution

 only the binary i assume? you also have to convince mojca, the minimal
 gardener


Yes, I need only two things: binary Metafont (mf) being there, and pdfTeX
(and later luaTeX) able to generate the bitmapped fonts on the demand. If
you could add these two, I would instantly switch to the ConTeXt minimal
distribution. It seems much better than both teTeX and TeXLive. Please,
please. :-)

Many thanks for the great ConTeXt, minimal distribution (which saved me here
in TeXas), and your help.
With best regards
Michal Kvasnicka
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SciTE under Windows and Metapost

2007-09-29 Thread Michal Kvasnička
Many thanks. I answered before I've got your answer.

Honestly, I don't know what must be there to be able to generate fonts. I
never tried to erase the stuff just to learn what is really needed. :-)

The manual lists some other programs. What are those? Which ones could
 theoretically be needed?
 gftopk(1), gftodvi(1), gftype(1), mft(1), pltotf(1), tftopl(1)


However, I guess the gftopk is needed since  it generates .pk files.

However, my next question before you ask it: you're probably going to
 request that some fonts need to be added, right?


No, I would install my fonts myself. (The substitute, and preferred solution
is having these fonts in outlines; especially Concrete Math, but some more
as well.)

No, I don't use LaTeX since the time I switch to ConTeXt. I never regretted.

Many thanks,
Michal Kvasnicka
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite folding

2007-05-28 Thread Zhichu Chen

Hi instanton,

I think the following commands should be added:
1, \startXXX...\stopXXX pair
2, \ifYYY ... \else ... \fi structure
3, \chapter, \section, \subsection, \title and \subject, \topic, etc.

IMHO, I'd like to folder
\def\XXX#1%
 {...}
and some \setupZZZ, \defineZZZ's.

I hope you can provide some mysterious folding symbols, like
%%--{{
something i like to be folded.
%%--}}


On 5/28/07, soft_share [EMAIL PROTECTED] wrote:


 Hi,

I don't know much about lua so I'm afraid that I cannot do much about the
code-folding via lua script. However there are some built-in pseudo-TeX
commands like %\StartFolding %\EndFolding in NotePad++ and the unofficial
SciTE I'm using which can be used to manually control where text fold should
apply. At present I can only add a minimum scope of ConTeXt commands in the
souce code which controls TeX folding. Which commands would you suggest to
add?


[EMAIL PROTECTED]
2007-05-28

- Original Message -
*From: *Zhichu Chen [EMAIL PROTECTED]
*To: *soft_share [EMAIL PROTECTED]
*Sent: *2007-05-28, 06:49:23
*Subject: *Re: [NTG-context] Scite folding

  Hi, instanton

Is there any possibility that you can make an addon lua script to do the
folding function that we can add syntax by ourselves? Because I wanna keep
the official SciTE.


On 5/28/07, soft_share [EMAIL PROTECTED] wrote:

  Dear all,

 Just come across this thread. The TeX folding feature in NotePad++ was
 adapted by me and originally the adaptations was made in SciTE. As I am not
 a ConTeXt user, I am not aware of the structure of sectioning commands in
 ConTeXt. Could anyone of you let me know of a minimum list of sectioning
 commands in ConTeXt so that I can modify the source code to make the TeX
 folding in SciTE and NotePad++ work also for ConTeXt documents?

 Bests


 [EMAIL PROTECTED] [EMAIL PROTECTED]
 2007-05-28





--
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn






--
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite folding

2007-05-27 Thread Idris Samawi Hamid
Hi,

On Sun, 27 May 2007 11:18:48 -0600, soft_sharesoft_share@126.com
wrote:

 Dear all,
 Just come across this thread. The TeX folding feature in NotePad++ was  
 adapted by me and originally the adaptations was made in SciTE. As I am  
 not a ConTeXt user, I am not aware of the structure of sectioning  
 commands in ConTeXt. Could anyone of you let me know of a minimum list  
 of sectioning commands in ConTeXt so that I can modify the source code  
 to make the TeX folding in SciTE and NotePad++ work also for ConTeXt  
 documents?

I could not get the Notepad++ source to compile, but then again, I am not
a programmer;-)

I'll zip the contents of my local notepad++ setup and send it to you
[offlist], as well as some emails I sent to the notepad++ people.

One more thing: we need to add an options for the .tex extension in
notepad++'s Open-File dialog.

I am extremely busy these days but will try to help!

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Scite folding

2007-04-05 Thread Zhichu Chen

Hi Idris,

AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and compile
it again. But I'm sure there should be some more sophisticate way.

On 4/5/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote:


Dear syndicate,

Can Scite be configured for folding based on TeX keywords, or is that
something that is hardwired in Scintilla/Scite? I would like to feed Scite
all the \start-\stop's, {}, \bgroup-\egroup etc. I looked in the context
properties files but did not find anything, and it's certainly not there
by default

Notepad++ (also scintilla-based) supports this through a nifty
define-your-own-language dialog, as well as global RTL (no interlinear
bidi), but the developers are generally unresponsive to requests for help
or guidance from end users (as opposed to serious programmers) so I am a
bit hesitant about switching from WinEdt to Notepad++. Notepad++ also
supports folding in TeX-mode for things like \chapter, \section (without
ending tags; adopted from Visual TeX) but the dialog does not let me
extend that for ConTeXt (\subject etc).

Anyway, whatever you can tell me about Scite and folding would be a big
help!

Best
Idris

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context





--
Sincerely yours,
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite folding

2007-04-05 Thread Idris Samawi Hamid
Hi Zhichu,

On Thu, 05 Apr 2007 09:52:19 -0600, Zhichu Chen [EMAIL PROTECTED]  
wrote:

 AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and  
 compile
 it again.

I am not a programmer, and would really like to avoid this option ;-)

 But I'm sure there should be some more sophisticate way.

I hope so! If not, could one of the other users let me know?

Thank you for the reply and

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite folding

2007-04-05 Thread Idris Samawi Hamid
On Thu, 05 Apr 2007 09:20:21 -0600, Idris Samawi Hamid  
[EMAIL PROTECTED] wrote:

 Notepad++ (also scintilla-based) supports this through a nifty
 define-your-own-language dialog, as well as global RTL (no  
 interlinear
 bidi),

I forgot the note:

I am happy to share my context setup for Notepad++ with anyone who is  
interested. It's neat: I have code folding, different syntax highlighting  
for

- context commands
- \define,\setup, and \place commands
- TeX primitives

There is also auto-completion for ConTeXt, among other things.

For those used to WinEdt I think notepad++ has a lot of potential. I'd  
like to see a project to make it even more TeX-friendly; with some minor  
tweaks and recompiling we could do a lot. But I know no C++ ;-) so if  
anyone is interested please contact me.

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite folding

2007-04-05 Thread Patrick Gundlach
Hello Idris,

 bit hesitant about switching from WinEdt to Notepad++. Notepad++ also  
 supports folding in TeX-mode for things like \chapter, \section (without  
 ending tags; adopted from Visual TeX) 

How does it find the end of the chapter then?

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite folding

2007-04-05 Thread Idris Samawi Hamid
Hi Patrick,

On Thu, 05 Apr 2007 12:34:37 -0600, Patrick Gundlach [EMAIL PROTECTED]  
wrote:

 bit hesitant about switching from WinEdt to Notepad++. Notepad++ also
 supports folding in TeX-mode for things like \chapter, \section (without
 ending tags; adopted from Visual TeX)

 How does it find the end of the chapter then?

I think it just folds at the beginning of the next sectioning command,  
whether it's chapter, section, subsection, etc.

Soon it will be moot since Hans is going to \start-\stop all section and  
item commands soon anyway. In the meantime Taco uses (see archives)

\def\startchapter[#1]%
{\getparameters[Chapter][#1]\chapter{\ChapterTitle}}
\def\stopchapter{}

But notepad++ has real potential for an editor that will make it easier  
for your average TeX user. I'll make my ConTeXt configuration files  
available to anyone who wants to play with it.

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTe setup

2007-04-03 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
 Hi,

 A simple newbie 'abstract' question. How to setup fresh SciTe 1.73 
 installation to
 work with context scripts?

 And a more concrete one: how to load context.properties?
   
there is a scite related manual in the document collection

you can load properties files in one of the user or global properties 
files; in cdwincontext you will find scite preconfigured

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite line endings

2006-08-02 Thread Taco Hoekwater


David Arnold wrote:
 All,
 
 I know where the line endings choice is on the menu in scite. Seems  
 to default to cr+lf in windows regardless of the file it is reading,  
 or am i mistaken?
 
 Is there way to have it interpret the line endings and keep whatever  
 form is used when the file is opened?

Add this line to your user options file:

eol.auto=1

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite line endings

2006-08-02 Thread Hans Hagen
David Arnold wrote:
 All,

 I know where the line endings choice is on the menu in scite. Seems  
 to default to cr+lf in windows regardless of the file it is reading,  
 or am i mistaken?

 Is there way to have it interpret the line endings and keep whatever  
 form is used when the file is opened?
   
there is something said about line endings in the scite help; 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-02-03 Thread Taco Hoekwater


Hooman Javidnia wrote:
 Hi Hans,
 
 Thanks for all the help. I have progressed a lot with the tips you gave
 me. Now, I have two problems: 
 
 1) I can run texmfstart newtexexec.rb --autopdf --pdf myfile.tex from
 Windows command line, but when I click on Build in SciTE's Tools menu, it
 says: THe system cannot find the file specified. I don't which file it
 is mentioning.

It can't find texmfstart. You need to have the TeXLive binary
directory in your global path (perhaps through autoexec.bat, but
windows is too long ago for me to be certain about that).

 2) I have copied the scite-ctx.properties file to SciTE's path, but I
 still dont' get the wrapping and other ctx functionality.

You have to add a new line containing

import context

to the bottom of the Global or User Options file in SciTE

And you have to copy texmf/scripts/context/lua/scite-ctx.lua to
the SciTE path as well.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite and wrapping

2006-02-03 Thread Hans Hagen
David Arnold wrote:
 Hi,

 What tips can folks give me about wrapping in Scite?

 A. Starting with a blank document.

 B. Starting with a document that is not wrapped (lots of long lines).

 In particular, is there a way to wrap a document while still  
 preserving stuff like:

   
given that the lua extensions are available, you can select a paragraph and do 
a shift0-f11 and wrap 'm 

\item text starts here

if the selection starts at 'text' you will get a nice indented wrap 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-02-01 Thread Hans Hagen
Hooman Javidnia wrote:

 Where can I get these Lua scripts? Are there somewhere in my TeX system or
 I have to download them from somewhere?
   
this script is in the context zip

Hans  

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-01-31 Thread Hans Hagen
Hooman Javidnia wrote:
 texexec is known, I know this because I can run it from command
 line. texmfstart is located in
 E:\TeXLive2005\texmf-dist\scripts\context\ruby but I am not sure if it is
 known to the system or not. How can I test this? Should I tweak any file
 or add to to PATH variable?
   
is ruby itself installed? 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-01-31 Thread Hans Hagen
Hooman Javidnia wrote:
 On Tue, 31 Jan 2006, Hans Hagen wrote:

   
 Hooman Javidnia wrote:
 
 texexec is known, I know this because I can run it from command
 line. texmfstart is located in
 E:\TeXLive2005\texmf-dist\scripts\context\ruby but I am not sure if it is
 known to the system or not. How can I test this? Should I tweak any file
 or add to to PATH variable?
   
   
 is ruby itself installed? 
 

 Yes, Ruby is installed. Typing ruby --version  at command  line returuns 
 ruby 1.8.2 (2004-12-25) [i386-mswin32]
 Also Perl is installed. Actually Perl is installed as part of
 TeXLive2005. I also installed Lua 5.0 and added the directory to the PATH. 
   
lua is not needed since it's included in scite; you need to move the lus 
scripts that we ship to the wscite path (as well as the properties files) and 
make sure that the main context props are loaded (in you user  props file) 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-01-31 Thread Hooman Javidnia
On Tue, 31 Jan 2006, Hans Hagen wrote:

 Hooman Javidnia wrote:
  On Tue, 31 Jan 2006, Hans Hagen wrote:
 

  Hooman Javidnia wrote:
  
  texexec is known, I know this because I can run it from command
  line. texmfstart is located in
  E:\TeXLive2005\texmf-dist\scripts\context\ruby but I am not sure if it is
  known to the system or not. How can I test this? Should I tweak any file
  or add to to PATH variable?


  is ruby itself installed? 
  
 
  Yes, Ruby is installed. Typing ruby --version  at command  line returuns 
  ruby 1.8.2 (2004-12-25) [i386-mswin32]
  Also Perl is installed. Actually Perl is installed as part of
  TeXLive2005. I also installed Lua 5.0 and added the directory to the PATH. 

 lua is not needed since it's included in scite; you need to move the lus 
 scripts that we ship to the wscite path (as well as the properties files) and 
 make sure that the main context props are loaded (in you user  props file) 
 
 Hans 

Where can I get these Lua scripts? Are there somewhere in my TeX system or
I have to download them from somewhere?

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-01-30 Thread Hans Hagen
Hooman Javidnia wrote:
 Hi,

 Are the SciTE configuration files on Windows  only supposed to work
 with MikTeX or do they work with other implementations as well?

 Do I have to copy all language .properties files even though I am going to
 use only English? Do I have to modify any .properties files, if I want to
 load only cont-en-scite.properties? 
   
they should work with any tex, given that texmfstart and/or texexec are known 

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE and TeXLive

2006-01-30 Thread Hooman Javidnia
On Mon, 30 Jan 2006, Hans Hagen wrote:

 Hooman Javidnia wrote:
  Hi,
 
  Are the SciTE configuration files on Windows  only supposed to work
  with MikTeX or do they work with other implementations as well?
 
  Do I have to copy all language .properties files even though I am going to
  use only English? Do I have to modify any .properties files, if I want to
  load only cont-en-scite.properties? 

 they should work with any tex, given that texmfstart and/or texexec are known 
 
 Hans
 

texexec is known, I know this because I can run it from command
line. texmfstart is located in
E:\TeXLive2005\texmf-dist\scripts\context\ruby but I am not sure if it is
known to the system or not. How can I test this? Should I tweak any file
or add to to PATH variable?



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-21 Thread Hooman Javidnia
Hi

This is still in the same line as my effort to make SciTE work flawlessly
with ConTeXt. Accoridng to Hans's last email on the subject, I thought
that I have to install Lua and Python on my Win XP machine too. So I
did. Lua seems to be a very small program. Am I right? I installed
version 5.1 for Win32 and it has only 4 files, of which 3 are .exe files
and one is a .dll. In my try to make things to work, now even my TeX files
don't compile. 

The structure of my files is like this:

1) context.properties is in the same path as SciTEUser.properties and the
latter file has only one line in it: import context
2) All other context-*-scite.properties files are in the main folder of
SciTE. 
3) I noticed that there should be come file scite-ctx.properties in one of
the directories. I have put it in the main SciTE folder. Is that the right
place?
4) Isn't there some other ctx files that should be copied to the main
SciTE folder? Where can I get those? I didn't find those in the MikTeX
implementation on my machine?
5) As soon as I press F7 in the output view I get:
texmfstart concheck.rb myfile.tex
unknown file type: texmfscripts
Exit code: 0
No output is being generated.

Sorry to take your time with this issue. It might sound simple to some
people, but it actually isn't that simple. I will write about my
experiences later on when I am done with the setup.

Thanks.

-hooman
 



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-20 Thread Hans Hagen

Hooman Javidnia wrote:


It seems that SciTE can't still detect type of the file that I want to
compile or build. I get the same message when I Build myfile.tex too,
although Build process finishes without any errors.
 

run this once in a console: 


FTYPE RubyScript=c:\data\system\ruby\bin\ruby.exe %%1 %%*
FTYPE PerlScript=c:\data\system\perl\bin\perl.exe %%1 %%*
FTYPE PythonScript=c:\data\system\python\bin\python.exe %%1 %%*
FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*

ASSOC .rb=RubyScript
ASSOC .rbw=RubyScript
ASSOC .pl=PerlScript
ASSOC .py=PythonScript
ASSOC .lua=LuaScript

FTYPE SomeText=c:\data\system\scite\wscite\scite.exe
ASSOC .exa=SomeText
ASSOC .xml=SomeText
ASSOC .tex=SomeText
ASSOC .mp=SomeText



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-19 Thread Mari Voipio

Hooman Javidnia wrote:

Should I install Ruby on my machine?


Yes, you'll need both Ruby and Perl. Both are scripting languages.
You must have missed the discussion about this earlier today, but no 
problem, it got wikified:


http://wiki.contextgarden.net/Windows_Installation#Stand-alone_ConTeXt_distribution


If you like to use command interface and unix type command line tools, 
you can install cygwin on your Windows and with Cygwin you get perl and 
ruby.
Cygwin is available at http://www.cygwin.com/ - the Install or update 
now link is made for us Windows dummies, it'll tell you what to do.



So: Either follow the nine-step program given in the wiki (link above) 
or install cygwin and continue the nine-step program from step 3 
(although, judging by your question and my own experience with the same 
issue, the only things you miss at this point are Ruby and possibly 
Perl). Whichever way, somehow you need to make sure you have Ruby and 
Perl on your machine before things start to work.



Hope this helps,


Mari
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-19 Thread Mari Voipio
It would of course help if I learned to read - I didn't exactly answer 
your question fully and I'm sorry about that. I cannot quite answer to 
all parts of your questions, but here's a bit more:



Yes, you need to have working installations of Ruby and Perl on your 
computer. If you can make them tell you their version (see the wiki 
Windows installation page), you can assume the installations work.


Then you also need to find the appropriate *.properties files the 
mscite.pdf manual explains about. I must admit that I have no idea 
whether they are included in MikTex, but the Windows search will tell 
you pretty fast if you have them or not.


It may be useful to know that the file SciTEUser.properties doesn't 
exist until you put something in there, so instruction copy 
context.properties where your SciTEUser.properties file is doesn't 
necessarily make make much sense. In the Scite I downloaded today on my 
Windows 2000, the user properties file went into my C:\Documents and 
Settings\Username folder, I think it'll do the same in XP - so put the 
context.properties into equivalent folder on your computer.



I get this far. Having copied the properties files and restarted Scite, 
the menu looks good, I have the build and compile commands and the test 
file is now recognized as tex/context. But that's it then for tonight, 
something is still missing either in my Windows path or somewhere else. 
And it's time for me to go to bed.



But yes, I'd like to know, too, how this is done. Will need to reinstall 
a computer soonish and that means reinstalling (upgrading) context into 
a brand new XP. It would be nice to try MikTeX for a change...



Mari
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-19 Thread Hooman Javidnia

Thanks Mari for the very valuable advice. With your help, now I have
something  that works (kind of): Here is what I did:

1. I installed Ruby. I have no idea why it should be installed on a system
so that ConTeXt works. 
2. I downloaded texmfstart.exe and put in the texmf bin folder (I have
MikTeX 2.4 on Win XP). 
3. As you had nicely suggested the SciTE user profile wasn't in the
SciTE's working directory. It was in C:/Documents and Settings/My
Username. I copied the context.properties to the same directory and added
the line import context to it. 
4. I wasn't sure whether I should copy the other ConTeXt properties files
to this directory or leave them in SciTE's main folder. I left them to be
in the SciTE's  main folder. 
5. After restarting as you have said I have a working version of
SCiTE. Under the Tools menu I have these Items:
Compile Ctrl-F7
Build F7
Go F5
Check TeX File Ctrl+0
...
When I issue the Compile command I receive the following message:
texmfstart concheck.rb myfile.tex
unknown file type: texmfscripts
...

It seems that SciTE can't still detect type of the file that I want to
compile or build. I get the same message when I Build myfile.tex too,
although Build process finishes without any errors.

6. I have all Latin Modern fonts (open type) on my computer. Still I can't
configure SciTE to work correctly with these fonts. Actully after I added
context.properties it messed up the origianl font scheme of SciTE. Any
ideas on this?

7. When I choose Open from file menu, tex is not among the file
types. Should I add something to the properties files to solve this?

I think I am getting ready to make my move to ConTeXt. I know that I will
be bugging this mailing list with more question, but setting up my editor
is the first step.

Thanks again.

hooman





___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite problems after update of Scite

2005-12-05 Thread Hans Hagen

Wolfgang Zillig wrote:


Hans Hagen schrieb:


Wolfgang Zillig wrote:



FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*
ASSOC .lua=LuaScript


do I need Lua installed on my computer?




no, lua is compiled into scite (lua adds some 50-100 k to a binary), 
just as lua will some day soon be compiled into tex


(if there is interest in spell checking in scite, we should collect 
files with words (free lists); the format is pretty stupid, one word 
per line)




what about the aspell ( http://aspell.net/ ) dictionaries? I don't 
know the format but it's licensed under GNU.


those are in a special format; what we need are plain lists of words 
(they can probably derived from the aspell ones)


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite problems after update of Scite

2005-12-05 Thread Wolfgang Zillig

perhaps this links helps to find a wordlist:

http://wordlist.sourceforge.net/

Wolfgang


Hans Hagen schrieb:


Wolfgang Zillig wrote:


Hans Hagen schrieb:


Wolfgang Zillig wrote:



FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*
ASSOC .lua=LuaScript


do I need Lua installed on my computer?





no, lua is compiled into scite (lua adds some 50-100 k to a binary), 
just as lua will some day soon be compiled into tex


(if there is interest in spell checking in scite, we should collect 
files with words (free lists); the format is pretty stupid, one word 
per line)




what about the aspell ( http://aspell.net/ ) dictionaries? I don't 
know the format but it's licensed under GNU.



those are in a special format; what we need are plain lists of words 
(they can probably derived from the aspell ones)


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite problems after update of Scite

2005-12-02 Thread Wolfgang Zillig

Hans Hagen schrieb:


Wolfgang Zillig wrote:



FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*
ASSOC .lua=LuaScript


do I need Lua installed on my computer?



no, lua is compiled into scite (lua adds some 50-100 k to a binary), 
just as lua will some day soon be compiled into tex


(if there is interest in spell checking in scite, we should collect 
files with words (free lists); the format is pretty stupid, one word 
per line)




what about the aspell ( http://aspell.net/ ) dictionaries? I don't know 
the format but it's licensed under GNU.


Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite problems after update of Scite

2005-12-01 Thread Wolfgang Zillig

Hans Hagen schrieb:


Wolfgang Zillig wrote:


1. when starting scite i get an error: attempt to call a string value
 


Lua: error occurred while loading startup script
  



I assume this is due to import scite-ctx and in that file there is
ext.lua.startup.script=$(SciteDefaultHome)/scite-ctx.lua which I don't
have.

My solution: I commended import scite-ctx out
 


ah, i see, i forget to copy the lua script into the zip; attached

watch the lof pane for some info at startup

(spell checking in tex and xml files only works when you have at the 
top of the file something


% language=uk

as well as a spell check list defined in the properties files [one 
word per line in such a file])



thanks, that is solved


2. When I try to compile a file then I get the message: texmfstart
newtexexec.rb --autopdf --pdf to_do.tex
 

The system cannot find the file specified.   


When I try the command:texmfstart newtexexec.rb --autopdf --pdf
to_do.tex in the command line I get the file compiled without any
problems. I absolutely don't have an idea whats going wrong here.

 

looks like some file association problem; the is a zip with a binary 
of texmfstart at the web site


did you set up a file association?

FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*
ASSOC .lua=LuaScript


do I need Lua installed on my computer?


3. all text and context commands are in black and white. Is there a
chance to get color back?
 

looks like some messed up properties file ... are you sure that there 
is no conflicting local prop file?


That was probably the case, but I couldn't locate my error completely, 
after some time and some changes it worked again!


Hans, thank you very much!

Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite problems after update of Scite

2005-12-01 Thread Hans Hagen

Wolfgang Zillig wrote:



FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*
ASSOC .lua=LuaScript


do I need Lua installed on my computer?


no, lua is compiled into scite (lua adds some 50-100 k to a binary), 
just as lua will some day soon be compiled into tex


(if there is interest in spell checking in scite, we should collect 
files with words (free lists); the format is pretty stupid, one word per 
line)


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Willi Egger

Hi Hans,

I donwloaded the big Mscontext.zip. After installing and generating the
formats placing the spell-*.txt files (which are not included in the big
zip), including the import scite-ctx in the user file and setting the
environmnet variable I tried to get the spell-checking options working.

When starting Scite from the commandline with
cscite c:\usr\local\context
now messages turn up in the right pane of Scite.
Pressing shift+F11 results in a small dropdown box, offering the options
 Auto Wrap Margin Wrap and Discard Wrap and under the line
Process Text -- Activating Process Text does not cause any action.
The tools menu does not show any spellchecking options.
Still I see that the properties of context, default and scite-ctx are
loaded in the list of the options menu.
Might there be a stack problem? I coud immagine this, because I had to
comment several of the import statements in the global.properties file
before Scite would import context.properties and default.properties
which reside at the end of the list.

Willi


Hans Hagen wrote:

Willi Egger wrote:

As in my other post is mentioned now there is an error while scite 
attempts to load lua.



Also in the big zipped version ?

I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt

{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file



fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) 
Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Willi Egger

Hi Hans,

I donwloaded the big Mscontext.zip. After installing and generating the 
formats placing the spell-*.txt files (which are not included in the big 
zip), including the import scite-ctx in the user file and setting the 
environmnet variable I tried to get the spell-checking options working.


When starting Scite from the commandline with
cscite c:\usr\local\context
now messages turn up in the right pane of Scite.
Pressing shift+F11 results in a small dropdown box, offering the options 
 Auto Wrap Margin Wrap and Discard Wrap and under the line 
Process Text -- Activating Process Text does not cause any action.

The tools menu does not show any spellchecking options.
Still I see that the properties of context, default and scite-ctx are 
loaded in the list of the options menu.
Might there be a stack problem? I coud immagine this, because I had to 
comment several of the import statements in the global.properties file 
before Scite would import context.properties and default.properties 
which reside at the end of the list.


Willi


Hans Hagen wrote:

Willi Egger wrote:

As in my other post is mentioned now there is an error while scite 
attempts to load lua.



Also in the big zipped version ?

I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt

{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file



fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) 
Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Hans Hagen

Willi Egger wrote:


Pressing shift+F11 results in a small dropdown box, offering the options
 Auto Wrap Margin Wrap and Discard Wrap and under the line
Process Text -- Activating Process Text does not cause any action.
The tools menu does not show any spellchecking options.


how about the 'check' option

also, you need to tell what language you use (top of file % language=nl)


Still I see that the properties of context, default and scite-ctx are
loaded in the list of the options menu.



{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file



i added these



fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) Hans




there is a problem with kurier, seems that the font files were renamed 
so there is a map file mismatch


Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Willi Egger

Hi Hans,

Hans Hagen wrote:

Willi Egger wrote:


Pressing shift+F11 results in a small dropdown box, offering the options
 Auto Wrap Margin Wrap and Discard Wrap and under the line
Process Text -- Activating Process Text does not cause any action.
The tools menu does not show any spellchecking options.



how about the 'check' option


Hm, unfortunatley there is no 'check' option neither in the dropdown nor 
in the tools menu. As already said, I miss all the menue of 
spellchecking in the toosl menu.




also, you need to tell what language you use (top of file % language=nl)


Still I see that the properties of context, default and scite-ctx are
loaded in the list of the options menu.




{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file




i added these


This part works fine with the mswin context-installation. Thanks!





fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) Hans





there is a problem with kurier, seems that the font files were renamed 
so there is a map file mismatch


I did not yet try the new fonts ...

Willi


Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-02 Thread Hans Hagen

Willi Egger wrote:

As in my other post is mentioned now there is an error while scite 
attempts to load lua.


Also in the big zipped version ?

I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt
{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file


fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr since we have mlr (oeps, i need to remove aer too)  

Hans 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Coydell Rivers
Hello Han, I'm responding to your PS{}.I've just downloaded 
mswincontext.zip.
This program AVG Free Edition Program version: 7.0.338 virus base: 
267.9.7/60

Release date: 7/28/2005 3:15:00 PM
will not let you use a detected virus file(.)

texmfstart.exe file-size 610,304 dated 7/30/2005 DETECTED
texmfstart.exe file-size 610,304 dated 7/27/2005 DETECTED
I had to replace the above with:
texmfstart.exe file-size 584,000 dated 12/20/2004
So is this program the bomb or what.

- Original Message - 
From: Hans Hagen [EMAIL PROTECTED]

To: mailing list for ConTeXt users ntg-context@ntg.nl
Sent: Sunday, July 31, 2005 2:48 PM
Subject: Re: [NTG-context] Scite spelling support



Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not with 
version !.64 which I downloaded today. Though there are the CTX menue 
lines in the tools menue I can't get the spellchecker working. Anlike 
in the older version 1.62. There are no messages during starting Scite. 
So I am a bit puzzled.



Are you sure that the right properties are loaded? (Try to insert the 
ctx import in a user file; also keep in mind that after sucha change you 
need to close/open scite)



Yes quite so, because in the menu Option list there is an open 
scite-ctx.properties


strange, is lua loaded?
Hans
ps. Can you try the mswincontext zip? I updated the file today (there was 
some old stuff in it, a redundant system tree, and some pieces were missed 
some pieces; i also changed texmfstart a bit in order to get rid of a 
possible visus pattern).




-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005






--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Taco Hoekwater



Coydell Rivers wrote:
Hello Han, I'm responding to your PS{}.I've just downloaded 
mswincontext.zip.
This program AVG Free Edition Program version: 7.0.338 virus base: 
267.9.7/60

Release date: 7/28/2005 3:15:00 PM
will not let you use a detected virus file(.)

texmfstart.exe file-size 610,304 dated 7/30/2005 DETECTED
texmfstart.exe file-size 610,304 dated 7/27/2005 DETECTED
I had to replace the above with:
texmfstart.exe file-size 584,000 dated 12/20/2004
So is this program the bomb or what.


It could be infected if Hans' machine is, because some local dlls
are included in the compiled version by the rubyscript to exe
compiler. Perhaps he should download AVG to check his local system?

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Hans Hagen

Taco Hoekwater wrote:




Coydell Rivers wrote:

Hello Han, I'm responding to your PS{}.I've just downloaded 
mswincontext.zip.
This program AVG Free Edition Program version: 7.0.338 virus base: 
267.9.7/60

Release date: 7/28/2005 3:15:00 PM
will not let you use a detected virus file(.)

texmfstart.exe file-size 610,304 dated 7/30/2005 DETECTED
texmfstart.exe file-size 610,304 dated 7/27/2005 DETECTED
I had to replace the above with:
texmfstart.exe file-size 584,000 dated 12/20/2004
So is this program the bomb or what.



It could be infected if Hans' machine is, because some local dlls
are included in the compiled version by the rubyscript to exe
compiler. Perhaps he should download AVG to check his local system?


i've tested with the latest mcafee and it's ok; i've installed avg in a virtual machine (not in the mood to slow down my main machine) and avl reports a virus when scanning the zipped file but not on the unzipped stuff so my guess is that there is some strange interaction between the windows unzip functionality and avg checking; if i copy files as-is to the virtual machine i see no problem; [in th eend each pattern will be a virus i guess] 


texmfstart.exe is just ruby binaries+scripts+somelibs

Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Willi Egger
I installed the latest MSWINtex dated 28-07-05 and later 31-07-05 while 
running BitDefender V8 there where no alerts.


Willi

Coydell Rivers wrote:
Hello Han, I'm responding to your PS{}.I've just downloaded 
mswincontext.zip.
This program AVG Free Edition Program version: 7.0.338 virus base: 
267.9.7/60

Release date: 7/28/2005 3:15:00 PM
will not let you use a detected virus file(.)

texmfstart.exe file-size 610,304 dated 7/30/2005 DETECTED
texmfstart.exe file-size 610,304 dated 7/27/2005 DETECTED
I had to replace the above with:
texmfstart.exe file-size 584,000 dated 12/20/2004
So is this program the bomb or what.

- Original Message - From: Hans Hagen [EMAIL PROTECTED]
To: mailing list for ConTeXt users ntg-context@ntg.nl
Sent: Sunday, July 31, 2005 2:48 PM
Subject: Re: [NTG-context] Scite spelling support



Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not 
with version !.64 which I downloaded today. Though there are the 
CTX menue lines in the tools menue I can't get the spellchecker 
working. Anlike in the older version 1.62. There are no messages 
during starting Scite. So I am a bit puzzled.




Are you sure that the right properties are loaded? (Try to insert 
the ctx import in a user file; also keep in mind that after sucha 
change you need to close/open scite)




Yes quite so, because in the menu Option list there is an open 
scite-ctx.properties



strange, is lua loaded?
Hans
ps. Can you try the mswincontext zip? I updated the file today (there 
was some old stuff in it, a redundant system tree, and some pieces 
were missed some pieces; i also changed texmfstart a bit in order to 
get rid of a possible visus pattern).




-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005







___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Willi Egger

Hi Hans

As in my other post is mentioned now there is an error while scite 
attempts to load lua.


I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt

{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan
.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp
.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file
 ...

There is a texnansi-antt.map file present on my system. However what is 
the meaning of the other four map-files?



Willi
Hans Hagen wrote:

Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not 
with version !.64 which I downloaded today. Though there are the CTX 
menue lines in the tools menue I can't get the spellchecker working. 
Anlike in the older version 1.62. There are no messages during 
starting Scite. So I am a bit puzzled.




Are you sure that the right properties are loaded? (Try to insert the 
ctx import in a user file; also keep in mind that after sucha change 
you need to close/open scite)




Yes quite so, because in the menu Option list there is an open 
scite-ctx.properties



strange, is lua loaded?
Hans
ps. Can you try the mswincontext zip? I updated the file today (there 
was some old stuff in it, a redundant system tree, and some pieces were 
missed some pieces; i also changed texmfstart a bit in order to get rid 
of a possible visus pattern).




-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-08-01 Thread Willi Egger

Hi Hans,

No there is no linenumber mentioned, the posted error is comlete as given.

Willi

Hans Hagen wrote:

Willi Egger wrote:


Hi Hans,

After reinstalling the Scite 1.64 and putting the support files in 
place again, I get the following error:


attempt to call a string value
Lua: error occurred while loading startup script



normally it means that there is some error in the script (lua has rather 
obscure messages); is there line number mentioned?

Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-07-31 Thread Hans Hagen

Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not with 
version !.64 which I downloaded today. Though there are the CTX menue 
lines in the tools menue I can't get the spellchecker working. Anlike 
in the older version 1.62. There are no messages during starting 
Scite. So I am a bit puzzled.


Are you sure that the right properties are loaded? (Try to insert the 
ctx import in a user file; also keep in mind that after sucha change you 
need to close/open scite)


During my first tests with the older 1.62 Version I collected some 
remarks:


Uk-wordlist

Caps at the beginning of a word are not recognized e.g. The is 
underlined red indicating an error.
The section m is uncomplete in the spell-uk.txt. It ends with 
meningo...


maybe we can collect some better word lists; actually, it is possible to 
handle multiple lists per language (in the properties file you can 
specify a comma separated list of files)



NL-word-list

The word rug misses in the Dutch word-list
Dutch words are not recognized when starting with a capital letter. 
e.g. Betreft


ok, i can have a look at that


The article de misses in the Dutch word-list. Althogh the De
is not recognized it is also not underlined with red.


i skip words = 3 chars (is configurable)


At line 8904 in de word-list: d\'eg‚n‚r‚ - Meaning?




Otherwise it looks like we will have a nice tool!


i'll also implement context syntax checking some time 

Hans 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-07-31 Thread Willi Egger

Hi Hans,

Thanks for your reply. Still no success after placeing import 
scite-ctx into the Scite user file.


Hans Hagen wrote:

Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not with 
version !.64 which I downloaded today. Though there are the CTX menue 
lines in the tools menue I can't get the spellchecker working. Anlike 
in the older version 1.62. There are no messages during starting 
Scite. So I am a bit puzzled.



Are you sure that the right properties are loaded? (Try to insert the 
ctx import in a user file; also keep in mind that after sucha change you 
need to close/open scite)


Yes quite so, because in the menu Option list there is an open 
scite-ctx.properties


During my first tests with the older 1.62 Version I collected some 
remarks:


Uk-wordlist

Caps at the beginning of a word are not recognized e.g. The is 
underlined red indicating an error.
The section m is uncomplete in the spell-uk.txt. It ends with 
meningo...



maybe we can collect some better word lists; actually, it is possible to 
handle multiple lists per language (in the properties file you can 
specify a comma separated list of files)



Would be nice, however I have no clue where to look for such lists :-(


NL-word-list

The word rug misses in the Dutch word-list
Dutch words are not recognized when starting with a capital letter. 
e.g. Betreft



ok, i can have a look at that


The article de misses in the Dutch word-list. Althogh the De
is not recognized it is also not underlined with red.



i skip words = 3 chars (is configurable)


aha!


At line 8904 in de word-list: d\'eg‚n‚r‚ - Meaning?





Otherwise it looks like we will have a nice tool!



i'll also implement context syntax checking some time

Thanks for your input
Willi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-07-31 Thread Willi Egger

Hi Hans,

After reinstalling the Scite 1.64 and putting the support files in place 
again, I get the following error:


attempt to call a string value
Lua: error occurred while loading startup script

Does this mean something to you?

Willi

Hans Hagen wrote:

Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not with 
version !.64 which I downloaded today. Though there are the CTX menue 
lines in the tools menue I can't get the spellchecker working. Anlike 
in the older version 1.62. There are no messages during starting 
Scite. So I am a bit puzzled.



Are you sure that the right properties are loaded? (Try to insert the 
ctx import in a user file; also keep in mind that after sucha change you 
need to close/open scite)


During my first tests with the older 1.62 Version I collected some 
remarks:


Uk-wordlist

Caps at the beginning of a word are not recognized e.g. The is 
underlined red indicating an error.
The section m is uncomplete in the spell-uk.txt. It ends with 
meningo...



maybe we can collect some better word lists; actually, it is possible to 
handle multiple lists per language (in the properties file you can 
specify a comma separated list of files)



NL-word-list

The word rug misses in the Dutch word-list
Dutch words are not recognized when starting with a capital letter. 
e.g. Betreft



ok, i can have a look at that


The article de misses in the Dutch word-list. Althogh the De
is not recognized it is also not underlined with red.



i skip words = 3 chars (is configurable)


At line 8904 in de word-list: d\'eg‚n‚r‚ - Meaning?





Otherwise it looks like we will have a nice tool!



i'll also implement context syntax checking some time
Hans
-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-07-31 Thread Hans Hagen

Willi Egger wrote:


Yesterday I installed the support files you provided on the website.
Interesetingly it worked with the version 1.62 of Scite. But not 
with version !.64 which I downloaded today. Though there are the CTX 
menue lines in the tools menue I can't get the spellchecker working. 
Anlike in the older version 1.62. There are no messages during 
starting Scite. So I am a bit puzzled.



Are you sure that the right properties are loaded? (Try to insert the 
ctx import in a user file; also keep in mind that after sucha change 
you need to close/open scite)



Yes quite so, because in the menu Option list there is an open 
scite-ctx.properties


strange, is lua loaded? 

Hans 


ps. Can you try the mswincontext zip? I updated the file today (there was some 
old stuff in it, a redundant system tree, and some pieces were missed some 
pieces; i also changed texmfstart a bit in order to get rid of a possible visus 
pattern).



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Scite spelling support

2005-07-31 Thread Hans Hagen

Willi Egger wrote:


Hi Hans,

After reinstalling the Scite 1.64 and putting the support files in 
place again, I get the following error:


attempt to call a string value
Lua: error occurred while loading startup script


normally it means that there is some error in the script (lua has rather obscure messages); is there line number mentioned? 

Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite

2005-07-25 Thread David Munger
Hans Hagen :
 Hi,
 
 I made a spell checking extension (tex/xml aware), wrapper and some more 
 stuff for scite. Should work with any recent scite version. Of course 
 the challenge is to get it working for all kind of encodings.
 
 Is there any interest for this kind of things?
 
 Hans

I always use SciTE as well. Interest here, thanks.

David

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite

2005-07-25 Thread Hans Hagen

Hi Scite users,

I put a zip at:

 www.pragma-ade.com/context/scite/cont-sci.zip

Short note:

- use scite 1.64 of later
- copy scite-ctx.lua to ..\scite\wscite
- copy scite-ctx.properties to wherever context.properties lives
- add import to context.properties
- create path for spell files and put spell files there
- let environment variable CTXSPELLPATH to spell path

I want to collect some recent word lists for us-english, uk-english, german, ... 


I still need to figure out accented characters in the spell checker.

Some basic help info is shown in the log pane. Features: 

- word wrap (alignment at cursor position, so 


 \item cursortext ...

 will align on the cursor 

- unwrap 
- spell check 
- sort 
- documentation mark/unmark 
- compound word marker generation (- - |-| and such)
- quote/quotation marker generation ('...' - \quote {...}) 

some more stuff will be added later (experimental now). 

TEX as well as XML is supported. 

I'd like to play with the lua slnunicode library but it's only available in source code 

Hans 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite

2005-07-25 Thread Willi Egger

Hi Hans,

Since I use SCITE heavily I would welcome such extensions and would be 
prepared to help in testing


Willi

Hans Hagen wrote:

Hi,

I made a spell checking extension (tex/xml aware), wrapper and some more 
stuff for scite. Should work with any recent scite version. Of course 
the challenge is to get it working for all kind of encodings.


Is there any interest for this kind of things?

Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite does not build output

2004-12-03 Thread h h extern
Wolfgang Zillig wrote:
Hi,
I have some problems with scite: it generates no output but generates 
this error
message:

 texmfstart texexec.pl --pdf test.tex
 Das System kann die angegebene Datei nicht finden.
(- this means that the system cannot find the file)
for the moment, replace (in one of the properties files) texmfstart texexec.pl 
by just texexec; it may work; maybe kpsewhich in miktex does not yet support 
'texmfscripts'


  User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used 
instead. 
this message is ok, unless you have a local cont-sys.tex
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] scite does not build output

2004-12-03 Thread Wolfgang Zillig
Hi,
it is working now!
But I still don´t understand why this within the command line is working:
texmfstart texexec.pl --pdf c:\temp\cont\test.tex
and the (original) call from scite is not.
Thanks
Wolfgang
h h extern wrote:
Wolfgang Zillig wrote:
Hi,
I have some problems with scite: it generates no output but generates 
this error
message:

 texmfstart texexec.pl --pdf test.tex
 Das System kann die angegebene Datei nicht finden.
(- this means that the system cannot find the file)

for the moment, replace (in one of the properties files) texmfstart 
texexec.pl by just texexec; it may work; maybe kpsewhich in miktex 
does not yet support 'texmfscripts'


  User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used 
instead. 

this message is ok, unless you have a local cont-sys.tex
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   >