From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94439 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: Questions about Scite lexers Date: Wed, 13 Apr 2016 20:39:04 +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="===============9123790714173155669==" X-Trace: ger.gmane.org 1460579999 7464 80.91.229.3 (13 Apr 2016 20:39:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2016 20:39:59 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 13 22:39:47 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 1aqRZg-000689-QW for gctc-ntg-context-518@m.gmane.org; Wed, 13 Apr 2016 22:39:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B1FE843F7; Wed, 13 Apr 2016 22:39:26 +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 MV6mfkJxmBmj; Wed, 13 Apr 2016 22:39:26 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 076FFA3AF; Wed, 13 Apr 2016 22:39:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EE43CA2A0 for ; Wed, 13 Apr 2016 22:39:24 +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 x9GEYn0QieLo for ; Wed, 13 Apr 2016 22:39:24 +0200 (CEST) Original-Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) (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 40D7443F7 for ; Wed, 13 Apr 2016 22:39:14 +0200 (CEST) Original-Received: by mail-lf0-f48.google.com with SMTP id e190so85581098lfe.0 for ; Wed, 13 Apr 2016 13:39:14 -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; bh=PclnkGIeUcJyrEbGZF9fccuduG7vuK57CEbbQP+KlX8=; b=SwpC7Xg+ehHEo7Myb61MA6ocSwbrB3/5Rk7UCu4c9GXn+YwEFU6LK9+XjEYSAZPInw RbFyYa4velbjrajcZ/wNipG8zGcQZCFIwe08r16IF06FZ/Myv2vNV87g6oy0HUGr7jxb 0PFSokdVX4BOpbfEmOddJ+weB5qku1mM10U8K5nv14wY+FnvFc5fvm/X0JiDD2cbHe8C 87GWQ5l1nvXQdNJA5Etha1nAOL9aiNRNVnMIJ9jsEjz3dzJLkErlLDoKRv3mL/MVOfwf KRI6sxS5EuqXRHIsTJyRsrKB2LQLfCllVt0Ia0EpH2bRlkbjBXvE+nv21UFmDgjBobIW zkXg== 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; bh=PclnkGIeUcJyrEbGZF9fccuduG7vuK57CEbbQP+KlX8=; b=OpKL89gFbLJkETgLJMSe5P1FW2DD/wVYcV1kORS1V+CIa/4EuMrzxALTZNnvMyihmC LN/07eYXtuyHm61prW0Nml+yYl7GGDqx5zTktSUIenKGUOEqs9ALKFJOiaOqvt4G8PK+ lNuj7pByb81K2WOwblqD8XD8xRqpV9J9hUhdFmW42Q2Bb4tvoxiQvBxff566fwd9Ih0A xo2wJNh/8nitRhyl5ZB2R2I1jpUnHLZF9dHxRv+/GtmGcvoX4yEhj3IIYJn4OyFB5Pg5 9P814/Va1qAVyWb5qPZ005OHMGDUESC0jrx/nKWAXbJDgKRf1uzPYiHcobVVnjUcEKF1 ZhZg== X-Gm-Message-State: AOPr4FVGqvHd8bOpOgCj6nkrgPomR+D+XSqytq1VQQjALdq8bhWTCYUVvturC0AbiF7f3G/KNSrCt6iLFLxEXg== X-Received: by 10.112.9.140 with SMTP id z12mr4735881lba.115.1460579953528; Wed, 13 Apr 2016 13:39:13 -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:94439 Archived-At: --===============9123790714173155669== Content-Type: multipart/alternative; boundary=001a1135e5364bd693053063c547 --001a1135e5364bd693053063c547 Content-Type: text/plain; charset=UTF-8 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 > --001a1135e5364bd693053063c547 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nicola <nvitacolonna@gmail.com> wrote=C2=A0on Wed., 13. Apr. 2016 19:36:

I have found an old document of mi= ne, 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
--001a1135e5364bd693053063c547-- --===============9123790714173155669== 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= --===============9123790714173155669==--