lout-users
[Top][All Lists]
Advanced

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

RE: Anyone done a phonebook in Lout? (UNCLASSIFIED)


From: James, Edward Mr DTSW/TCS
Subject: RE: Anyone done a phonebook in Lout? (UNCLASSIFIED)
Date: Fri, 11 Feb 2005 09:15:44 -0500

Classification:  UNCLASSIFIED
Caveats: NONE

Hello,

I have been able to get the @PhoneBookEntry, as described below by Jeff,
to work fine here.

I am trying to get our index entries to look the same:
     "Dir STEC ................ O-34"

I created:

        def @PhoneBookIndexEntry
                named name {}
                named number {}
        {
        def @Fill { "." @Fill }
        name |1rt @OneCol { @Fill number }
        }

I had it working several days ago, but then I must have changed something
somewhere and now I get:

   osd.lout.ld:2219:42: fatal error: @SetHeaderComponent contains
      object of illegal type: recursive symbol

I am assuming that @Fill is the "recursive symbol" being refered to.

Is the indexing code subject to constraints that regular cose is not?

Thank you very much,

Ed

Ed James, Contractor                           address@hidden
Defense Telecommunications Service - Washington/TCS   voice  703-696-8815
1700 North Moore Street, Suite 1475                   fax    703-693-7507
Arlington, VA 22209

> -----Original Message-----
> From: Jeff Kingston [mailto:address@hidden]
> Sent: Wednesday, January 26, 2005 18:41
> To: James, Edward Mr DTSW/TCS
> Cc: address@hidden
> Subject: Re: Anyone done a phonebook in Lout?
>
>
> On Tue, 25 Jan 2005 11:18:50 -0500, James, Edward Mr DTSW/TCS wrote:
>   >
>   > Hello,
>   > 
>   > I am doing a phonebook in Lout. The basic entry is a
> name, filler dots, and a number, i.e.
>   > "Dir STEC ................ 703-696-8815."  These are
> listed in three columns per page.  I can get
>   > Lout to do almost everything I need so far, but I have
> several questions.
>   > 
>   > 1. I can figure the column size from the equation in the
> User Guide on page 65,
>   >     "2.12 Multiple Columns."
>   >     Is there a way to figure how wide a given entry will
> be, based on a given font and size?
>   >     Then I can create exact entries for "lines @Break" to
> make filled columns.
>
> I don't quite understand this, but no, there is no way to
> find out what the width will be
> except by hand calculating it yourself beforehand based on
> the page width and margin and
> gutter widths, which is not recommended.  But you should not
> need to know this width.
>
>   > 
>   > 2. Is there a way to change the fill character to a
> period, and do (pseudo code)
>   >     "@Left { name } @Fill { "." } @Right { phonenumber }" ?
>
> I'm not sure what you mean by "change" - are you in a table
> of contents in an existing
> Lout document type?  If so there is a setup file option.  If
> you are just generating
> ordinary text, you need the following definition:
>
>     def @PhoneBookEntry
>         named name {}
>         named number {}
>     {
>         def @Fill { "."  @Fill }
>
>         name |1rt @OneCol { @Fill number }
>     }
>
> Actually this will not be exactly what you want but if you
> get this going we can
> talk about refinements later.
>
> Jeff
>
>   > 
>   > Thank you very much for any help you can provide,
>   > 
>   > Ed
>
>
>
Classification:  UNCLASSIFIED
Caveats: NONE


reply via email to

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