Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] stopping tmop

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] stopping tmop


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: Pedro Sanchez <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] stopping tmop
  • Date: Tue, 13 Dec 2005 14:12:54 +0100

Pedro Sanchez wrote:

well thanks :)
I'll go with the macro way, although it breaks the concept of
structured markup, since then I'm having math content which is not
math (I'm not at my cmputer at the moment but tomorrow I will)

I'm just worrying that wouldn't work in cases like

A-$ (displayed equation)
<var|AB> <var|PQ>
---------- = ------------------ = k
<var|BC> <var|QR>

i.e. complex math expressions (fractions, square roots, etc...) which
would need to have the macro nested



No, it would work perfectly. What you have to do is
to use <var|...> only for things like variables, 'A',
'ABC', etc., and for the rest, you embed it inside the
math environment. Thus you will have :
[[
$... <var|A> ... <var|ABC> ...$
]]

, and then, the 'A', 'ABC', etc. will always be in italics.

On 12/12/05, Henri Lesourd <address@hidden> wrote:

Pedro Sanchez wrote:


well, "A B C" with spaces has the problem of putting spaces there! ;)
(it's customary to write ABC, not A B C




That's clear, I didnt told that typing 'A B C' was the solution...



about the macro... I'm interested into that Henri, where does one
write such macro? (I'm new to Texmacs) and how do I make it run with a
keycombo (say, alt-k) ?




You should put the macro in a stylesheet (especially if
you are writing a book ; otherwise, just put it in front
of your document).

But how to deal with macros, markup, stylesheets, etc.
in TeXmacs is not completely self-evident (although it
remains easy :-).

So for everything you need to know about how to write macros
in TeXmacs, redefining keys, etc., have a look at :
<<
http://www.ags.uni-sb.de/~henri/texmacs/aTeXmacsTutorial.pdf
>>

As far as documentation is concerned, there are some other
tutorials / docs available :

The official TeXmacs tutorial :
[[
http://www.texmacs.org/Tutorial/
]]

TeXmacs in 60 mn :
[[
http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html
]]

Finally, there is the TeXmacs help, available in the Help menu (if your
computer is online, you
can download all the help doing Help/Online help/Update from web). This
help is perhaps also
included in the tarball you downloaded with Fink. Otherwise, the help
files are in the CVS at :
[[
http://www.texmacs.org/cgi-bin/cvsweb.cgi/doc/
]]

You can find some examples of real mathematical papers written using
TeXmacs in :
[[
http://www.texmacs.org/Examples/
]]













Archive powered by MHonArc 2.6.19.

Top of Page