LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Lars Hellström <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Tue, 11 Dec 2001 14:28:50 +0100
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