LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 29 Aug 2011 16:27:06 +0200
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Content-Transfer-Encoding: 7bit
Message-ID: <[log in to unmask]>
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Ulrike Fischer <[log in to unmask]>
Parts/Attachments: text/plain (26 lines)
Am Mon, 29 Aug 2011 10:10:39 -0400 schrieb Bruno Le Floch:

>> The is no pre-build 'strip_braces' function at present. You don't say if
>> we are talking one set of braces or multiple sets. For the former case,
>> a simple 'do nothing' loops would be easiest:
>>   \tl_set:Nx \l_temp_tl
>>     { \tl_map_function:NN \l_temp_tl \exp_not:n }
> Agreed with Joseph. If you need to recursively remove braces, and
> don't care about speed, 

Well actually I don't need to remove the braces recursively and I do
care about speed so the solution of Joseph is fine. I don't want to
make the parsing to complicated, I even haven't decided yet if I
really should care about possible braces. 

(I'm starting to like expl3 quite a lot. But I'm still unsure about
the concrete meaning of some concepts, this make it a bit difficult
to decide in which part of the documentation to look for something.
So I'm quite happy that I didn't overlook an existing solution ;-).)

Ulrike Fischer