[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

the last example,

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)))
   (format "\\vbox to ~a\\outputscale{%\n\\leavevmode\n\\lybox{0}{0}{0}{0}{%\n"
           (if with-extents?
               (- (interval-start (ly:stencil-extent page Y)))


Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter       |

reply via email to

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