[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Filter problem
From: |
Gabor Greif |
Subject: |
Re: Filter problem |
Date: |
Wed, 6 Jun 2007 20:12:02 +0200 |
Am 06.06.2007 um 17:23 schrieb Nathan Bell:
Hello everyone,
I've been having trouble correctly implementing a filter in lout. I
created and tested the filter manually, but when I went to
integrate it into my existing document, the results were no longer
what I expected. Here's a little example the shows the problem I'm
having (works on *nix machines only, and yes I know this particular
filter isn't very useful, but it's easier to demonstrate the problem):
def @Works
right x
{
def @Filter { cat @FilterIn > @FilterOut }
{
lines @Break x
} @Graphic {}
}
def @Broken
named @n {}
{
@Works address@hidden
}
@SysInclude {doc}
@Doc @Text @Begin
Test here: //
@Works {(Test) show}
@Broken {(Test) show}
Hi Nathan,
my guess is that since you define a named
argument @n, you should also provide
one in the usage:
@Broken @n {(Test) show}
Hope this helps.
Gabor
// end test
@End @Text
I would expect to see TestTest as the output, but instead see Test
(Test) show.
Any insight into what I'm doing wrong would be greatly appreciated.
- Filter problem, Nathan Bell, 2007/06/06
- Re: Filter problem,
Gabor Greif <=