From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: t-inifile, my first experience with lua
Date: Mon, 25 Feb 2008 17:46:20 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.1.00.0802251741400.21092@nqv-yncgbc> (raw)
In-Reply-To: <20080225220112.GA1981@gaston.couberia.bzh>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 701 bytes --]
Hi Peter,
On Mon, 25 Feb 2008, Peter Münster wrote:
> Hello,
>
> Hey, it's really fun to code in lua: pattern matching, easy table
> manipulation and so on, I should have learned it earlier!
Looks interesting.
> Since it's my first experience with lua, I would like to ask you for
> comments on the t-inifile.tex module, attached to this message.
>
> I tried to implement a demo-mode, but there are two small problems:
> - I don't know how to use \savebuffer, all line-endings disappear in the
> saved file
You can do something like
\startbuffer[thewho]
contents of the ini file
\stopbuffer
This will create a file \jobname-thewho.tmp which you can then read.
Aditya
[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-02-25 22:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 22:01 Peter Münster
2008-02-25 22:46 ` Aditya Mahajan [this message]
2008-02-25 22:57 ` Peter Münster
2008-02-25 23:10 ` Hans Hagen
2008-02-25 23:23 ` Peter Münster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0802251741400.21092@nqv-yncgbc \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).