From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82802 Path: news.gmane.org!not-for-mail From: "Lance Larsen" Newsgroups: gmane.comp.tex.context Subject: How to hack the lua files Date: Thu, 6 Jun 2013 17:20:02 -0600 Message-ID: <51b11924.49f4440a.2adc.374a@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1602399438==" X-Trace: ger.gmane.org 1370560823 11295 80.91.229.3 (6 Jun 2013 23:20:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2013 23:20:23 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 07 01:20:24 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UkjTj-0003le-Ui for gctc-ntg-context-518@m.gmane.org; Fri, 07 Jun 2013 01:20:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8285101E0; Fri, 7 Jun 2013 01:20:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z8Q0vLH1mKbv; Fri, 7 Jun 2013 01:20:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 83CF2101E5; Fri, 7 Jun 2013 01:20:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8EC4B101E5 for ; Fri, 7 Jun 2013 01:20:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r4TmbJehrrMM for ; Fri, 7 Jun 2013 01:20:18 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E1C3A101E0 for ; Fri, 7 Jun 2013 01:20:07 +0200 (CEST) Original-Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r56NK5Zr021799 for ; Fri, 7 Jun 2013 01:20:06 +0200 Original-Received: by mail-pd0-f180.google.com with SMTP id 10so3990114pdi.25 for ; Thu, 06 Jun 2013 16:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; bh=OnRHp6bsFZtMR9CAs+bZwSpLg6bt8SEHbi5LMpWyHGM=; b=nrBZ3A47XDVyw/k2+QRhJMpHq8Tk0psdojKMZTQy1ULVd225JpuOJofxjSa6hznrcQ 7azI8aXZ/VQ3jiZ8aCLdD1eYN2KyNqLMJtCXZYY0LuIX5B4HNtzJXlElPH2p6G7HTn0s xqelUMF2D6lu+bAqETKQyhF7oUxNqbkM8ZPaYdHDEHjPXiYkTJvHkdfkBRlii9b2rY9I A1C4BR3Lx1dSUHTQjL0FJ0P4X1FDyBfbNvFjNiWNvuQubFZl+ytunB5QxjqLcn4nyb26 DposDcBWLkbXwlbXYwarI4adpk0/SDjegAzel0G6Hi7dxOT0NAuEXEREWTbBVw9psVYh KqmA== X-Received: by 10.66.67.5 with SMTP id j5mr20544498pat.176.1370560805462; Thu, 06 Jun 2013 16:20:05 -0700 (PDT) Original-Received: from CNU238C3KT (107-1-187-170-ip-static.hfc.comcastbusiness.net. [107.1.187.170]) by mx.google.com with ESMTPSA id xe9sm7276522pbc.21.2013.06.06.16.20.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Jun 2013 16:20:04 -0700 (PDT) X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac5jDF84fv5KrCH0TM6jinJTz9MqTw== Content-Language: en-us X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.192.180; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJJbk673 - 2d6f954c4d98 - 20130607 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82802 Archived-At: This is a multi-part message in MIME format. --===============1602399438== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01CE62DA.15B418C0" Content-Language: en-us This is a multi-part message in MIME format. ------=_NextPart_000_0027_01CE62DA.15B418C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I have a version of context standalone installed, and I am trying to add some functionality I need to strc-ref.lua. As a simple test to see if modifying the file was working, I enabled the 'structures.referencing.identifying' tracker and verified that I was getting messages from this tracker in the log. I then modified the log statement in strc-ref.lua and processed the document again. The changes I made to the lua file did not seem to be active. I verified that there is only one log statement that matches the output I am seeing. Why would my lua code change not be active? Is the lua code cached somehow? (I am running this from windows if that matters). The code I modified is under the path: context\tex\texmf-context\tex\context\base\ strc-ref.lua -Lance Larsen ------=_NextPart_000_0027_01CE62DA.15B418C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have a = version of context standalone installed, and I am trying to add some = functionality I need to strc-ref.lua. As a simple test to see if = modifying the file was working, I enabled the = ‘structures.referencing.identifying’ tracker and verified = that I was getting messages from this tracker in the log. I then = modified the log statement in strc-ref.lua and processed the document = again. The changes I made to the lua file did not seem to be active. I = verified that there is only one log statement that matches the output I = am seeing. Why would my lua code change not be active? Is the lua code = cached somehow? (I am running this from windows if that = matters).

 

The code I modified is under the = path:

context\tex\texmf-context\tex\context\base\ = strc-ref.lua

 

-Lance Larsen

 

------=_NextPart_000_0027_01CE62DA.15B418C0-- --===============1602399438== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1602399438==--