From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: expansion and \processaction
Date: Thu, 7 Jun 2012 18:55:25 +0200 [thread overview]
Message-ID: <05007B09-E839-4AD4-80FC-C32A4B89DAC1@googlemail.com> (raw)
In-Reply-To: <4FD0D3CB.2020103@wxs.nl>
Am 07.06.2012 um 18:16 schrieb Hans Hagen:
> On 7-6-2012 18:02, Wolfgang Schuster wrote:
>
>> You can also try to use a Lua variant.
>>
>> \def\states_entry_indeed[#1][#2]%
>> {\startlua
>> local entries = utilities.parsers.settings_to_array("#1")
>> local entry = entries[#2]
>> if entry then
>> context(entry)
>> else
>> context("\\tttf NO ENTRY!")
>
> shouldn't that be grouped?
Yes, of course.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2012-06-07 16:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 12:05 Philipp Gesang
2012-06-07 12:32 ` Wolfgang Schuster
2012-06-07 15:34 ` Philipp Gesang
2012-06-07 16:02 ` Wolfgang Schuster
2012-06-07 16:16 ` Hans Hagen
2012-06-07 16:55 ` Wolfgang Schuster [this message]
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=05007B09-E839-4AD4-80FC-C32A4B89DAC1@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).