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
Condense Mail Headers

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

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Wed, 25 Feb 2009 20:20:10 +0000
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset=ISO-8859-1
From:
Joseph Wright <[log in to unmask]>
Parts/Attachments:
text/plain (34 lines)
Frank Mittelbach wrote:
> Joseph Wright writes:
> 
>  > 2) How should the missing three (plus any others) be named.  The current
>  > idea is, I think, something like:
>  > 
>  > \endlinechar	\l_char_endline_int
>  > \evereof	\l_ior_eof_toks
>  > \scantokens	\tlist_rescan:n
>  > 
>  > Is this logical: are there any other suggestions?
> 
> so for now (see other post) I would only assign \endlinechar and \scantokens
> and the names there look fine to me

The reason I'm interested in \everyeof as well is for using \scantokens
in a context such as:

\def\tempa#1{%
  \begingroup
    % Some catcode changes
    \everyeof{\noexpand}%
    \endlinechar-1\relax
    \edef\tempb{\scantokens{#1}}%
  \expandafter\endgroup
  \expandafter\def\expandafter\tempc\expandafter{\tempb}%
}

which fails without the \everyeof setting. That I know of there is no
way to "bundle up" the various components, so without access to
\everyeof, \scantokens is not much use (at least to me).
--
Joseph Wright

ATOM RSS1 RSS2