[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ly2dvi 1.3.141.mb1 is broken (too :o)
From: |
Jan Nieuwenhuizen |
Subject: |
Re: ly2dvi 1.3.141.mb1 is broken (too :o) |
Date: |
24 Mar 2001 12:25:28 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Olivier Guéry <address@hidden> writes:
> Hello
> ly2dvi still failled (but it's not the same error message !!).
> I still don't know if it's a bug or just my config (suse 7.1) the
> origine of
> the problem. here is the output.
I'm not sure if this patch will apply to 141, but this fix will be in
142.
--- ./scripts/ly2dvi.py~ Sat Mar 24 11:24:49 2001
+++ ./scripts/ly2dvi.py Sat Mar 24 12:24:21 2001
@@ -200,8 +200,9 @@
os.mkdir (temp_dir, 0777)
except OSError:
pass
-
-
+ os.chdir (temp_dir)
+
+
def system (cmd, ignore_error = 0):
if verbose_p:
progress (_ ("Invoking `%s\'") % cmd)
@@ -365,9 +366,10 @@
s = s + '\\usepackage{%s}\n' \
% string.join (extra['latexpackages'], ',')
-
- s = s + '\\include{%s}\n' \
- % string.join (extra['latexheaders'], '}\n\\include{')
+
+ if extra['latexheaders']:
+ s = s + '\\include{%s}\n' \
+ % string.join (extra['latexheaders'], '}\n\\include{')
textheight = ''
if extra['textheight']:
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org