Re: Roadmap to lily code

2005-12-08 Thread Christian Ebert
* Han-Wen Nienhuys on Thursday, December 08, 2005:
> andrea valle wrote:
>> How much for a migration to python as a sponsored feature :-)?
> 
> 5 digits.

1 cent is a bit cheap ;-)

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Escape sequence for accentuated characters?

2005-11-01 Thread Christian Ebert
* Han-Wen Nienhuys on Tuesday, November 01, 2005:
> Raphael Manfredi wrote:
>> Where does lilypond get its font list from, so that I can try others?
> 
> the easiest is to put a .ttf  .pfb  or .pfa in ~/.fonts. If it shows up 
> on the output of
> 
>   fc-list
> 
> you can use it in lily.

Well, I can *not* use it on MacOS 10.3.9:

$ fc-list Sabon
Sabon:style=RomanOsF
Sabon:style=BoldOsF
Sabon:style=ItalicOsF
Sabon:style=BoldItalicOsF

and I tried e.g

\override Score.BarNumber   #'font-name = #"Sabon-RomanOsF"

or

\override Score.BarNumber   #'font-name = #"Sabon RomanOsF"

or

\override Score.BarNumber   #'font-name = #"Sabon Roman Oldstyle Figures"

or (despair!)

\override Score.BarNumber   #'font-name = #"Sabon"

and it I still only get LuxiSans.

Apart from the fact that even if it worked any customized TeX
font metrics (for LyricTexT e.g) were gone.

So, again, for me a switch to lilypond >2.4.5 would mean

a) a loss of quality
b) a setup that's vry ;-) far from easier to use

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Proper Text output (kerning etc.)

2005-10-29 Thread Christian Ebert
* Christian Ebert on Saturday, October 29, 2005:
> * Han-Wen Nienhuys on Saturday, October 29, 2005:
>> Christian Ebert wrote:
>>> Besides, at least on MacOS 10.3.9, including other fonts isn't
>>> trivial at all; at least I couldn't get it to work, and when I
>>> asked here nobody answered that he could.
>> 
>> Put them into ~/.fonts/ or symlink them from there.
> 
> Thanks. I'll give it a try.

