[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defining new symbols
From: |
Lothar Krause |
Subject: |
defining new symbols |
Date: |
Mon, 08 Aug 2005 11:57:55 +0200 |
Hej,
I love using lout and stuff - yet one thing that I don't quite grasp is
when it comes to defining new symbols and when to import what. For example I
tried to define a symbol @sec like this:
macro @sec
right{x}
{ @Section @Include{x.lt} @Section}
so I could write @sec{intro} and this would start a new section as well as
including the file "intro.lt" looking like @Title{Introduction}
@Begin ... @End so I'd be easier to turn sections into subsections and
vice versa. Is it possible to do such a thing with lout and if so than
how so? (Or did I overlook something?)
lo
- defining new symbols,
Lothar Krause <=