LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Will Robertson <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Wed, 17 Feb 2010 08:47:52 +1030
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
On 17/02/2010, at 12:34 AM, Manuel Pégourié-Gonnard wrote:

> By the way, I find is rather weird, that \tl_if_eq doesn't really compare token
> lists, but only their conversions as TeX strings. IMO it would be clearer to
> have a \str_if_eq::nn(TF) function in the string module, and then conversion
> functions from the tl to the str data type.
> 
> Such conversion function could also be the place to implement "string input
> methods" if they are needed. Eg, the most basic conversion function would be
> something like \edef + \detokenize, but one could imagine a conversion function
> that locally redefines \% as expanding into a catcode 12 %, etc. before
> performing the \edef, so that a user can easily input arbitrary strings.

FWIW, I'm in favour of these ideas.
Clearly up some of the edge cases with tl_replace_in (for example), which doesn't accept braces, would be helpful, I think.

-- Will

ATOM RSS1 RSS2