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
___

[NTG-context] Scite + ConTeXt

2018-08-13 Thread Fabrice Couvreur
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 ?

Thanks
Fabrice
___
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
___

[NTG-context] SciTE ConTeXt

2010-11-24 Thread S Barmeier
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?

Many thanks.
Severin

P.S.: Does the --autopdf option try to automatically open the output? If
so, how can I change the default to evince?
___
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
___