Subject: mailing-list for TeXmacs Users
List archive
From : Miguel de Benito Delgado <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] hidden text
- Date: Tue, 2 Aug 2011 20:53:31 +0200
Hmm... in my simple life, I've never needed compound (or, more likely, known I needed it). But anyway, what sort of problems do you mean? In my (naive?) tests with those macros I saw no problem and the original ones by Pablo simply did nothing (changing mostrar-dudas to true made no difference as to what was displayed). I must be missing something, right?
________________
Miguel de Benito.
On Tue, Aug 2, 2011 at 14:59, Sam Liddicott <address@hidden> wrote:
On 02/08/11 13:37, Miguel de Benito Delgado wrote:
Sorry, but your code doesn't work for me and I'm not sure I understand what you expect it to do1. Should your dudas be hidden when mostrar-dudas is false,
2. Or should rather just the text "Duda" be hidden? Then I'd go for:
including the body of the duda (i.e. the remark itself)?
Then I'd do something like:
<assign|duda2|<macro|texto|<if|<value|mostrar-dudas>|<dudaux|<arg|texto>>|<value|nada>>>>
And no unnecessary paragraphs are inserted.
<assign|duda3|<macro|texto|<if|<value|mostrar-dudas>|<dudaux|<arg|texto>>|<arg|texto>>>>
Blatant <if> clauses like this cause problems for a macro that wants to act both as a block macro and an inline macro, hence the tricks with compound
Sam
- [TeXmacs] hidden text, Pablo S. Casas, 08/02/2011
- Re: [TeXmacs] hidden text, Sam Liddicott, 08/02/2011
- Re: [TeXmacs] hidden text, Miguel de Benito Delgado, 08/02/2011
- Re: [TeXmacs] hidden text, Sam Liddicott, 08/02/2011
- Re: [TeXmacs] hidden text, Miguel de Benito Delgado, 08/02/2011
- Re: [TeXmacs] hidden text, Pablo S. Casas, 08/03/2011
- Re: [TeXmacs] hidden text, Sam Liddicott, 08/09/2011
- Re: [TeXmacs] hidden text, Sam Liddicott, 08/02/2011
Archive powered by MHonArc 2.6.19.