ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* SciTE under GNU/Debian Linux - lpeg not loaded
@ 2017-09-22 20:24 mf
  2017-09-23  8:47 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: mf @ 2017-09-22 20:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

Thank you in advance,
best regards,
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
___________________________________________________________________________________

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

end of thread, other threads:[~2017-09-23 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-22 20:24 SciTE under GNU/Debian Linux - lpeg not loaded mf
2017-09-23  8:47 ` Hans Hagen
2017-09-23 19:19   ` mf
2017-09-23 19:53     ` Hans Hagen

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).