Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] my macros stopped working after upgrade to 1.0.7.9

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] my macros stopped working after upgrade to 1.0.7.9


Chronological Thread 
  • From: Peter Rapčan <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] my macros stopped working after upgrade to 1.0.7.9
  • Date: Sun, 26 Dec 2010 00:38:53 +0100

Dear Joris,

Thank you for your answer. Indeed, disabling the fast environments solves the
problem.

Please note that I used to have my definitions in the preamble, however,
there was a problem with export (of the macros) to latex (see a discussion on
the users or dev mailing list between me and Max (if I remember well)). The
export worked correctly if I had an in-file invisible macro definitions and
that's why I have switched (back) to using the in-file definitions.


Best,

Peter.


On Dec 25, 2010, at 11:52 PM, Joris van der Hoeven wrote:

> Dear Peter,
>
> On Sat, Dec 25, 2010 at 11:17:44PM +0100, Peter Rapčan wrote:
>> After opening my document in TeXmacs 1.0.7.9, my macros automatically
>> received an additional "around*" part to facilitate the new automatic
>> brackets. However, the macros do not work properly anymore. Before, I
>> could write \ket [enter] and enter whatever in the ket. Now typing \ket
>> [enter] I get a ket with a question mark, i.e. |?> and I see no way how
>> to write anything inside of the ket. I don't know how to fix this/what is
>> wrong with the updated macros. Could anyone help me please?
>>
>> Please find attached the original as well as the auto-updated macros.
>
> The problem is actually different: you should no longer put the invisible
> assignments
> in your main document, but rather put them in the preamble. I also made
> another change,
> which I (erroneously) assumed to be correct, and which determines the
> current environment
> at the cursor position in a much faster, though more heuristic way. The
> problem with
> the question mark is that ket and bra are no longer recognized as macros
> which take
> one argument; please try to disable Edit -> Preferences -> Experimental ->
> Fast
> environments and see whether this solves your problem.
>
> Thanks for reporting this bug. I probably should move all macro assignments
> out of
> the document and put them in the preamble, during the upgrading process.
> I will think about a good solution for the next release.
>
> Best, --Joris




Archive powered by MHonArc 2.6.19.

Top of Page