Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Lisp in TeXmacs
- Date: Sun, 13 Jul 2008 11:05:17 +0200
On Sat, Jul 12, 2008 at 01:17:04PM -0700, Karl Winterling wrote:
> Writing something like:
>
> (define fibonacci
> (lambda (n)
> (if (= n 0)
> 1
> (+ (fibonacci (- n 1))
> (fibonacci (- n 2))))))
This can be done using the 'code' environment.
I also added something fancier to the current CVS version: first select
Document -> Add package -> Documentation -> tmdoc-markup
This will define the 'scm-fragment' environment (for Scheme rather than Lisp),
which is nicely framed, supports colour highlighting and automatic
indentation.
Best wishes, Joris
> On Sat, Jul 12, 2008 at 10:14 AM, Joris van der Hoeven <address@hidden>
> wrote:
>
> > On Sun, Jun 22, 2008 at 01:46:46PM -0700, Karl Winterling wrote:
> > > Does anyone know how to write properly pretty-printed Lisp/Scheme code
> > > in
> > > TeXmacs? If not, this may be a good feature for later versions (Come to
> > > think of it, re-writing the editor and GUI in PLT MrEd would solve
> > > cross-platform issues, but may be going a bit too far).
> >
> > Please be more precise here.
- Re: [TeXmacs] Lisp in TeXmacs, Joris van der Hoeven, 07/12/2008
- Re: [TeXmacs] Lisp in TeXmacs, Karl Winterling, 07/12/2008
- Re: [TeXmacs] Lisp in TeXmacs, Joris van der Hoeven, 07/13/2008
- Re: [TeXmacs] Lisp in TeXmacs, Karl Winterling, 07/12/2008
Archive powered by MHonArc 2.6.19.