From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94441 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: Questions about Scite lexers Date: Thu, 14 Apr 2016 05:10:18 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8202801793950982099==" X-Trace: ger.gmane.org 1460610806 26151 80.91.229.3 (14 Apr 2016 05:13:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2016 05:13:26 +0000 (UTC) Cc: nvitacolonna@gmail.com To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 14 07:13:15 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aqZaY-00050w-8o for gctc-ntg-context-518@m.gmane.org; Thu, 14 Apr 2016 07:13:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 22684A411; Thu, 14 Apr 2016 07:10:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8uPzLB-ouRig; Thu, 14 Apr 2016 07:10:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 72AF0A41F; Thu, 14 Apr 2016 07:10:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 00A77A407 for ; Thu, 14 Apr 2016 07:10:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3wO1SgIpvRwv for ; Thu, 14 Apr 2016 07:10:39 +0200 (CEST) Original-Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 69E47A159 for ; Thu, 14 Apr 2016 07:10:29 +0200 (CEST) Original-Received: by mail-lf0-f50.google.com with SMTP id j11so95422876lfb.1 for ; Wed, 13 Apr 2016 22:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jLps0VdMQ5afnJ+VuBxWTetqXQziIRNM4xAti/RBvOU=; b=ZSHdhASYs5B+X6NehFgzJ+RLSeqUvR8PaK4qMNgFlgmrr4EYr9LtaLhY0MzoL5DQAj fmunOfFudXouES49qDlXcZVTCqokVrnDbRN7HhmK+/EV62x1mqPw6KLMv/uFEoX6PzM6 qETSNS1ZyYiQraZhz8GqJIVJLDHSFaVHAXZFTAMVyqRby9+0EJJML/VeHgSwlQgdewrD XDOtNAcPawPXvbNs14L6/de9M5UGft1Ool/UiedYc8S8OiNqJv1lGANbZReSPzyHLrsv /ab/7z/jZ+2wBqp6u6BjFHy1vLm0+8VblhA9VUC0UsmMMY6D5gf2Mgnnjf5rqrIlDZRP nsgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jLps0VdMQ5afnJ+VuBxWTetqXQziIRNM4xAti/RBvOU=; b=SGPDjlGi2KQYzf+Cv3cI7F/sW3N4i9YY7/PV+AIo7RxSJFuTBStCnOOYgNLLZmOI43 /VGzh2eI2MEsei3rFaCbeIX0oKU9kRK4Jmr/G5SY+emer/y9RALWhUv7mhI/8u1tfzeV xg9lBdCtfdPrDFasJiupOGJkvErpXaTTBzIhtx5RhPkX9V7bNAKnQLnkrUcMGEmQsQhN ZGYWjnxnMHhiT0LznRXxZutuW17Wt/qPPZv7xIhNIhKEy+JPqp0rpSrdFr5NuJogZI8p hFSUtp4GGdWS5g+tpSRxFhIxee2FFtauEypzA6Sohs4ptiIZgm0mwb04iEt7xMrygZ7r WTKw== X-Gm-Message-State: AOPr4FXIw/SflnG+MDT44WIJo0OEo6t7T6pl/GOQ2FSnCYh/Kg2d7mKvf+nWcpc+HErioId+DyM7p5HUsxk/8Q== X-Received: by 10.112.161.198 with SMTP id xu6mr5567045lbb.131.1460610628508; Wed, 13 Apr 2016 22:10:28 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94441 Archived-At: --===============8202801793950982099== Content-Type: multipart/alternative; boundary=001a11c3c7c8aae12b05306ae9f4 --001a11c3c7c8aae12b05306ae9f4 Content-Type: text/plain; charset=UTF-8 On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller < christoph.reller@gmail.com> wrote: > Nicola wrote on Wed., 13. Apr. 2016 19:36: > >> >> I have found an old document of mine, which uses a >> (slightly customized) pret-c.lua, located inside the project's folder. >> It compiles, but I don't get syntax highlighting. Is it because pret-c >> is not searched in the project's directory? >> > > Alternatively you can set the TEXMF_LOCAL environment variable to some > directory where your "private" texmf-tree resides. Note that after this you > have to run > context --generate > in order for context to find the modules in your texmf-tree. > Also note that the compilation logfile written by context tells you what > modules have been found in which locations. > > I hope this helps, > > Christoph > Sorry, the environment variable should be named TEXMFLOCAL, without the underscore Cheers, Christoph --001a11c3c7c8aae12b05306ae9f4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Apr 13= , 2016 at 10:39 PM Christoph Reller <christoph.reller@gmail.com> wrote:
Nicola <nvitacolonna@gmail.com>= wrote=C2=A0on Wed., 13. Apr. 2016 19= :36:
I have found an old document of mine, which uses a
(slightly customized) pret-c.lua, located inside the project's folder.<= br> It compiles, but I don't get syntax highlighting. Is it because pret-c<= br> is not searched in the project's directory?=C2=A0

Alternatively you can set the TEXMF_LOCAL environment = variable to some directory where your "private" texmf-tree reside= s. Note that after this you have to run
=C2=A0 =C2=A0 context --g= enerate
in order for context to find the modules in your texmf-tr= ee.
Also note that the compilation logfile written by context tel= ls you what modules have been found in which locations.

I hope this helps,

Christoph

Sorry, the environment variable should be named TEXM= FLOCAL, without the underscore
Cheers,
Christoph=C2=A0<= /div>
--001a11c3c7c8aae12b05306ae9f4-- --===============8202801793950982099== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8202801793950982099==--