Re: PS failure with 1.6.6

2002-11-13 Thread Mats Bengtsson
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

2002-11-13 Thread Mats Bengtsson
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

2002-11-12 Thread Werner LEMBERG

  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

2002-11-12 Thread Werner LEMBERG

  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

2002-11-12 Thread Han-Wen Nienhuys
[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



PS failure with 1.6.6

2002-11-11 Thread Mark Hindley
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!!

Mark

With KPATHSEA_DEBUG=-1

--- working directory: /tmp/
% xdvi /tmp/Hindley.F.dvi 21 | grep music-drawing
xdvi: cannot find PS file `music-drawing-routines.ps'.

Done 14:20:08

--- working directory: ~/Mail/
% oxdvi /tmp/Hindley.F.dvi 21 | grep music-drawing
kdebug:fopen(/tmp/music-drawing-routines.ps, r) = 0x0
kdebug:start search(file=music-drawing-routines.ps, must_exist=0, find_all=0, 
path=.:/usr/share/lilypond/1.6.6/dvips//:/home/mark/texmf/dvips//:/usr/local/share/texmf/dvips//:/usr/local/lib/texmf/dvips//:!!/usr/share/texmf/dvips//:/usr/share/lilypond/1.6.6/pdftex//:/home/mark/texmf/pdftex//:/usr/local/share/texmf/pdftex//:/usr/local/lib/texmf/pdftex//:!!/usr/share/texmf/pdftex//:/usr/share/lilypond/1.6.6/tex//:/home/mark/texmf/tex//:/usr/local/share/texmf/tex//:/usr/local/lib/texmf/tex//:!!/usr/share/texmf/tex//:/usr/share/lilypond/1.6.6/fonts/type1//:/home/mark/texmf/fonts/type1//:/usr/local/share/texmf/fonts/type1//:/usr/local/lib/texmf/fonts/type1//:!!/usr/share/texmf/fonts/type1//).
kdebug:kpse_normalize_path (./music-drawing-routines.ps) = 0
kdebug:kpse_normalize_path (/usr/share/lilypond/1.6.6/dvips/music-drawing-routines.ps) 
= 1
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/home/mark/texmf/dvips//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/share/texmf/dvips//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/lib/texmf/dvips//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/share/texmf/dvips//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/home/mark/texmf/pdftex//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/share/texmf/pdftex//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/lib/texmf/pdftex//)
 = 0
kdebug:hash_lookup(music-drawing-routines.ps) = (nil)
kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/
kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/share/texmf/pdftex//)
 = 0
kdebug:hash_lookup(/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps) = (nil)
kdebug:dir_links(/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps) = -1
kdebug:kpse_normalize_path (/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps) 
= 1
kdebug:search(music-drawing-routines.ps) = 
/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps
kdebug:fopen(/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps, r) = 0x81da418

Done 14:21:14


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



Re: PS failure with 1.6.6

2002-11-11 Thread Carter Brey
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=profilepersonNum=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

2002-11-01 Thread Rune Zedeler
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

2002-10-30 Thread Carter Brey
 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=profilepersonNum=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

2002-10-30 Thread Carter Brey
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=profilepersonNum=7






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


PS failure with 1.6.6

2002-10-25 Thread Carter Brey
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

--

+-+
|Carter Brey ([EMAIL PROTECTED])|
+-+
Homepage:
http://www.nyplive.org/music/orchestra/index.cfm?page=profilepersonNum=7
All I can think of is a platter of organic PRUNE CRISPS being trampled
by an army of swarthy, Italian LOUNGE SINGERS ...
 9:44am  up 3 days, 23:57,  5 users,  load average: 0.06, 0.01, 0.00




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