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
Content-Type: text/plain; charset="iso-8859-1"
Date: Tue, 11 Dec 2001 14:28:50 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Lars Hellström <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Transfer-Encoding: 8bit
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments: text/plain (26 lines)
At 04.40 +0100 2001-12-11, Donald Arseneau wrote:
>Chris Rowley <[log in to unmask]> writes:
>
>> Heh guys, wrong list!  Please,
>
>OK...has consideration been given to using catcodes throughout
>a document that will facilitate \verb being used anywhere?

This task is more or less equivalent to the suggestions about emulating a
full Unicode character set in TeX3 by capturing everything using active
characters and translating it to control sequences which will represent the
proper Unicode character. Either task is certainly possible, but the
automaton you have to implement in TeX's mouth is _very_ large (it has to
emulate about a fifth of the compiled program TeX) and thus you pretty much
end up in:
  1. It's possible, because you can implement lambda calculus in TeX's
mouth, and everything computable can be implemented in lambda calculus.
  2. It's extremely unfeasible, since it will be grotesquely slow and use
much too much memory.

Letting some characters retain their catcodes can let you get by with a
smaller automaton, but then the \verb command won't work for those
characters and thus you haven't really won anything.

Lars Hellström

ATOM RSS1 RSS2