mailing-list for TeXmacs Users

Text archives Help


Entering macros


Chronological Thread 
  • From: Ralf Hemmecke <address@hidden>
  • To: address@hidden
  • Cc: address@hidden
  • Subject: Entering macros
  • Date: Thu, 24 May 2007 15:43:02 +0200

Hi Henri,

I tried your little example, but I am completely helpless.

So I start with a new buffer. Let me give here the exact keystrokes.

\assign ENTER
italunder ARROWleft
\macro ENTER

-- Here i am already a bit helpless how to enter a parameter name.
-- .. after lot's of trying

ALT-ARROWright text ARROWleft
\em ENTER
\underline ENTER

-- After pressing ENTER I did not see the tag anymore which
-- made me believe that I did something wrong.

My text is here ARROWleft ARROWleft ARROWleft ARROWleft ENTER

-- Let's try the macro.

\italunder ENTER
Superman ENTER

--------------------- END ----------------------
Then I saved the file and got the following (see end of mail).
Not only do I see on my screen

<italunder|Superman>

litarally with a red "italunder", but I would actually have liked "text" after "My" to be the argument. (So finally replaced by "Superman".)
Looking at the resulting file, it is clear that I do something wrong, but it is frustrating that I cannot easily find out myself.

In order to learn TeXmacs, one needs to sit together with an knowledgable TeXmacs user and have the flow explained.

I cannot always invest so much time to write such an email.
TeXmacs makes me feel stupid and helpless. :-(

I would feel much more confident if I had a clear definition of the TeXmacs style language at hand and I could type everything in by hand. Yes everything, including < an | and >. I have the impression you could win a lot of users if you allow that, parse the string and complain (with an appropriate error message) if something is wrong. Currently, the cursor simply refuses to go to this or that place without telling me why. That makes me helpless.

The frustrated TeXmacs (not yet) user

Ralf

--------------------------------------------------------
<TeXmacs|1.0.6>

<style|generic>

<\body>
<inactive|<assign|italunder|<macro|text|<em|<underline|My text is here>>>>>

<italunder|Superman>
</body>

<\initial>
<\collection>
<associate|language|american>
</collection>
</initial>




Archive powered by MHonArc 2.6.19.

Top of page