Skip to Content.
Sympa Menu

texmacs-users - getting started with guile in TeXmacs

Subject: mailing-list for TeXmacs Users

List archive

getting started with guile in TeXmacs


Chronological Thread 
  • From: "David G. Wonnacott" <address@hidden>
  • To: address@hidden
  • Subject: getting started with guile in TeXmacs
  • Date: Wed, 15 Jun 2005 10:22:08 -0400 (EDT)
  • Hc-host: Message scanned by SMTP2, Networking & Systems, Haverford College, Haverford, PA 19041 [v011]
  • Hc-mailscanner: Found to be clean
  • Hc-spamreport: not spam (whitelisted), SpamAssassin (score=0, required 1)

I have been using GNU emacs in a fairly sophisticated way for a number
of years, and started using TeXmacs in an unsophisticated way a year
or two ago, and would now like to build up my TeXmacs abilities. I
have looked at the "HELP" section about writing guile functions to
extend TeXmacs, and have done some general web searches and looked at
the archive, but have not yet found everything I'm looking for.

Specifically, I would like to find functions to help me explore the
system -- in emacs, I use ^h-k to learn what functions are assigned to
which keys, and then play with them in the interactive session in the
*scratch* buffer, before building them into functions in my .emacs
file or elsewhere.

I have found the M-x command in TeXmacs to let me try out a single
guile expression, but no interactive mode, and no way to learn what
functions are currently bound to keys/menu items. Can someone point me
in the right direction? I have used Common Lisp and Scheme at various
times over the past N years, but have not done much with guile.

For reference, I am working on a set of course notes for a course I
teach, and want to have several variants for different languages that
can be used (as in http://www.cs.princeton.edu/~appel/modern/, Andrew
Appel's multi-language compiler textbook). I was imagining doing this
by setting one or more guile variables and then, at various places in
my document, either checking it and conditionally doing various
things, or doing an include from a directory built from this name
(i.e. set the name to "C++" to get examples like C++/example1.cc). I
believe I could do this in LaTeX without trouble but LaTeX is just so
much more tedious than TeXmacs.

Thanks for any help you can give with learning to use guile, or for
any suggestions on how to do a main document that needs to be produced
with several variants.

Dave Wonnacott
address@hidden


  • getting started with guile in TeXmacs, David G. Wonnacott, 06/15/2005

Archive powered by MHonArc 2.6.19.

Top of Page