No go with .otf and 2.7.14 :-(

c
-- 
_B A U S T E L L E N_ lesen!  --->> <http://www.blacktrash.org/baustellen.html>



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Proper Text output (kerning etc.)

2005-10-29 Thread Christian Ebert
* Han-Wen Nienhuys on Saturday, October 29, 2005:
> Christian Ebert wrote:
>> * Han-Wen Nienhuys on Friday, October 28, 2005:
>>> Robert Memering wrote:
>>> 
>>>> But what about metrics and kerning? Just type \markup{Ve}
>>>> (e.g. for "Veni sancte spiritus) and you know what I mean.
>>>> This hurts my eyes. I can't release books of sheet music
>>>> with text that looks like poor MS Word output.
>>>> 
>>>> Is there any way to get the old Text quality back?
>>> 
>>> Have you tried using a font which comes in OTF of TTF formats?
>> 
>> But then it still doesn't use the .tfm files, or does it?
> 
> No, but TTF and OTF also contain kerning information too.

Sure, but one of the reasons I use LaTeX for typesetting is that
I can profit from people who put a lot of time and effort to
create improved font metrics in sometimes crucial details -- like
you do for note engraving. Without the .tfm files this
improvement is lost.

>> Besides, at least on MacOS 10.3.9, including other fonts isn't
>> trivial at all; at least I couldn't get it to work, and when I
>> asked here nobody answered that he could.
> 
> Put them into ~/.fonts/ or symlink them from there.

Thanks. I'll give it a try.

c
-- 
_B A U S T E L L E N_ lesen!  --->> <http://www.blacktrash.org/baustellen.html>



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Proper Text output (kerning etc.)

2005-10-29 Thread Christian Ebert
* Han-Wen Nienhuys on Friday, October 28, 2005:
> Robert Memering wrote:
>> But what about metrics and kerning? Just type \markup{Ve}
>> (e.g. for "Veni sancte spiritus) and you know what I mean.
>> This hurts my eyes. I can't release books of sheet music
>> with text that looks like poor MS Word output.
>> 
>> Is there any way to get the old Text quality back?
> 
> Have you tried using a font which comes in OTF of TTF formats?

But then it still doesn't use the .tfm files, or does it?

Besides, at least on MacOS 10.3.9, including other fonts isn't
trivial at all; at least I couldn't get it to work, and when I
asked here nobody answered that he could.

lilypond -b (not to talk about lilypond-book) doesn't work either
because on the Mac you have kpathsea.dylib instead kpathsea.so. I
tried to patch 2.6 by replacing all instances of kpathsea.so with
kpathsea.dylib but couldn't get it to compile -- w/o my layman's
patch either for that matter. And the fink distri has the same
problem.

Whereas yesterday night I compiled 2.4.5 and updated my documents
to that version in a few hours.

Pango on MacOS X is quite restricted and I don't think giving up
the TeX backend completely is the right way to go. It might be
easier on other machines but I am not convinced yet that the text
output doesn't suffer.

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fink's Lilypond 2.6.3 and tex backend

2005-10-26 Thread Christian Ebert
* Mats Bengtsson on Tuesday, October 18, 2005:
> I haven't followed the whole thread, but if all you want is to use
> lilypond-book,  there's absolutely no need to have the tex backend
> of lilypond working. From version 2.6, lilypond-book includes
> eps files for every score line, so as long as LilyPond works for
> ordinary scores with the default postscript backend and LaTeX
> works for normal LaTeX documents, then lilypond-book should
> also work.

Ok. I now got lilypond-book to work.

But has anybody -- especially on MacOS X -- succeeded in using
TeX-fonts for instance in something like

\override Staff.TextScript   #'font-name = #'"psbb9d"

and could give me an example?

"Sabon-BoldOsF" doesn't work either of course.

In lilypond 1+ this got hold of the corresponding tfm file in
teTeX e.g.

As far as I can see fontconfig seems to responsible now. And is
quite restricted on MacOS X.

Without access to TeX-fonts lilypond(-book) is rather useless for
my purposes.

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fink's Lilypond 2.6.3 and tex backend

2005-10-25 Thread Christian Ebert
* Christian Ebert on Friday, October 21, 2005:
> * Mats Bengtsson on Tuesday, October 18, 2005:
>> Version 2.6 and later has much better support for other fonts.
> 
> I am experimenting now with 2.6.3 from the MacOS disk image (even
> though I'd prefer to compile myself w/o gui but I can't get 2.6.4
> to compile at the moment).
> 
> But: 
> 
> $ lilypond-book -Flatex -oOut/ lilbook.tex
> lilypond-book (GNU LilyPond) 2.6.3
> Reading lilbook.tex...
> Dissecting...
> Traceback (most recent call last):
>   File 
> "/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book",
>  line 1616, in ?
> main ()
>   File 
> "/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book",
>  line 1582, in main
> chunks = do_file (file)
>   File 
> "/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book",
>  line 1470, in do_file
> [c.filter_text () for c in chunks])
>   File 
> "/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book",
>  line 970, in filter_text
> code = self.substring ('code')
>   File 
> "/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book",
>  line 714, in substring
> return self.match.group (s)
> IndexError: no such group

Any ideas concerning the above?

c
-- 
_B A U S T E L L E N_ lesen!  --->> <http://www.blacktrash.org/baustellen.html>



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fink's Lilypond 2.6.3 and tex backend

2005-10-21 Thread Christian Ebert
* Mats Bengtsson on Tuesday, October 18, 2005:
> Version 2.6 and later has much better support for other fonts.

I am experimenting now with 2.6.3 from the MacOS disk image (even
though I'd prefer to compile myself w/o gui but I can't get 2.6.4
to compile at the moment).

But: 

$ lilypond-book -Flatex -oOut/ lilbook.tex
lilypond-book (GNU LilyPond) 2.6.3
Reading lilbook.tex...
Dissecting...
Traceback (most recent call last):
  File 
"/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book", 
line 1616, in ?
main ()
  File 
"/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book", 
line 1582, in main
chunks = do_file (file)
  File 
"/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book", 
line 1470, in do_file
[c.filter_text () for c in chunks])
  File 
"/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book", 
line 970, in filter_text
code = self.substring ('code')
  File 
"/Users/chris/Applications/LilyPond.app//Contents/Resources/bin/lilypond-book", 
line 714, in substring
return self.match.group (s)
IndexError: no such group

As an aside: You can also see that I installed in my home folder
because lilycall.py makes a testwrite in the application folder.
So there should be a note exactly which permissions to change
when I want to use lilypond systemwide -- or the installer should
ask whether I want to use it systemwide and set permissions
accordingly.

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fink's Lilypond 2.6.3 and tex backend

2005-10-18 Thread Christian Ebert
* Mats Bengtsson on Tuesday, October 18, 2005:
> I haven't followed the whole thread, but if all you want is to use
> lilypond-book,  there's absolutely no need to have the tex backend
> of lilypond working. From version 2.6, lilypond-book includes
> eps files for every score line, so as long as LilyPond works for
> ordinary scores with the default postscript backend and LaTeX
> works for normal LaTeX documents, then lilypond-book should
> also work.

With lilypond-1.+ I was able to do something like:

  \override Score.BarNumber   #'font-name = #'"psbr9d"

or

  \override LyricText   #'font-name = #'"pdirj8t"

to use a different font than the  ec-fonts-mftraced. I
don't believe I can do this w/o the tex backend working. But this
is what I need (song lyrics etc. see above).

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fink's Lilypond 2.6.3 and tex backend

2005-10-17 Thread Christian Ebert
* Julien Salort on Sunday, October 09, 2005:
> I'm using lilypond on Mac OS X 10.4.2 installed by fink (Package manager
> version: 0.24.10, Distribution version: 0.8.0.rsync).
> It works great to output Postscript.
> 
> However, I can't use the tex backend to get a DVI file.
> I get :
>% lilypond -b tex Exo.ly
> GNU LilyPond 2.6.3
> can't open the file with dlopen: libkpathsea.so: dlopen(libkpathsea.so,
> 1): image not found
> install the package: libkpathsea3 (teTeX 2.x) or libkpathsea4 (teTeX
> 3.x)
> 
> It seems to me that libkpathsea4 *is* installed :
>% fink list kpathsea
> Information about 5031 packages read in 1 seconds.
> i   libkpathsea4 3.0-2Complete distribution of the TeX
> typesett...
> i   libkpathsea4...  3.0-2Shared libraries for a teTeX
> installation
> 
> However, I don't have any libkpathsea.so on my computer.
> I only have :
> /sw/lib/libkpathsea.4.0.0.dylib
> /sw/lib/libkpathsea.4.dylib
> /sw/lib/libkpathsea.a
> /sw/lib/libkpathsea.dylib
> /sw/lib/libkpathsea.la

