Subject: mailing-list for TeXmacs Users
List archive
From : Corey Sweeney <address@hidden>- To: Joris van der Hoeven <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] visibility flags
- Date: Fri, 8 Jul 2005 11:35:08 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eUdSAieoV6nGBl8JUszaEWPTiqOsuE/zK9XcrUXxWdFlxGswGw9/Kjgobzoy5ldBXwUh1Z5IUY786xTGIjq8VeTbP0FDDGtYg+9X4NKim7xrlUF5y36hnITcj2GyBLmiXruLqTiUE/53F3g2BbE1HX2OS1MGX70xYS2VZPQaFv8=
This worked. I not have a article that when included as a in a book,
does not print the title, abstract, or table of contents.
For anyone else trying it, after you do it, you may see strange
artifacts in the book view. If found setting the style from "article"
to "none" then back to article again fixed that up.
Thanks Joris
Corey
On 7/8/05, Joris van der Hoeven <address@hidden> wrote:
> On Thu, Jul 07, 2005 at 11:13:56PM -0500, Corey Sweeney wrote:
> > <if|<xor|<equal|1|1>|<provides|book-style>>|xxx>
> >
> > \not didn't seem to negate anything, it just put a line though
> > everything, so i just used
> > <xor|<equal|1|1>|z> instead of <not|z>.
>
> Mmm, it is true that "not" should probably be a macro primitive...
>
> > now, this correctly displays xxx when it is not a book, but when i go
> > to put my abstract in there, I type \abstract and it dissapears. I
> > try inserting via the button and it dosn't happen. I try cutting a
> > abstract and pasting it in there, and nothing.
> >
> > So I try making a macro
> > <assign|bubbs-taco|<macro|<abstract|blah blah blah>>>
> >
> > then
> >
> > <if|<xor|<equal|1|1>|<provides|book-style>>|<bubbas-taco>>
> >
> > which does successfully print a abstract. However, it does it without
> > linewrapping, and the entire abstract is on one line.
> >
> > It's not a style problem, as i put 2 plain copies of the abstract,
> > without a if statement and without a macro, and all is perfect with
> > them.
> >
> > a abstract via that macro works fine outside of the if statement too.
> > it seems to be the if statement that causes the abstract not to wrap
> > the lines.
>
> This is indeed not really satisfactory, but a known complication,
> described in the documentation of the if primitive. What you should do
> is create a macro to be called in the "if" case and a macro to be
> called in the "else" case and then use something like
>
> (compound (if condition if-macro else-macro) args)
>
> This will correctly handle block structures.
> You may take a look at the standard style files,
> where this mechanism is used at several places.
>
> Best wishes, Joris
- visibility flags, Corey Sweeney, 07/07/2005
- Re: [TeXmacs] visibility flags, Joris van der Hoeven, 07/07/2005
- Re: [TeXmacs] visibility flags, Corey Sweeney, 07/08/2005
- Re: [TeXmacs] visibility flags, Joris van der Hoeven, 07/08/2005
- Re: [TeXmacs] visibility flags, Corey Sweeney, 07/08/2005
- Re: [TeXmacs] visibility flags, Joris van der Hoeven, 07/08/2005
- Re: [TeXmacs] visibility flags, Corey Sweeney, 07/08/2005
- Re: [TeXmacs] visibility flags, Joris van der Hoeven, 07/07/2005
Archive powered by MHonArc 2.6.19.