lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where can you put def ines?


From: Mark Summerfield
Subject: Where can you put def ines?
Date: Tue, 17 Aug 1999 11:06:07 +0100 (British Summer Time)

I want to do something like this:

def @Scene left x right y {
    @Section
      @Title { x }
    @Begin
    @Include { y }
    @End @Section
}

Example of use:

{ The One Where Def Actually Works } @Scene { def.lt }

I have tried copying book to mybook and putting it where the mydefs include 
goes; I have tried putting it in mydefs; I have tried various import lines 
above the def line. Basically I don't understand how this all works (and 
yes I've read all the docs, so maybe I'm obtuse!).

For the moment I'm using a macro pre-processor to do the equivalent textual 
substitution, but surely this is possible in lout? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
address@hidden  Tel: +44 (0)1225 826043
CHEST Software Team Manager   Fax: +44 (0)1225 826177
http://www.chest.ac.uk        Mobile:     0403 535803


reply via email to

[Prev in Thread] Current Thread [Next in Thread]