The same holds true for a self compiled teTeX and lilypond on
MacOS 10.3.9 and libkpathsea in /usr/local/teTeX/lib.

I wanted to try the fink package (which would have meant to get
another teTeX less customized for my needs) but apparently it has
the same issue.

When lilypond was at 1.+ using lilypond-book worked just fine.
And this is what I need because I want to use lilypond note
engraving /inside/ LaTeX-documents mainly and also use the fonts
that are set up in my teTeX for e.g song lyrics.

I also tried the installation via disk image but it is useless
for that purpose too.

> Is there a way to solve this problem ?

Is there?

c
-- 
_B A U S T E L L E N_ lesen!  --->> 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tetex-beta and lilypond

2004-12-05 Thread Christian Ebert
* Christian Ebert on Sun, Dec 05, 2004:
> Thanks to Matthias' fink patches and a few tweaks (creating
> symlinks inimf -> mf, inimpost -> mpost and dumping an additional
> mf-nowin format 'mf-nowin mf-nowin - mf.ini') I was able to build
> lilypond-2.5.0 successfully. But lilypond chokes on building
> either the docs or one of the examples and complains that it
> can't find "tex156.enc".

Made a symlink texmf-local/dvips/base/tex256.enc and lilypond
works now ... sort of because lilypond-book produces bad dvi
files even though I dumped a simplified format for latex because
\embeddedps wasn't recognized.

