[EMAIL PROTECTED] (Victor S. Miller) writes: >>>>>> "Han-Wen" == Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > > Han-Wen> [EMAIL PROTECTED] writes: >>> Victor S. Miller writes: >>> >>> > What do I need to do to get the emacs interface to work properly? >>> >>> Start emacs from the shell you start lilypond from, or add your >>> LILYPONDPREFIX setting to your ~/.gnomerc > > Han-Wen> and don't forget to export the variable. > > Thanks, but that didn't work. I already do this. > > I have > > export LILYPONDPREFIX=/usr/local/coop/share/lilypond/2.2.6 > > in my .bashrc. I start emacs from the same shell where I can > successfully run lilypond. > > I'm puzzled -- it must be some emacs subtlety -- when the emacs lilypond > interface runs the bin file, where does it go to initialize the > environment? > > Victor
If you're desperate, you can set all needed environment variables inside emacs with `setenv', for instance: (let ((version "2.2.6") (LilyPond-prefix "/usr/local/coop")) (setenv "GS_FONTPATH" (format "%s/share/lilypond/%s/pfa:/usr/share/texmf/fonts/type1/public/ec-fonts-mftraced:" LilyPond-prefix version)) (setenv "GS_LIB" (format "%s/share/lilypond/%s/ps:" LilyPond-prefix version)) (setenv "PATH" (format "%s/bin:%s" LilyPond-prefix (getenv "PATH"))) (setenv "TEXMF" (format "{%s/share/lilypond/%s,!!/usr/local/share/texmf,!!/usr/local/lib/texmf,!!/usr/share/texmf}" LilyPond-prefix version)) (setenv "datadir" (format "%s/share/lilypond/%s" LilyPond-prefix version)) (setenv "tmppfadir" "/usr/share/texmf/fonts/type1/public/ec-fonts-mftraced/ecrm10.pfa")) nicolas _______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user