lout-users
[Top][All Lists]
Advanced

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

About Galleys and chapter letters


From: Raúl Núñez de Arenas Coronado
Subject: About Galleys and chapter letters
Date: Tue, 24 Jul 2001 13:58:53 +0200

    Hello all :))

    I'm currently studying lout galleys, and I have some doubts
related to it. For example, I have in my mind a clear idea about how
the text should be arranged in a paragraph flowing around a big
object embedded into the paragraph: the big object is a box and the
text naturally flows around it.

    If the big object is wide but is just one line high, then the
solution doesn't need galleys, of course:

        |1s {bigobject} |1s

    This makes a pretty separation at both sides of the bigobject. We
don't take into account where in the line is the object positioned.

    But the problem is when this object is so high that it occupies
an undefined number of lines, depending of the current font size. I
think that this needs galleys, and I've thought about a solution and
I would like to know how stupid it is O:) I don't make assumptions
about where the bigobject is placed:

    def @ParaWithBO 
        left y   # the paragraph text
        right x  # the big object
    {
        def @ParaPut address@hidden
        def @ParaLine { @OneCol { @ParaPut //1vo @ParaLine } }
        def @ParaPlace into { @ParaPut&&preceeding } right x {x}

        @ParaLine //1vo
        @ParaLine |0.5rt {x} | @ParaLine
        @ParaPlace y
    }

    I put a galley at the beginning (well, really a list of
vertically concatenated galleys), after that I put other list, the
big object (centered) and other list. This way, I get lines at both
sides of the bigobject. Finally, I place the paragraph text, which
should start at the first galley and then flow for the others.

    Really I don't have this clear. I haven't tested this, because I
want the experts to warn me about incorrections and after that being
able to see why it doesn't work (I'm pretty sure about that...).

    Please excuse if the question seems stupid, but I'm new to lout
programming... And thanks for taking a look :))

    Of course, a solution to this problem is welcome ;)))

    Thanks a lot

    Raúl


reply via email to

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