Subject: mailing-list for TeXmacs Users
List archive
From : "Alain Herreman" <address@hidden>- To: <address@hidden>
- Subject: How to hide an environnement?
- Date: Fri, 15 Nov 2002 13:50:34 +0100
Thank you very much David, it is "not bad" indeed! And very instructive.
I hope now it will soon be possible to hide any environnement (and also
content) without redefining it.
I am also interested by the point raised by Julien Puydt (to hide all
sections except the current one). May be one step would be to consider
sections as environnements, as I think they should be (including its number
and/or title as parameters).
Remember Joris : you use to say that TeXmacs is hightly structured! It seems
that it can be even more structured!
:-)
To hide any part of a text, the following seems to work in a ts file :
<assigne|hidenable-visible?|"true">
<assign|hidenable|<macro|body|<if|<hidenable-visible?>|<body>>>>
And add in content-tag-menu :
("Hide" (make-expand-arg "hidenable"))
And define an other menu to change the value of "hidenable-visible?".
Alain Herreman
-----Message d'origine-----
De : PUYDT Julien [mailto:address@hidden]
Envoyé : mardi 12 novembre 2002 21:01
À : address@hidden
Objet : Re: How to hide an environnement?
Le mar 12/11/2002 à 20:00, Alain Herreman a écrit :
> Let say I have defined the environnement "answer" which I want to hide
when
> I print an exam and which I want to make visible when I print the
answers of
> the exam.
I had not understood it that way the first time I read your mail (and
the answers): I thought you wanted to be able to selectively hide/show
any block of text you, just like the hideshow package of emacs.
Both seem interesting to me:
- being able to hide all proofs from a paper, to just have the results
(that's what you had in mind);
- being able to hide some sections, just leaving the title (and
something like a red ... after to show something's in there), and keep
others wide open (say, the notations handy, and the rest of the paper
hidden - except the place under work) (that's what I had in mind reading
your mail).
The later seems harder,
Snark on irc (when I'll have a decent connection again)
- Re: How to hide an environnement?, Alain Herreman, 11/12/2002
- Re: How to hide an environnement?, PUYDT Julien, 11/12/2002
- Hiding sections -- (was: How to hide an environnement?), David Allouche, 11/13/2002
- Re: How to hide an environnement?, David Allouche, 11/13/2002
- <Possible follow-up(s)>
- How to hide an environnement?, Alain Herreman, 11/15/2002
- Re: How to hide an environnement?, Joris van der Hoeven, 11/15/2002
- Re: How to hide an environnement?, PUYDT Julien, 11/12/2002
Archive powered by MHonArc 2.6.19.