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
Show All Mail Headers

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

Print Reply
Subject:
From:
Hans Aberg <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Tue, 23 Jun 1998 11:55:37 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
At 11:34 +1000 98/06/23, Richard Walker wrote:
>Hans Aberg writes:
> >   One idea one might explore is a TeX environment: It has all the old TeX
> > names defined locally within that environment, but those definitions expand
> > to the global \tex/<command name> definitions.
>
>This is akin to 2.09 compatibility mode.  With smart editors you don't
>need it.  I am happy to have a keystroke in my editor insert \tex/ for
>me (and perhaps display it in a different colour?)  If you don't want
>the clutter, you might (in a smart editor like Emacs) hide the long
>prefixes (either altogether - displaying the result in a different
>colour, or hide the prefix as `...' - as is done with outlining).

  This is a good point (which I already mentioned): It is in fact not very
difficult to insert those extensions \tex/ by hand with a good editor. But
this concerns new code.

  My idea is though different from a compatibility mode, because the idea
is that one should be able to write {say)
  \module{code}{tex}
    ... % TeX definitions
  \module{endcode}{tex}
and then the TeX definitions expand to names \tex/<command name>.

  So this TeX code can then be used as module code, used together with
other modules without code clashing. In a compatibility mode, one is stuck
with TeX for the rest of the compile. Here the idea is that after
\module{endcode}{tex}, the TeX names \hbox etc do not any longer exist; all
definitions are of the form \tex/hbox, etc.

  I am not sure if it can be done like this and work correctly, but that is
what the idea is.

  Hans Aberg
                  * Email: Hans Aberg <mailto:[log in to unmask]>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>

ATOM RSS1 RSS2