lout-users
[Top][All Lists]
Advanced

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

nested includes


From: Eric Boucharé
Subject: nested includes
Date: Tue, 26 Aug 2003 20:53:50 +0200

Hello

I have used lout for 3 years, and I'm very happy of it. But here is
a little problem I meet.

I would like to make a document with nested includes. For example,
something like that

a top file called "tp" in ./
--------------------------------------------------------
@SysInclude {doc}

@Document
        @InitialFont {Helvetica Base 10p}
        @InitialLanguage{French}
//
@Text @Begin
@FullWidthRule // @D @B {titre du TP} // @FullWidthRule
@BeginSections
@Section
        @Title{Introduction}
@Begin
@Include{"ex1/data"}
@End @Section
@EndSections
@End @Text
--------------------------------------------------------



a file called "data" in ./ex1/
--------------------------------------------------------
@Include{"images/sch1"}
--------------------------------------------------------


and another called "sch1" in ./ex1/images/
--------------------------------------------------------
@LP Il était une fois dans l'ouest ...
--------------------------------------------------------

My first idea was : lout will find the relative path for each included
file when I proceed the file with the command

        lout tp>tp.ps

Actually, it finds the file "data", but not "sch1". I have to change
the path to @Include{"ex1/images/sch1"}.

Can someone tell me why it behaves like that ? Isn't there a solution
to use relative paths ?

Thanks

Eric


reply via email to

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