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
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Tue, 16 Sep 2008 06:56:12 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (22 lines)
Will Robertson wrote:
> Hi,
> I've been thinking more about this.
> Just so we're clear, what you're looking for is a function that can be
> given a token list and return true or false depending if, without
> expansion, the list contains a quark.

I was thinking on a much less grand scale.  Currently, you can test if
tlp contains a quark (usually q_no_value).  However, the moment you
create a second quark to indicate something else (lets say
q_value_required) you always need two tests.  If you have more
possibilities, the number of tests rises.  Of course, you are probably
using these quarks separately, but in some places you may need a simple
"Is it a quark? yes/no" test.

My thinking is that trying to see if a tlp contains a quark + something
else is a bit too complicated.  It is really down to the programmer to
watch for that.
Joseph Wright