[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tex strings output
From: |
Han-Wen Nienhuys |
Subject: |
tex strings output |
Date: |
Sun, 19 Dec 2004 18:03:03 +0100 |
Hi Werner,
I've put the first component of TeX generated text metrics in place
byrd:~/usr/src/lilypond$ !li
lilypond -f texstr f
GNU LilyPond 2.5.4
Processing `f.ly'
Parsing...
Interpreting music... [2]
Preprocessing graphical objects...
Calculating line breaks... [2]
Layout output to `f.texstr'...
byrd:~/usr/src/lilypond$ cat f.ly
\version "2.4.2"
{ \time 2/4 s2-"foo" }
byrd:~/usr/src/lilypond$ cat f.texstr
(globalscale 1.75729901757299)
("ecrm10" 0.569055118110236 "Engraved by LilyPond (version 2.5.4)")
("ecrm10" 0.569055118110236 "1")
("ecrm10" 0.569055118110236 "")
("ecrm10" 0.569055118110236 "foo")
("feta-alphabet20" 0.569055118110236 "4")
("feta-alphabet20" 0.569055118110236 "2")
as you can see, I used a lispish format for now. The format is :
(FONT-NAME MAGNIFICATION TEXT)
where MAGNIFICATION is relative to globalscale. Of course, this format
can be changed to taste. If you can define a standard format for TeX
input, write macros for dimension handling, and provide a TeX output
like
(FONT-NAME MAGNIFICATION TEXT BBOX-LIST)
then I can start to work on importing the metrics back into LilyPond.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen
- tex strings output,
Han-Wen Nienhuys <=