lilypond-user
[Top][All Lists]

## obey measures with eps backend

 From: fiëé visuëlle Subject: obey measures with eps backend Date: Sun, 17 Sep 2006 23:41:22 +0200

```Hi there!

```
I'm just trying to fix the LilyPond moduke for ConTeXt to work with e.g. the latest 2.9;
```the module works similar to lilypond-book.

```
My problem is, that the EPS is always too big, i.e. much bigger than defined.
```
My LilyPond snippet has
linewidth = 341.43306\pt
but the EPS and PDF are 541 pt wide.

```
The whole score is uniformly scaled, it's not only a problem of the linewidth.
```
1. Why?
2. How can I avoid that?

I call lily like this:
lilypond -b eps -f eps test.ly && epstopdf test.eps
```
(BTW: How can I avoid all that useless intermediate and additional files?)
```
My snippet header looks like this (mostly stolen from lilypond-book):
\version "2.9.9"
#(set! toplevel-score-handler print-score-with-defaults)
#(set! toplevel-music-handler (lambda (p m)
(if (not (eq? (ly:music-property m 'void) #t))
(print-score-with-defaults p (scorify-music m p)))))
#(ly:set-option (quote no-point-and-click))
#(define version-seen #t)
#(set-global-staff-size 16)
\paper {
#(define dump-extents #t)
raggedright = ##f
indent = 0.0\pt
linewidth = 341.43306\pt
vsize = 506.45908\pt
printpagenumber = ##f
}

Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
http://www.cacert.org (I'm an assurer)

```