binary): add note about path.
* Documentation/user/macros.itexi: add @c at EOL, hopefully
suppresses superfluous spaces.
+2003-07-25 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * Documentation/user/invoking.itexi (Invoking the lilypond
+ binary): add note about path.
+
+ * Documentation/user/macros.itexi: add @c at EOL, hopefully
+ suppresses superfluous spaces.
+
2003-07-25 Jan Nieuwenhuizen <janneke@gnu.org>
* make/srcdir.make.in (web-install): Use SRCMAKE, set outdir.
2003-07-25 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * scripts/lilypond-book.py: HTML fixes (by Michael Ossmann
+ <mike@ossmann.com>)
+
* Documentation/bibliography/computer-notation.bib (pages): prune
unscientific language.
If you use sh, bash, or a similar shell, then add the following to
your @file{.profile}
@example
- . lilypond-profile
+ . @var{/the/path/to/}lilypond-profile
@end example
If you use csh, tcsh or a similar shell, then add the following to
your @file{~/.login}
@example
- source lilypond-login
+ source @var{/the/path/to/}lilypond-login
@end example
+Of course, in both cases, you should substitute the proper location of
+either script.
+
These scripts set the following variables
@table @code
@item TEXMF
@c dup?
@ifhtml
@macro internalsref{NAME}
-@uref{../lilypond-internals/\NAME\.html,\NAME\}
-@cindex \NAME\
+@uref{../lilypond-internals/\NAME\.html,\NAME\}@c
+@cindex \NAME\@c
@end macro
@macro inputfileref{DIR,NAME}
-@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}
+@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
@end macro
@end ifhtml
@ifinfo
@macro internalsref{NAME}
-@inforef{\NAME\,,lilypond-internals}
-@cindex \NAME\
+@inforef{\NAME\,,lilypond-internals}@c
+@cindex \NAME\@c
@end macro
@macro inputfileref{DIR,NAME}i
@end ifinfo
@iftex
-@macro internalsref{NAME}
-@cindex \NAME\
-@code{\NAME\}
+@macro internalsref{NAME}@c
+@cindex \NAME\@c
+@code{\NAME\}@c
@end macro
-@macro inputfileref{DIR,NAME}
-@file{\DIR\/\NAME\}
+@macro inputfileref{DIR,NAME}@c
+@file{\DIR\/\NAME\}@c
@end macro
@end iftex
+HEAD HACKERS
+
+Han-Wen Nienhuys
+Jan Nieuwenhuizen
+
+
CONTRIBUTORS
Graham Percival
Heikki Junes
-Jeremie Lumbroso
Juergen Reuter
Kim Shrier
Rune Zedeler
Werner Lemberg
+
BUG HUNTERS
Amelie Zapf
Richard Shann
Ryan O'Neil
Simon Bailey
+Simon Weatherill
Stanislav Brabec
Thomas Rijniers
Werner Lemberg
## inline music doesn't.
## possibly other center options?
'output-html': r'''
-%(pageimages)s''',
+%(htmlimages)s''',
},
outname = base + '.ly'
changed = update_file (content, outname)
- preview = base + ".png"
+ preview = base + ".preview.png"
preview_page = base + '-page1.png'
if changed or not (os.path.isfile (preview) or
ly.system ('%s --preview --postscript --verbose %s ' % (ly2dvi_binary, base) )
- ly.make_ps_images (base)
+ ly.make_ps_images (base + '.ps')
ly.system ('gzip -9 - < %s.ps > %s.ps.gz' % (base, base))
def size_str (fn):
menu = ''
page_files = glob.glob ('%s-page*.png' % base)
- for p in string.split (page_files, '\n'):
+ for p in page_files:
p = p.strip()
if os.path.isfile (p):
sz = size_str (p)
open (base + '.html','w'). write (separate_menu)
- inline_menu = '<p/><a href="%s.html"><img src="%s"><p/></a>' % (base, original_name, preview)
+ inline_menu = '<p/><a href="%s.html"><img alt="%s" src="%s"></a><p/>' % (base, original_name, preview)
return ('ly2dvi', inline_menu)