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 <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to