LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

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 (Apple Message framework v929.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Date: Thu, 18 Sep 2008 22:44:49 +0930
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Will Robertson <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Transfer-Encoding: 7bit
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments: text/plain (28 lines)
On 18/09/2008, at 10:01 PM, Joseph Wright wrote:

> To save everyone a little time, how about the following for a
> comprehensive set (following the \char_if_<whatever> names where  
> available):
>
> \def_new:Npn \char_make_escape:N #1 {
>  \char_set_catcode:nn {`#1} {\c_zero}
> }

[etc.]

Great, thanks!
I've added this code to the repository but the documentation still  
needs a little work. And unit tests need to be written, too.

Does anyone have any objections to the command names?
As opposed to something like
   \char_set_catcode_escape:N
instead.

I *hope* no-one disagrees with the idea of these commands (with the  
argument that the plain catcode number should be used instead); to me  
they seem quite "at home" with the philosophy of the expl3 syntax.

Cheers,
Will

ATOM RSS1 RSS2