Re: PS failure with 1.6.6
Don't forget that the installation directory .../share/lilypond/1.x.x/ already is a texmf tree with a dvips/ directory for the lilypond.map file. This is the place to put also the music-drawing-routines.ps file. Werner, when you looked at the texmf.cnf files in the different distributions, was $TEXMF/dvips/ always included in TEXPSHEADERS? In that case, I find it obvious to install the file in the dvips/ directory instead of tex/. Also, an alternative is to change the setting of TEXPSHEADERS, not by changing in the texmf.cnf file but by simply setting the environment variable TEXPSHEADERS to "$PREFIX/share/lilypond/1.x.x/tex/:" if we really want to keep the current installation directory for the file. I'd prefer to put the file at a place in the Lilypond texmf tree where it is found by all(?) distributions without having to set extra environment variables. /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
Werner LEMBERG wrote: I have mixed feelings with the other solution, namely to copy music-drawing-routines.ps into the dvips subdirectory tree. Perhaps someone else can decide this. It's policy not to do this by default. This solution is not possible for those who are not root and cannot or do not want to modify texmf.cnf Well, I meant the user-writable dvips subdirectory tree. Werner Don't forget that the installation directory .../share/lilypond/1.x.x/ already is a texmf tree with a dvips/ directory for the lilypond.map file. This is the place to put also the music-drawing-routines.ps file. Werner, when you looked at the texmf.cnf files in the different distributions, was $TEXMF/dvips/ always included in TEXPSHEADERS? In that case, I find it obvious to install the file in the dvips/ directory instead of tex/. /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
[EMAIL PROTECTED] writes: > TEXPSHEADERS.xdvi = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}// > > I have mixed feelings with the other solution, namely to copy > music-drawing-routines.ps into the dvips subdirectory tree. Perhaps > someone else can decide this. It's policy not to do this by default. This solution is not possible for those who are not root and cannot or do not want to modify texmf.cnf -- Han-Wen Nienhuys | [EMAIL PROTECTED] | http://www.cs.uu.nl/~hanwen ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
> > I have mixed feelings with the other solution, namely to copy > > music-drawing-routines.ps into the dvips subdirectory tree. Perhaps > > someone else can decide this. > > It's policy not to do this by default. This solution is not possible > for those who are not root and cannot or do not want to modify > texmf.cnf Well, I meant the user-writable dvips subdirectory tree. Werner ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
> > In fact it is even stranger: xdvi (22.29) fails to find the file, > > whereas oxdvik (22.40f) succeeds (but the PS specials don't look > > good -- ledger-lines are too high by about 1/4 notehead, braces > > too small) The latter is a bug in xdvi I think. Try to use the greatest magnification (press `1 s') and you should see correct ledger lines. > > Looks as though xdvi doesn't even look for > > music-drawing-routines.ps with kpathsea!! > Yeah, I also tried making symlinks to dvips from ps and tex in > /usr/local/share/lilypond. Still no go. I'll just wait for 1.6.7 and > hope the problem goes away as my passive-aggressive contribution to > LilyPond development. In my teTeX installation, xdvi uses the TEXPSHEADERS variable to find PS header files like music-drawing-routines.ps. I have the following default value in texmf.cnf: TEXPSHEADERS = .;$TEXMF/{dvips,pdftex,tex,fonts/type1}// This means that any file installed somewhere in $TEXMF/tex/... is checked. AFAIK, music-drawing-routines.ps is installed in /usr/share/texmf/tex on Debian (which I don't use), so it should be found. Say KPATHSEA_DEBUG=-1 xdvi foo.dvi &> foo.kpathsea.log and analyze the log file to find out where xdvi searches music-drawing-routines.ps. Hmm, I've just checked the texmf.cnf file from the TeX Live 7 CD, and I see that things have changed compared to my old teTeX setup. `tex' is no longer part of the default TEXPSHEADERS, only the program-specific TEXPSHEADERS.xxx variables contain it. I'm not sure how to solve this. The easiest (and probably cleanest) solution is to add the following line (or something similar) to texmf.cnf: TEXPSHEADERS.xdvi = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}// I have mixed feelings with the other solution, namely to copy music-drawing-routines.ps into the dvips subdirectory tree. Perhaps someone else can decide this. Werner ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
Mark Hindley wrote: Hi, I have exactly the same problem. Just upgraded to 1.6.6 from 1.4 12 on top of Debian woody. Installed from .deb. In fact it is even stranger: xdvi (22.29) fails to find the file, whereas oxdvik (22.40f) succeeds (but the PS specials don't look good -- ledger-lines are too high by about 1/4 notehead, braces too small) Looks as though xdvi doesn't even look for music-drawing-routines.ps with kpathsea!! Yeah, I also tried making symlinks to dvips from ps and tex in /usr/local/share/lilypond. Still no go. I'll just wait for 1.6.7 and hope the problem goes away as my passive-aggressive contribution to LilyPond development. -- +-+ |Carter Brey ([EMAIL PROTECTED])| +-+ Homepage: http://www.nyplive.org/music/orchestra/index.cfm?page=profile&personNum=7 Any dramatic series the producers want us to take seriously as a representation of contemporary reality cannot be taken seriously as a representation of anything -- except a show to be ignored by anyone capable of sitting upright in a chair and chewing gum simultaneously. -- Richard Schickel 9:52am up 12 days, 11:21, 1 user, load average: 0.16, 0.11, 0.04 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
Mats Bengtsson wrote: Set the environment variable KPATHSEA_DEBUG to '-1' Run dvips on the .dvi file and pipe the standard error output through 'grep music-drawing'. This should tell you where the programs searches for the file. I tried that. It searches in $DATADIR/dvips whereas we only have the file located in $DATADIR/ps and $DATADIR/tex. Hence the problem can be solved by adding a symlink from ps to dvips. I really don't understand much about theese things - so I don't know whether this behaviour is rational - i.e. whether the problem is in the lily setup or somewhere else. -Rune ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
> Mats Bengtsson wrote: > > >What do the following commands return? > > > >kpsexpand '$TEXPSHEADERS' > > > [cbrey@Betty cbrey]$ kpsexpand '$TEXPSHEADERS' > .:{/usr/local/share/lilypond/,!!/usr/share/texmf}/{dvips,pdftex,tex,fonts/type1}// > > >kpsewhich -format 'PostScript header' music-drawing-routines.ps > > > [cbrey@Betty cbrey]$ kpsewhich -format 'PostScript header' > music-drawing-routines.ps > /usr/local/share/lilypond/tex/music-drawing-routines.ps Strange! This looks exactly the way it should. Both dvips and xdvi should use the $TEXPSHEADERS variable as set in texmf.cnf to search for this file. Also, if the kpsewhich command finds the file, it should also be found by dvips and xdvi. Try the following: Set the environment variable KPATHSEA_DEBUG to '-1' Run dvips on the .dvi file and pipe the standard error output through 'grep music-drawing'. This should tell you where the programs searches for the file. /Mats > Thanks for any help... > Carter > > -- > > +-+ > |Carter Brey ([EMAIL PROTECTED])| > +-+ > Homepage: > http://www.nyplive.org/music/orchestra/index.cfm?page=profile&personNum=7 > > > > ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
> Mats Bengtsson wrote: > > > Set the environment variable KPATHSEA_DEBUG to '-1' > > Run dvips on the .dvi file and pipe the standard error > > output through 'grep music-drawing'. This should tell you > > where the programs searches for the file. > > I tried that. > It searches in $DATADIR/dvips whereas we only have the file located in > $DATADIR/ps and $DATADIR/tex. Hence the problem can be solved by adding > a symlink from ps to dvips. > > I really don't understand much about theese things - so I don't know > whether this behaviour is rational - i.e. whether the problem is in the > lily setup or somewhere else. This indicates that your teTeX installation does not use the standard texmf.cnf file that's included with teTeX 1.07. I actually found an old installation of teTeX 0.9 on our system where texmf.cnf contains the line TEXPSHEADERS = .;$TEXMF/{dvips,pdftex,fonts/type1}// instead of TEXPSHEADERS = .;$TEXMF/{dvips,pdftex,tex,fonts/type1}// I guess your installation could have the same problem. However, on Carter's system, there seems to be some other problem, since kpsewhich and kpsexpand indicate that it should work. It might be that he has two parallel teTeX installations, where kpsewhich and kpsexpand belong to one of them and dvips, xdvi to the other one (a far-fetched explanation, I agree). It seems that Werner made a too simple choice when he set up the installation of the file, see http://mail.gnu.org/pipermail/lilypond-devel/2002-October/001835.html It is probably safer to install the file in the dvips/ directory. Do you have time to make a patch, Rune? /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
Mats Bengtsson wrote: What do the following commands return? kpsexpand '$TEXPSHEADERS' [cbrey@Betty cbrey]$ kpsexpand '$TEXPSHEADERS' .:{/usr/local/share/lilypond/,!!/usr/share/texmf}/{dvips,pdftex,tex,fonts/type1}// kpsewhich -format 'PostScript header' music-drawing-routines.ps [cbrey@Betty cbrey]$ kpsewhich -format 'PostScript header' music-drawing-routines.ps /usr/local/share/lilypond/tex/music-drawing-routines.ps Thanks for any help... Carter -- +-+ |Carter Brey ([EMAIL PROTECTED])| +-+ Homepage: http://www.nyplive.org/music/orchestra/index.cfm?page=profile&personNum=7 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
> Yes, I did a make install, and music-drawing-routines.ps appears not > only in /usr/local/share/lilypond/tex but also in > /usr/local/share/lilypond/ps. I ran texhash just to be on the safe > side Fine! > (which actually I never did with previous version installs, and never > had problems) but still get the same error message. > > As with other version installs, I placed lilypond-profile in my $PATH > and sourced it to set the tree. What do the following commands return? kpsexpand '$TEXPSHEADERS' kpsewhich -format 'PostScript header' music-drawing-routines.ps > Could it possibly be my version of xdvi? It's 22.58. No! It's probably a matter of how your teTeX installation is setup. > Mats Bengtsson wrote: > > >You say that you compiled the program yourself but you didn't > >say how you installed it. If you did a make install, the file > >should be placed below share/lilypond/tex/, where teTeX will find > >it unless you've fiddled a lot with your texmf.cnf or forgot to > >run texhash after the installation. > > > > /Mats > > > > > > > > > > > >>Hello-- > >> > >>Having just downloaded and compiled the 1.6.6 sourcecode, I ran ly2dvi > >>-P on an .ly sourcefile without error messages and got a surprise when I > >>tried to view the results with xdvi. It loaded with this error message: > >>"Cannot find PostScript file for inclusion in document: > >>music-drawing-routines.ps" > >> > >>The .ps file produced by the same ly2dvi run loaded perfectly with gv. > >>The same thing happens with all my .ly sourcefiles. Is there a > >>diagnostic I can run to track down the problem? This did not happen with > >>1.6.5, and I was careful to run the font cleaning script after installation. > >> > >>Thank you, my friends. > >> > >>Carter > >> > >> > > > > > >___ > >Lilypond-user mailing list > >[EMAIL PROTECTED] > >http://mail.gnu.org/mailman/listinfo/lilypond-user > > > > > > > > > -- > > +-+ > |Carter Brey ([EMAIL PROTECTED])| > +-+ > Homepage: > http://www.nyplive.org/music/orchestra/index.cfm?page=profile&personNum=7 > A student who changes the course of history is probably taking an exam. > > > > ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
Hi, Yes, I did a make install, and music-drawing-routines.ps appears not only in /usr/local/share/lilypond/tex but also in /usr/local/share/lilypond/ps. I ran texhash just to be on the safe side (which actually I never did with previous version installs, and never had problems) but still get the same error message. As with other version installs, I placed lilypond-profile in my $PATH and sourced it to set the tree. Could it possibly be my version of xdvi? It's 22.58. Mats Bengtsson wrote: You say that you compiled the program yourself but you didn't say how you installed it. If you did a make install, the file should be placed below share/lilypond/tex/, where teTeX will find it unless you've fiddled a lot with your texmf.cnf or forgot to run texhash after the installation. /Mats Hello-- Having just downloaded and compiled the 1.6.6 sourcecode, I ran ly2dvi -P on an .ly sourcefile without error messages and got a surprise when I tried to view the results with xdvi. It loaded with this error message: "Cannot find PostScript file for inclusion in document: music-drawing-routines.ps" The .ps file produced by the same ly2dvi run loaded perfectly with gv. The same thing happens with all my .ly sourcefiles. Is there a diagnostic I can run to track down the problem? This did not happen with 1.6.5, and I was careful to run the font cleaning script after installation. Thank you, my friends. Carter ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user -- +-+ |Carter Brey ([EMAIL PROTECTED])| +-+ Homepage: http://www.nyplive.org/music/orchestra/index.cfm?page=profile&personNum=7 A student who changes the course of history is probably taking an exam. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
You say that you compiled the program yourself but you didn't say how you installed it. If you did a make install, the file should be placed below share/lilypond/tex/, where teTeX will find it unless you've fiddled a lot with your texmf.cnf or forgot to run texhash after the installation. /Mats > Hello-- > > Having just downloaded and compiled the 1.6.6 sourcecode, I ran ly2dvi > -P on an .ly sourcefile without error messages and got a surprise when I > tried to view the results with xdvi. It loaded with this error message: > "Cannot find PostScript file for inclusion in document: > music-drawing-routines.ps" > > The .ps file produced by the same ly2dvi run loaded perfectly with gv. > The same thing happens with all my .ly sourcefiles. Is there a > diagnostic I can run to track down the problem? This did not happen with > 1.6.5, and I was careful to run the font cleaning script after installation. > > Thank you, my friends. > > Carter ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user