[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Protecting against page breaks in markup
From: |
Thomas Morley |
Subject: |
Re: Protecting against page breaks in markup |
Date: |
Fri, 30 Nov 2018 00:34:36 +0100 |
Am Do., 29. Nov. 2018 um 23:22 Uhr schrieb David Kastrup <address@hidden>:
>
> Thomas Morley <address@hidden> writes:
>
> > Am Do., 29. Nov. 2018 um 11:04 Uhr schrieb Richard Shann
> > <address@hidden>:
> >
> >>
> >> As a further point is the term "standard markup objects" well-
> >> documented - does it mean "top-level markups", or what I tend to refer
> >> to as \markup{} blocks?
> >
> > I think what's meant is the difference between \markup and \markuplist
>
> It's worth pointing out that for typographic treatment a toplevel markup
> (namely a markup invoked outside of any other expression) is
> indistinguishable from a markup list with a single element: either are
> processed by calling toplevel-text-handler with a markup list (in case
> of the markup, a list containing just one markup as element).
>
> --
> David Kastrup
You mean what can be observed with below?
\markup \italic "foo-1"
\markup \italic "bar-1"
\markup \italic "buzz-1"
\markuplist \italic { "foo-2" "bar-2" "buzz-2" }
#(newline)
#(display-scheme-music (reverse (ly:parser-lookup 'toplevel-scores)))
=>
(list (list (markup #:italic "foo-1"))
(list (markup #:italic "bar-1"))
(list (markup #:italic "buzz-1"))
(list (markup #:italic "foo-2")
(markup #:italic "bar-2")
(markup #:italic "buzz-2")))
If I add:
\paper {
ragged-last-bottom = ##f
markup-markup-spacing.stretchability = 1000
}
and watch the printed output, the single markups are distributed over
the page, while the elements of the markuplist are kept close
together.
Am undecided whether I should have expected it or should be surprised ... lol
Cheers,
Harm
- Re: Protecting against page breaks in markup, (continued)
- Re: Protecting against page breaks in markup, Thomas Morley, 2018/11/27
- Re: Protecting against page breaks in markup, Flaming Hakama by Elaine, 2018/11/27
- Re: Protecting against page breaks in markup, Richard Shann, 2018/11/28
- Re: Protecting against page breaks in markup, Lukas-Fabian Moser, 2018/11/28
- Re: Protecting against page breaks in markup, Richard Shann, 2018/11/29
- Re: Protecting against page breaks in markup, Thomas Morley, 2018/11/29
- Re: Protecting against page breaks in markup, Richard Shann, 2018/11/29
- Re: Protecting against page breaks in markup, Thomas Morley, 2018/11/29
- Re: Protecting against page breaks in markup, David Kastrup, 2018/11/29
- Re: Protecting against page breaks in markup,
Thomas Morley <=
- Re: Protecting against page breaks in markup, David Kastrup, 2018/11/30
- Re: Protecting against page breaks in markup, Richard Shann, 2018/11/30
- Re: Protecting against page breaks in markup, Flaming Hakama by Elaine, 2018/11/28