[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new option for lilypond-book
From: |
Jan Nieuwenhuizen |
Subject: |
Re: new option for lilypond-book |
Date: |
Tue, 15 Oct 2002 22:41:21 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
Werner LEMBERG <address@hidden> writes:
> I've just installed a patch which complements my last change to
> lilypond-book: A new format `texi-html' which creates eps and png
> files.
>
> Please check my changes for lilypond's make system -- it is far too
> complicated for me -- and make appropriate fixes if necessary.
After applying this 'obvious' patch:
? pats
Index: GNUmakefile.in
===================================================================
RCS file: /cvsroot/lilypond/lilypond/GNUmakefile.in,v
retrieving revision 1.58.2.5
diff -p -u -r1.58.2.5 GNUmakefile.in
--- GNUmakefile.in 15 Oct 2002 14:57:09 -0000 1.58.2.5
+++ GNUmakefile.in 15 Oct 2002 20:35:45 -0000
@@ -44,10 +44,10 @@ doc: run-reqs
$(MAKE) -C Documentation
web-doc: web-reqs
- $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html input/regression/ WWW
- $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html input/template/ WWW
- $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html input/test/ WWW
- $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html Documentation WWW
+ $(MAKE) out=www LILYPOND_BOOK_FORMAT=tex-html -C input/regression/ WWW
+ $(MAKE) out=www LILYPOND_BOOK_FORMAT=tex-html -C input/template/ WWW
+ $(MAKE) out=www LILYPOND_BOOK_FORMAT=tex-html -C input/test/ WWW
+ $(MAKE) out=www LILYPOND_BOOK_FORMAT=tex-html -C Documentation WWW
$(MAKE) footify
pfa-fonts:
make web says:
Reading
`/var/fred/cvs/savannah/lily-1.6/lilypond/input/regression/out-www/regression.tely'
Traceback (most recent call last):
File "../../scripts/lilypond-book.py", line 1547, in ?
do_file(input_filename)
File "../../scripts/lilypond-book.py", line 1428, in do_file
chunks = read_doc_file(input_filename)
File "../../scripts/lilypond-book.py", line 995, in read_doc_file
determine_format (str)
File "../../scripts/lilypond-book.py", line 988, in determine_format
__main__.paperguru = g
UnboundLocalError: local variable 'g' referenced before assignment
make[1]: *** [out-www/regression.texi] Error 1
Who's to be the paper guru?
Jan.
PS: didn't commit to CVS yet, as I'm not sure what the
LILYPOND_BOOK_FORMAT=tex-html option actually does: we *do* want
png output with the web doc. And if this option is ok, it should
probably be set in each local make file rather than only at top
level.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org