axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: Pamphlet format discussion


From: Martin Rubey
Subject: Re: [Axiom-developer] Re: Pamphlet format discussion
Date: 08 Aug 2007 01:22:55 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

"Andrey G. Grozin" <address@hidden> writes:


> Of course, this requires some programming, but quite trivial - LaTeX syntax
> is very simple and regular (unless we play dirty low-level TeX games with
> re-defining character classes, etc.; such tricks should be certainly banned
> in pamphlet files).

I disagree:  I love the xy package for diagrams, and it implements a whole new
language within LaTeX.  Including giving meaning to the @ character, by the
way.

> >> Ideally, we should have the possibliity to have chunks written in
> >> several languages in the same pamphlet, and to work with them
> >> comfortably from emacs. Currently, this is not possible; so, I don't
> >> think that the current setup is purfect and should not be improved.
> >
> > I am not sure what you mean here.  Noweb and similar tools are
> > language independent.  By specifying the root chunk to extract at the
> > tangle stage, you can extract source code in various languages from
> > the same pamphlet.

> I mean emacs mode only. Ideally, I'd like LaTeX in a pamphlet to be
> syntax-highlighted as LaTeX, spad code - as spad code (or as aldor, for which
> an emacs mode is available), Makefile parts - as Makefiles, lisp code - as
> lisp, etc. Even better if key bindings will be those of the lisp mode when
> the cursor is inside a lisp chunk, those of auctex when the cursor is in
> LaTeX, etc. All in a single pamphlet. Currently, this cannot be done :-(

Doesn't mmm-mode allow this?

Martin







reply via email to

[Prev in Thread] Current Thread [Next in Thread]