lout-users
[Top][All Lists]
Advanced

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

Re: NetBSD pkg, PDF links, and break styles


From: Ty Sarna
Subject: Re: NetBSD pkg, PDF links, and break styles
Date: Mon, 9 Nov 1998 18:46:37 -0600 (CST)

Valeriy E. Ushakov wrote:
> > 1) I created a NetBSD (http://www.netbsd.org/) package of Lout 3.12, so
> > hopefully lout will gain wider use within the NetBSD community.
> 
> Check list archive for a patch to the PDF backend bug (or mail me, and
> I'll send it to you).

The patch is included in the package. I meant to mention that before and
forgot.

> I would preffer if pdfmark functionality was supported internally.  I
> think @Graphic would be abused.  One reason is that with backend

That'd be great. Is this likely to happen soon?

> Will ragged with explicit @LLP do in your particular case?

I have explicit @LLPs and it still decides to squsih rather than break.
I've got a similar problem in the vertical sometimes, and it's rather annoying!

Perhaps the problem is that this is going into a galley? Lout seems to
decide that the galley receptor is of unlimited size and so doesn't
break, and then later decides that the galley is of fixed size and
squishes to fit.  See example below (names changed to protect the
innocent).  Change "XXX DESC HERE" to be either one very long line or
many lines.  For a few lines, it fits on the first page.  For a few
more, it does the right thing and spills onto a second page.  For even
more lines, it starts squishing the second page instead of breaking. 
Even on the first page I had to manually force a height (the 7.6i) or it
did similar squishing.

(What I'm trying to do is get a report with a fixed-format first page
and free-form following pages (if needed) that take the overflow from
the first page.)


@SysInclude { foodoc }
@Doc
@Text @Begin
@OneRow {
    2i @Wide @HExpand {
        FOO
    }
    @HExpand { |0.5rt AR }
    @Box margin {.1i} 2i @Wide 1i @High @HExpand {
        "Report \#"~{ "1998-AB-1234" }
        @URILink { "http://foo/"; }
        @LLP
        "Project \# 00-0000" @LLP
        "Program" @LLP
                "By: "~{ "Sarna, Ty" }
        @URILink { "http://foo/"; }
                @LLP
        "Date: 1998/10/29"
    }
}
//0.2i
@Box margin { .1i } @HExpand @VExpand {
    |0.5rt "IDENTIFICATION"
    @LLP
    {
@SummaryDescription ragged @Break {
"The Summary" @LLP
}

@Description ragged @Break {
"XXX DESC HERE"
}

        .5i @High {
            "Summary Description: " @LP
            @SummaryDescriptionPlace
        }
        @LP
        7.6i @High {
            "Description:" @LP
            @DescriptionPlace
        }
    }
}
//
@MoreSummaryDescription
@MoreDescription
@End @Text


reply via email to

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