From: hanwen <hanwen>
Date: Tue, 23 Apr 2002 13:53:02 +0000 (+0000)
Subject: pdf
X-Git-Tag: release/1.5.59~93
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8ae075be9319c5d56c1309777ed0177b75df1275;p=lilypond.git

pdf
---

diff --git a/ChangeLog b/ChangeLog
index d65f487fb8..bd761755a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-04-23  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+	* Documentation/index.texi: add PDF links.
+
+	* Documentation/user/GNUmakefile (PDF_FILES): add PDF files to website.
+
 	* lily/system-start-delimiter-engraver.cc (acknowledge_grob):
 	compare #'glyph as strings. 
 
diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile
index bda53f7212..a5a3382397 100644
--- a/Documentation/GNUmakefile
+++ b/Documentation/GNUmakefile
@@ -16,7 +16,11 @@ test-reg:
 	rm -f out-www/regression-test.html out-www/regression-test.texi 
 	$(MAKE) out=www out-www/regression-test.html
 
-local-WWW: copy-for-me txt-to-html $(outdir)/regression-test.ps.gz $(outdir)/regression-test.html footify
+PS_FILES=$(outdir)/regression-test.ps
+PDF_FILES=$(PS_FILES:.ps=.pdf)
+PS_GZ_FILES=$(addsuffix  .gz, $(PS_FILES))
+
+local-WWW: copy-for-me txt-to-html $(PS_GZ_FILES) $(PDF_FILES) $(outdir)/regression-test.html footify
 
 copy-for-me:
 	$(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true
diff --git a/Documentation/index.texi b/Documentation/index.texi
index 9c7e44ba40..b4c0b0cf22 100644
--- a/Documentation/index.texi
+++ b/Documentation/index.texi
@@ -94,13 +94,16 @@ the mailing lists.
 The reference manual.
 
 @item @uref{../user/out-www/lilypond/lilypond.html,lilypond} The complete
-user manual, (in @uref{../user/out-www/lilypond.ps.gz,PostScript}). This
+user manual, (in @uref{../user/out-www/lilypond.ps.gz,PostScript} and
+@uref{../user/out-www/lilypond.pdf,PDF}). This
 manual contains among others the tutorial, the reference manual.
 
 @c glossary maybe for new users?
 @item @uref{../user/out-www/glossary.html,glossary} A glossary of musical
 terms, including translations.  (in
-@uref{../user/out-www/glossary.ps.gz,Postscript})  Read this if you're not
+@uref{../user/out-www/glossary.ps.gz,Postscript}
+and
+@uref{../user/out-www/glossary.pdf,PDF})  Read this if you're not
 familiar with English terms for notation.
 
 @item @uref{../user/out-www/lilypond-internals/lilypond-internals.html,lilypond-internals}
@@ -122,10 +125,17 @@ want to fine-tune output, you need the information in this document.
 @itemize @bullet
 @item @uref{../out-www/regression-test.html,Regression Test}
 A large document that tests all kinds of features (also as
-@uref{../out-www/regression-test.ps.gz,Postscript}).
+@uref{../out-www/regression-test.ps.gz,Postscript}
+and
+@uref{../out-www/regression-test.pdf,PDF}).
 @item @uref{../../input/bugs/out-www/bugs.html,Bugs}
-A document that shows bugs (also as
-@uref{../../input/bugs/out-www/bugs.ps.gz,Postscript}).
+A document that shows bugs
+
+
+@c  (also as
+@c @uref{../../input/bugs/out-www/bugs.ps.gz,Postscript}
+@c and @uref{../../input/bugs/out-www/bugs.pdf,PDF}).
+
 @item
 @uref{http://www2.iro.umontreal.ca/~pinard/po/registry.cgi?domain=lilypond">Translations,lilypond
 textual domain
diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile
index 245127e48d..def4e0dd4d 100644
--- a/Documentation/user/GNUmakefile
+++ b/Documentation/user/GNUmakefile
@@ -13,6 +13,7 @@ EXTRA_DIST_FILES= $(LATEX_FILES)
 HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html))
 
 PS_FILES = $(DVI_FILES:.dvi=.ps)
+PDF_FILES = $(DVI_FILES:.dvi=.pdf)
 
 PS_GZ_FILES= $(addsuffix .gz, $(PS_FILES))
 
@@ -85,7 +86,7 @@ deep-symlinks:
 endif
 
 
-local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) $(DEEP_HTML_FILES) info-dir
+local-WWW: $(HTML_FILES) $(datafiles) $(PDF_FILES) $(PS_GZ_FILES) $(DEEP_HTML_FILES) info-dir
 
 local-WWW-clean: deep-WWW-clean
 
diff --git a/input/regression/system-start-bracket.ly b/input/regression/system-start-bracket.ly
index 4a460c7dcf..7b6e7bd47a 100644
--- a/input/regression/system-start-bracket.ly
+++ b/input/regression/system-start-bracket.ly
@@ -14,4 +14,4 @@ The piano brace should be shifted horizontally if it  is enclosed in a bracket.
 	    e4
 	   >
     >
-    }}
+    }\paper {linewidth = -1. }}
diff --git a/make/ly-rules.make b/make/ly-rules.make
index 2f5b494235..6c21074901 100644
--- a/make/ly-rules.make
+++ b/make/ly-rules.make
@@ -47,3 +47,8 @@ $(outdir)/%.tex: $(outdir)/%.ly
 $(outdir)/%-book.ps: $(outdir)/%.ps
 	psbook $< $<.tmp
 	pstops  '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@
+
+$(outdir)/%.pdf: $(outdir)/%.dvi
+	dvips -u lilypond.map -o $@.pdfps  -Ppdf $<
+	ps2pdf $@.pdfps $@
+