- From: Enrique Perez-Terron <address@hidden>
- To: address@hidden
- Subject: Re: [TeXmacs] Continue enumeration
- Date: Tue, 14 Oct 2008 01:57:54 +0200
On Mon, 2008-10-13 at 10:37 +0200, Benno Dielmann wrote:
>
On Saturday 11 October 2008 05:25:54 Enrique Perez-Terron wrote:
>
| What still remains a disadvantage with all this is that unless one
>
| switches to source view, the macro calls are hidden, and there is
>
| nothing in the user interface that interacts with the macros. If you
>
| forget the label you used, or forget that you put in the
>
| list-restore-state, and later return to the document, you will be
>
| mystified.
>
>
That's what flags are for... Look:
>
>
<assign|list-save-state|\
>
<macro|label|\
>
<flag|list-save-state|orange>\
>
<quasi|\
>
<assign|<unquote|<arg|label>>|\
>
<value|item-nr>\
>
>>>>
>
<assign|list-restore-state|\
>
<macro|label|\
>
<flag|list-restore-state|orange>\
>
<assign|item-nr|\
>
<value|<arg|label>>\
>
>>>
>
>
Now you get flags displayed where you entered the macros (assuming you
>
switched them on in Document->View->Informative Flags)
Thanks, I was not aware of this.
>
I chose orange as flag color; you can choose any other color.
>
>
But thanks a lot for these macros. I never really understood these "quote",
>
"unquote", "quasiquote" thingies... Is there a documentation about these?
Try Help->Manual->Writing your own styles, and scroll down to section
3.4 Evaluation control.
Also look in Help->Reference Manual->Stylesheet language, section 4.
Evaluation control primitives.
Regards
Enrique
Archive powered by MHonArc 2.6.19.