Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] How to use macro arguments

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] How to use macro arguments


Chronological Thread 
  • From: François Poulain <address@hidden>
  • To: address@hidden
  • Cc: <address@hidden>
  • Subject: Re: [TeXmacs] How to use macro arguments
  • Date: Wed, 3 Feb 2016 11:57:38 +0100

Le Wed, 03 Feb 2016 11:40:34 +0100,
<address@hidden> a écrit :

> What am I missing?

TeXmac's macros work mainly with textual substitution. It is not an
arithmetic language.

So, "3*5" is the "good" result after processing your code.

If you want to get an arithmetic multiplication, you may use the times
macro. But if you want to evaluate more than trivial expression, I
advise you to do it using another language (e.g. Maxima, or Scheme ...)

François

--
François Poulain <address@hidden>

Je n'ai pas plus fait mon livre que mon livre ne m'a fait.
-+- Montaigne, Les Essais -+-



Archive powered by MHonArc 2.6.19.

Top of Page