ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Scite + ConTeXt
@ 2018-08-13 23:54 Fabrice Couvreur
  2018-08-14  0:06 ` Alan Braslau
  2018-08-14  0:18 ` Ken Moffat
  0 siblings, 2 replies; 8+ messages in thread
From: Fabrice Couvreur @ 2018-08-13 23:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1366 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Scite + ConTeXt
  2018-08-13 23:54 Scite + ConTeXt Fabrice Couvreur
@ 2018-08-14  0:06 ` Alan Braslau
  2018-08-14  7:45   ` Hans Hagen
  2018-08-14  0:18 ` Ken Moffat
  1 sibling, 1 reply; 8+ messages in thread
From: Alan Braslau @ 2018-08-14  0:06 UTC (permalink / raw)
  To: Fabrice Couvreur; +Cc: mailing list for ConTeXt users

On Tue, 14 Aug 2018 01:54:06 +0200
Fabrice Couvreur <fabrice1.couvreur@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Scite + ConTeXt
  2018-08-13 23:54 Scite + ConTeXt Fabrice Couvreur
  2018-08-14  0:06 ` Alan Braslau
@ 2018-08-14  0:18 ` Ken Moffat
  2018-08-14 10:17   ` Fabrice Couvreur
  1 sibling, 1 reply; 8+ messages in thread
From: Ken Moffat @ 2018-08-14  0:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Scite + ConTeXt
  2018-08-14  0:06 ` Alan Braslau
@ 2018-08-14  7:45   ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2018-08-14  7:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Alan Braslau, Fabrice Couvreur

On 8/14/2018 2:06 AM, Alan Braslau wrote:
> On Tue, 14 Aug 2018 01:54:06 +0200
> Fabrice Couvreur <fabrice1.couvreur@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Scite + ConTeXt
  2018-08-14  0:18 ` Ken Moffat
@ 2018-08-14 10:17   ` Fabrice Couvreur
  2018-08-14 12:04     ` Ken Moffat
  0 siblings, 1 reply; 8+ messages in thread
From: Fabrice Couvreur @ 2018-08-14 10:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 921 bytes --]

Hi Ken,
In which file ?
Fabrice


Le mar. 14 août 2018 à 02:18, Ken Moffat <zarniwhoop@ntlworld.com> 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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 2162 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Scite + ConTeXt
  2018-08-14 10:17   ` Fabrice Couvreur
@ 2018-08-14 12:04     ` Ken Moffat
  0 siblings, 0 replies; 8+ messages in thread
From: Ken Moffat @ 2018-08-14 12:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <zarniwhoop@ntlworld.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: SciTE & ConTeXt
  2010-11-24 12:54 ` SciTE & ConTeXt S Barmeier
@ 2010-11-24 14:37   ` Marco Pessotto
  0 siblings, 0 replies; 8+ messages in thread
From: Marco Pessotto @ 2010-11-24 14:37 UTC (permalink / raw)
  To: ntg-context

S Barmeier <severinbarmeier@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* SciTE & ConTeXt
       [not found] <mailman.365.1290394919.4239.ntg-context@ntg.nl>
@ 2010-11-24 12:54 ` S Barmeier
  2010-11-24 14:37   ` Marco Pessotto
  0 siblings, 1 reply; 8+ messages in thread
From: S Barmeier @ 2010-11-24 12:54 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-14 12:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 23:54 Scite + ConTeXt Fabrice Couvreur
2018-08-14  0:06 ` Alan Braslau
2018-08-14  7:45   ` Hans Hagen
2018-08-14  0:18 ` Ken Moffat
2018-08-14 10:17   ` Fabrice Couvreur
2018-08-14 12:04     ` Ken Moffat
     [not found] <mailman.365.1290394919.4239.ntg-context@ntg.nl>
2010-11-24 12:54 ` SciTE & ConTeXt S Barmeier
2010-11-24 14:37   ` Marco Pessotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).