From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: (lua?)latex module ( The ConTeXt book)
Date: Sat, 03 Apr 2010 16:44:25 +0200 [thread overview]
Message-ID: <4BB75449.60308@elvenkind.com> (raw)
In-Reply-To: <4BB753BE.9060606@googlemail.com>
Wolfgang Schuster wrote:
> Am 03.04.10 16:16, schrieb luigi scarso:
>>>>>> name space to avoid macro collision
>>>>>>
>>> Possible with internal commands but you can run into problems with
>>> the user commands, a problem is also how LaTeX handle environments
>>> For \begin{env} LaTeX expects a macro with the name \<env> end for
>>> \end{env} a macro with the name \end<env>.
>>>
>> Lua can be more effective than TeX here ?
>>
> Lua can't do anything with conflicts at the user level.
>
> For a LaTeX module you can do something like
>
> \begin{env} -> \??lm:begin:env
> \end{env} -> \??lm:end:env
I think the current latex module does
\def\begin#1{\csname start#1\endcsname}
\def\end#1{\csname stop#1\endcsname}
but that all depends on how much latex compatibility is
really needed.
Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-04-03 14:44 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 17:08 The ConTeXt book Arthur Reutenauer
2010-04-01 17:25 ` Martin Schröder
2010-04-01 17:29 ` Michail Vidiassov
2010-04-01 17:35 ` luigi scarso
2010-04-02 9:49 ` Arthur Reutenauer
2010-04-02 9:57 ` luigi scarso
2010-04-02 10:08 ` Hans Hagen
2010-04-02 11:18 ` John Haltiwanger
2010-04-02 11:40 ` Hans Hagen
2010-04-02 12:20 ` John Haltiwanger
2010-04-02 12:25 ` Taco Hoekwater
2010-04-02 12:39 ` Patrick Gundlach
2010-04-02 22:32 ` Russell Urquhart
2010-04-03 5:37 ` Gour
2010-04-03 6:47 ` Alan BRASLAU
2010-04-03 7:47 ` Mojca Miklavec
2010-04-03 11:32 ` Gour
2010-04-03 6:54 ` Taco Hoekwater
2010-04-03 11:42 ` Gour
2010-04-03 8:51 ` Hans Hagen
2010-04-03 11:48 ` Gour
2010-04-03 12:30 ` Hans Hagen
2010-04-03 8:59 ` Martin Schröder
2010-04-03 9:15 ` Wolfgang Schuster
2010-04-03 9:20 ` luigi scarso
2010-04-03 12:03 ` Wolfgang Schuster
2010-04-03 13:01 ` luigi scarso
2010-04-03 13:09 ` Taco Hoekwater
2010-04-03 13:31 ` luigi scarso
2010-04-03 13:36 ` Wolfgang Schuster
2010-04-03 13:42 ` luigi scarso
2010-04-03 13:49 ` Wolfgang Schuster
2010-04-03 13:53 ` luigi scarso
2010-04-03 13:56 ` luigi scarso
2010-04-03 14:14 ` Wolfgang Schuster
2010-04-03 14:02 ` Wolfgang Schuster
2010-04-03 14:16 ` luigi scarso
2010-04-03 14:42 ` Wolfgang Schuster
2010-04-03 14:44 ` Taco Hoekwater [this message]
2010-04-03 14:55 ` (lua?)latex module ( The ConTeXt book) luigi scarso
2010-04-03 15:04 ` Wolfgang Schuster
2010-04-03 15:11 ` luigi scarso
2010-04-03 16:44 ` Wolfgang Schuster
2010-04-03 16:49 ` Hans Hagen
2010-04-03 17:09 ` luigi scarso
2010-04-03 17:15 ` Hans Hagen
2010-04-03 17:19 ` luigi scarso
2010-04-03 17:22 ` Andrea Valle
2010-04-03 17:30 ` Hans Hagen
2010-04-03 18:33 ` Martin Schröder
2010-04-03 18:34 ` Taco Hoekwater
2010-04-03 18:38 ` Martin Schröder
2010-04-03 16:11 ` The ConTeXt book Hans Hagen
2010-04-03 16:09 ` Hans Hagen
2010-04-03 9:47 ` Vedran Miletić
2010-04-03 12:07 ` Wolfgang Schuster
2010-04-02 14:12 ` Hans Hagen
2010-04-02 14:16 ` Matthias Weber
[not found] ` <h2w6faad9f01004021355xa0e88f8ew8fad640bb072c0bd@mail.gmail.com>
2010-04-02 21:08 ` InteractionsBar - another shot Matthias Weber
2010-04-03 14:08 ` Willi Egger
2010-04-03 16:14 ` Hans Hagen
2010-04-04 22:59 ` Matthias Weber
2010-04-05 20:53 ` Hans Hagen
2010-04-01 17:32 ` The ConTeXt book luigi scarso
2010-04-01 17:40 ` Sebastien Mengin
2010-04-01 17:43 ` Hans Hagen
2010-04-01 19:38 ` Alan BRASLAU
2010-04-01 19:58 ` Hans Hagen
2010-04-01 18:45 ` Graham Douglas
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=4BB75449.60308@elvenkind.com \
--to=taco@elvenkind.com \
--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).