[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Bug finding PFA file in ly2dvi
From:       Kim Shrier <kim () tinker ! com>
Date:       2002-12-14 1:01:19
Message-ID: 3DFA82DF.5040502 () tinker ! com
[Download RAW message or body]

I am using version 1.7.9 on FreeBSD 4.7 compiled from source.

The ly2dvi script is unable to open the feta20.pfa file because the path
returned by kpsewhich has a newline character on the end of the string.
If this newline is stripped, ly2dvi works correctly.  I am attaching a
patch to fix the problem.

Kim

-- 
 Kim Shrier - principal, Shrier and Deihl - mailto:kim@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web Hosting
                     http://www.tinker.com/


["ly2dvi.patch" (text/plain)]

--- ly2dvi.orig	Mon Dec  2 18:40:54 2002
+++ ly2dvi	Fri Dec 13 18:48:46 2002
@@ -532,7 +532,7 @@
 
 
 	if 'PDF' in targets:
-		where = ly.read_pipe ('kpsewhich feta20.pfa')
+		where = ly.read_pipe ('kpsewhich feta20.pfa').strip ()
 
 		pfa_file  = None
 		if where:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic