mailing-list for TeXmacs Users

Text archives Help


visibility flags


Chronological Thread 
  • From: Corey Sweeney <address@hidden>
  • To: address@hidden
  • Subject: visibility flags
  • Date: Thu, 7 Jul 2005 13:40:05 -0500
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MbCQY6AxWJBHrOEW/EvjGx/Ks0C8saBFpL4vsqB/05rlHQxIMMuq3lIbkrd+UJ2/B7+ay25V2FtNgB5e9ipFDQ2fjhVSgBFO85gD2vRIhM3Zqm6H5zvr0cfZBCOZAz0wNC9L6oU2lZ2TlzTEbXXKUoRB5SHopCJ2JkjmHCmYBNs=

This one has been bugging me for a long time, how do i get a
visibility flag to reference the current style? I have .tm files,
which are articles, but if they are loaded as a "include" in a book, I
don't want them to print their abstract or table of contents. so i'm
thinking something like:

<macro|x|<if| {style = book} |x|<abstract|This is a nifty
paper|><table-of-contents|toc|...>x>>

then pass the whole article to the macro as "x", but i just made up
{style = book}. Is there a way to detect that?

Corey



Archive powered by MHonArc 2.6.19.

Top of page