+2005-11-28 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/lilypond-book.py (do_file): search chunks for
+ \\begin{document}
+
+ * GNUmakefile.in: add copy step in between so we can lose the
+ out-www directories.
+
2005-11-27 Han-Wen Nienhuys <hanwen@xs4all.nl>
* lily/pango-font.cc (pango_item_string_stencil): put
2005-11-25 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * VERSION: release 2.7.19
+
* lily/figured-bass-engraver.cc (process_music): check
figuredBassCenterContinuations first.
<td class="left-column">
<ul>
<li>
- <a class="title" href="../user/out-www/lilypond/Tutorial.html">Tutorial</a>
+ <a class="title" href="user/lilypond/Tutorial.html">Tutorial</a>
<br>(start here)
</ul>
</td>
<ul>
<li>
- <a class="title" href="../topdocs/out-www/NEWS.html">NEWS</a>
+ <a class="title" href="topdocs/NEWS.html">NEWS</a>
<br>(changes since the last major release)
<li>
- <a class="title" href="../topdocs/out-www/INSTALL.html">INSTALL</a>
+ <a class="title" href="topdocs/INSTALL.html">INSTALL</a>
<br>(how to compile)
</ul>
</td>
<ul>
<li>
-<a class="title" href="../user/out-www/lilypond/index.html">User manual</a>
-(in <a class="title" href="../user/out-www/lilypond.pdf">PDF</a>, in
-<a class="title" href="../user/out-www/lilypond.html">one big page, ~4Mb</a>)
+<a class="title" href="user/lilypond/index.html">User manual</a>
+(in <a class="title" href="user/lilypond.pdf">PDF</a>, in
+<a class="title" href="user/lilypond.html">one big page, ~4Mb</a>)
<br>(everything about LilyPond)
-<li><a class="title"href="../../examples.html">Examples</a>
+<li><a class="title"href="../examples.html">Examples</a>
<br>(see some examples)
-<li><a class="title" href="../../input/test/out-www/collated-files.html">Tips and tricks</a>
-(in <a class="title" href="../../input/test/out-www/collated-files.pdf">PDF</a>)
+<li><a class="title" href="../input/test/collated-files.html">Tips and tricks</a>
+(in <a class="title" href="../input/test/collated-files.pdf">PDF</a>)
<br>(for advanced users)
- <li><a class="title" href="../user/out-www/music-glossary/index.html">Glossary</a>
-(in <a class="title" href="../user/out-www/music-glossary.pdf">PDF</a>, in
-<a class="title" href="../user/out-www/music-glossary.html">one big page</a>)
+ <li><a class="title" href="user/music-glossary/index.html">Glossary</a>
+(in <a class="title" href="user/music-glossary.pdf">PDF</a>, in
+<a class="title" href="user/music-glossary.html">one big page</a>)
<br>(for non-English users)
</ul>
<ul>
<li>
- <a class="title" href="../user/out-www/lilypond-internals/index.html">Program reference</a>
- (in <a class="title" href="../user/out-www/lilypond-internals.html">one big page</a>)
+ <a class="title" href="user/lilypond-internals/index.html">Program reference</a>
+ (in <a class="title" href="user/lilypond-internals.html">one big page</a>)
<br>(definitions for tweaking)
<li>
- <a class="title" href="../../input/regression/out-www/collated-files.html">Regression tests</a> (in <a class="title" href="../../input/regression/out-www/collated-files.pdf">PDF</a>) ~ 2.4Mb
+ <a class="title" href="../input/regression/collated-files.html">Regression tests</a> (in <a class="title" href="../input/regression/collated-files.pdf">PDF</a>) ~ 2.4Mb
<br>(for developers)
- <li><a class="title" href="../bibliography/out-www/index.html">Bibliography</a>
+ <li><a class="title" href="bibliography/index.html">Bibliography</a>
<br>(background information)
<li><a class="title" href="THANKS.html">Thank yous</a>
local-WWW-post:
# need UTF8 setting in case this is hosted on a website.
echo -e 'AddDefaultCharset utf-8\nAddCharset utf-8 .html\nAddCharset utf-8 .en\nAddCharset utf-8 .nl\nAddCharset utf-8 .txt\n' > $(top-build-dir)/.htaccess
- $(PYTHON) $(buildscript-dir)/mutopia-index.py -o $(top-build-dir)/examples.html ./
+ $(PYTHON) $(buildscript-dir)/mutopia-index.py -o $(outdir)/examples.html ./
+ echo '<META HTTP-EQUIV="refresh" content="0;URL=Documentation/index.html">' > $(outdir)/index.html
+ echo '<html><body>Redirecting to the documentation index...</body></html>' >> $(outdir)/index.html
+
cd $(top-build-dir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
cd $(top-build-dir) && find . -name \*.html~ -print | xargs rm -f
cd $(top-build-dir) && find Documentation input \
$(web-ext:%=-path '*/out-www/*.%' -or) -type l \
> $(outdir)/weblist
- echo '<META HTTP-EQUIV="refresh" content="0;URL=Documentation/out-www/index.html">' > $(top-build-dir)/index.html
- echo '<html><body>Redirecting to the documentation index...</body></html>' >> $(top-build-dir)/index.html
- cd $(top-build-dir) && ls *.html >> $(outdir)/weblist
- cat $(outdir)/weblist | (cd $(top-build-dir); GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -)
+ ls $(outdir)/*.html >> $(outdir)/weblist
+
+## rewrite paths so we lose out-www
+ rm -rf $(outdir)/web-root/
+ mkdir $(outdir)/web-root/
+ cat $(outdir)/weblist | (cd $(top-build-dir); tar -cf- -T- ) | \
+ tar -C $(outdir)/web-root/ -xf -
+ cd $(outdir)/web-root/ && \
+ for a in `find -name out-www`; do \
+ mv $$a/* $$a/.. ; \
+ rmdir $$a ; \
+ done
tree-prefix = $(outdir)
tree-bin = $(tree-prefix)/bin
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=7
-PATCH_LEVEL=19
+PATCH_LEVEL=20
MY_PATCH_LEVEL=
static Long_option_init options_static[]
= {
- {_i ("BACK"), "backend", 'b', _i ("use backend BACK (gnome, ps [default],eps,\nscm, svg, tex, texstr)")},
+ {_i ("BACK"), "backend", 'b', _i ("use backend BACK (gnome, ps,eps,\nscm, svg, tex, texstr)\ndefault: PS")},
{_i ("SYM=VAL"), "define-default", 'd',
_i ("set a Scheme program option. Uses #t if VAL is not specified\n"
printf (Long_option_init::table_string (options_static).to_str0 ());
printf ("\n");
printf (_f ("Report bugs to %s or via %s",
- "bug-lilypond@gnu.org"
+ "bug-lilypond@gnu.org",
"http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs"
).to_str0 ());
printf ("\n");
def png_is_outdated (self):
return 0
+ def is_plain (self):
+ return false
+
class Substring (Chunk):
def __init__ (self, source, start, end, line_number):
self.source = source
self.end = end
self.line_number = line_number
self.override_text = None
+
+ def is_plain (self):
+ return true
def replacement_text (self):
if self.override_text:
ly.progress (_ ("Dissecting..."))
chunks = find_toplevel_snippets (source, snippet_types)
- if format == LATEX:
- modify_preamble (chunks[0])
-
-
+ if format == LATEX:
+ for c in chunks:
+ if (c.is_plain () and
+ re.search (r"\\begin{document}", c.replacement_text())):
+ modify_preamble (chunks[0])
+ break
ly.progress ('\n')
if filter_cmd: