[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: critical
From: |
Jan Nieuwenhuizen |
Subject: |
Re: critical |
Date: |
Mon, 11 Oct 2004 12:33:55 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Werner LEMBERG writes:
> There is still the problem that the outermost TeX box of a lilypond
> snippet has zero width.
Ah, that's the problem. See for example
http://lists.gnu.org/archive/html/bug-lilypond/2004-10/msg00100.html
the last example,
http://homepage.mac.com/neeracher/lilypond-bugs/oneandonly-2_3_21.pdf
where the tagline gets overwritten by the systems, only with -ftex.
> How can I get this dimension in scheme (to be
> used in framework-tex.scm)?
Doesn't the getting extent of page work?
(define (dump-page putter page last? with-extents?)
(format (current-error-port) "with-extents? ~S\n" with-extents?)
(format (current-error-port) "page-extent ~S\n"
(cons (ly:stencil-extent page X) (ly:stencil-extent page Y)))
(ly:outputter-dump-string
putter
(format "\\vbox to ~a\\outputscale{%\n\\leavevmode\n\\lybox{0}{0}{0}{0}{%\n"
(if with-extents?
(- (interval-start (ly:stencil-extent page Y)))
0.0
)))
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org