c
-- 
   --->> <http://www.blacktrash.org/>



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


tetex-beta and lilypond

2004-12-05 Thread Christian Ebert
Hello everybody,

Has anybody got lilypond working with the current tetex-beta?

I am working on MacOS 10.3.6 and for the moment I can use
Matthias Neeracher's fink port, but this means that I have to
keep two tetex systems and juggle a lot of environment variables
because the port is based on stable tetex from fink and usually I
work with a current tetex-beta. In the long run however I'd much
prefer lilypond with my self compiled current tetex beta.

Thanks to Matthias' fink patches and a few tweaks (creating
symlinks inimf -> mf, inimpost -> mpost and dumping an additional
mf-nowin format 'mf-nowin mf-nowin - mf.ini') I was able to build
lilypond-2.5.0 successfully. But lilypond chokes on building
either the docs or one of the examples and complains that it
can't find "tex156.enc".

My guesses would be that this is either due to the fact that the
TDS has changed in tetex-beta (e.g. font mappings are now in
fonts/map/dvips instead of dvips) and some of lilypond's code is
hardwired independently of kpathsea (I configured
--with-kpathsea-[include/lib]=DIR) or, even worse, that it's
almost impossible to get it working because all latex stuff in
the beta is based on pdftex (e.g. etex ist not a separate binary
any more but just a link to pdfetex).

Ideas anyone?

c
-- 
   --->> 



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


Re: font-name in markup

2004-07-21 Thread Christian Ebert
* Christian Ebert on Wed, Jul 14, 2004:
> \property Lyrics . LyricText \override #'font-name = #'"lsbrj8t"
> 
> Is there a way to do the same for markup?

Just for the record:

\property Staff . TextScript \override #'font-name = #'"lsbbj8t"

and

\property Score . BarNumber \override #'font-name = #'"lsbrj8t"

do what I want for me (I just had to unearth the right grobs (?))
as in my small project I don't need font switches like \bold etc.
and that way I didn't have to frickle with the global .scm files.

c
-- 
Wenn Gott unsre Welt vollkommen geschaffen hätte,
wie Bach die göttliche!
- E. M. Cioran, Das Buch der Täuschungen



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


font-name in markup

2004-07-14 Thread Christian Ebert
Hello lilies,

First of all I'd like to say how much I like the results of
lilypond engraving! I don't use it much yet, just for a small
section in book I am typesetting in LaTeX but it's good that this
part fits so well in the overall picture.

Now to the newbie question:

I know how to change the font for Lyrics with e.g.

\property Lyrics . LyricText \override #'font-name = #'"lsbrj8t"

Is there a way to do the same for markup?

Do I have to add something to new-markup.scm in the way of

(define-public magnify-markup (set-property-markup 'font-name))
(define-public sabon-markup
  (font-markup 'font-name '"lsbrj8t"))

to be able to do like

c^\markup{\sabon "Text"}  ?

I haven't done any scheme, so I hesitate because I know even less
than usual what I'd be doing.

[lilypond 2.0.1, the fink port for MacOS X 10.2 hasn't got a
 more recent version]

c
-- 
So dacht ich. Nächstens mehr.
_HÖLDERLIN: H Y P E R I O N_ 



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