Subject: mailing-list for TeXmacs Users
List archive
From : "Sam Liddicott" <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] hidden text
- Date: Tue, 02 Aug 2011 13:59:09 +0100
- Envelope-to:
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=
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 do
1. Should your dudas be hidden when mostrar-dudas is false,
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.
2. Or should rather just the text "Duda" be hidden? Then I'd go for:
<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.