iso. ly2dvi.
2003-09-16 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * lilypond-mode.el (LilyPond-command-alist): invoke lilypond
+ iso. ly2dvi.
+
* Documentation/user/*.itely: fixes everywhere
* lily/completion-note-heads-engraver.cc: rewrite engraver:
engraver.
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score { \topVoice
\paper {
Then a @code{Staff_symbol_engraver} adds the staff:
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score { \topVoice
\paper {
The @code{Clef_engraver} defines a reference point for the staff:
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score { \topVoice
\paper {
And the @code{Stem_engraver} adds stems:
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score { \topVoice
\paper {
notation.
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score { \topVoice }
@end lilypond
polyphony? In polyphonic notation, many voices can share a staff.
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score { \context Staff << \topVoice \\ \botVoice >> }
@end lilypond
Similarly, more Staff contexts can be put into a single Score context.
@lilypond[notexidoc]
-\include "engraver-example.ly"
+\include "engraver-example.lyinc"
\score {
<< \new Staff << \topVoice \\ \botVoice >>
\new Staff << \pah \\ \hoom >>
$(MAKE) $(builddir)/share/lilypond-force
-default: $(config_h) builddir-setup $(outdir)/VERSION
+default: $(config_h) builddir-setup
builddir-setup: $(builddir)/share/lilypond-force
STEPMAKE_TEMPLATES=documentation texinfo tex
LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc
-
LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"'
## Hmm, would this work? No -- if we really want examples, move
## examples = font20 ancient-font
## LOCALSTEPMAKE_TEMPLATES += ly mutopia
-EXTRA_DISTFILES=features.abc
+EXTRA_DIST_FILES= $(wildcard *.lyinc)
include $(depth)/make/stepmake.make
+++ /dev/null
-\header {
-% texidoc = "Include file for engraver example."
-}
-
-\paper { raggedright = ##t }
-
-topVoice = \notes \relative c'
-{
- \key d\major
- es8([ g] a[ fis])
- b4
- b16[-. b-. b-. cis-.]
- d4->
-}
-
-
-
-botVoice = \notes \relative c'
-{
- \key d\major
- c8[( f] b[ a)]
- es4
- es16[-. es-. es-. fis-.]
- b4->
-}
-
-
-hoom = \notes \relative c {
- \key d \major
- \clef bass
-
- g8-. r
- r4
- fis8-.
- r8
- r4
- b'4->
-}
-
-pah = \notes \relative c'
-{
- r8 b-.
- r4
- r8 g8-.
- r16 g-. r8
- \clef treble
- fis'4->
-}
--- /dev/null
+% texidoc = "Include file for engraver example."
+
+
+\paper { raggedright = ##t }
+
+topVoice = \notes \relative c'
+{
+ \key d\major
+ es8([ g] a[ fis])
+ b4
+ b16[-. b-. b-. cis-.]
+ d4->
+}
+
+
+
+botVoice = \notes \relative c'
+{
+ \key d\major
+ c8[( f] b[ a)]
+ es4
+ es16[-. es-. es-. fis-.]
+ b4->
+}
+
+
+hoom = \notes \relative c {
+ \key d \major
+ \clef bass
+
+ g8-. r
+ r4
+ fis8-.
+ r8
+ r4
+ b'4->
+}
+
+pah = \notes \relative c'
+{
+ r8 b-.
+ r4
+ r8 g8-.
+ r16 g-. r8
+ \clef treble
+ fis'4->
+}
;; Should expand this to include possible keyboard shortcuts which
;; could then be mapped to define-key and menu.
`(
- ("LilyPond" . ("lilypond %s" . "LaTeX"))
+ ("Raw LilyPond" . ("lilypond-bin %s" . "LaTeX"))
("TeX" . ("tex '\\nonstopmode\\input %t'" . "View"))
- ("2Dvi" . ("ly2dvi %s" . "View"))
- ("2PS" . ("ly2dvi -P %s" . "ViewPS"))
+ ("2Dvi" . ("lilypond %s" . "View"))
+ ("2PS" . ("lilypond -P %s" . "ViewPS"))
("2Midi" . ("lilypond -m %s" . "View"))
("Book" . ("lilypond-book %x" . "LaTeX"))
include $(depth)/make/stepmake.make
default: spec
+
+%%%
+% TODO: make sure font size for text and
+% font size for music both jibe with the number font.
+%%%
%blot_diameter# = .4pt#;
0))
+;;
+;; TODO: make into markup.
+;;
(define-public (alteration->text-accidental-markup alteration)
(make-smaller-markup
(make-raise-markup
(Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
(direction . 1)
(font-family . number)
- (font-relative-size . -3)
+
+ ;; We must do this, other BFs in
+ ;; paper16 become too small.
+ (font-relative-size . -2)
+ (font-magnification . 0.8)
(kern . 0.2)
(meta . ((interfaces . (text-interface rhythmic-grob-interface
bass-figure-interface item-interface
(define-public (musicglyph-markup paper props . rest)
(ly:find-glyph-by-name
- (ly:paper-get-font paper (cons '((font-name . ()) (font-family . music)) props))
- (car rest))
- )
+ (ly:paper-get-font paper (cons '((font-name . ())
+ (font-shape . *)
+ (font-series . *)
+ (font-family . music)) props))
+ (car rest)))
(define-public (lookup-markup paper props . rest)
default: $(OUTCONF_FILES)
-$(outdir)/control: $(addprefix $(outdir)/, $(BLURBS))
-
# local-dist: default
-AT_FILES = $(BLURBS) #
at-dir = $(doc-dir)/
at-ext = .in
spec: $(OUTSPEC_FILES)
+$(OUTSPEC_FILES): $(config_make)
# these two outdir FILES are distributed, since they make sense to have
# without running configure and make.
-AT_FILES = $(BLURBS) #
at-dir = $(doc-dir)/
at-ext = .in
-$(outdir)/%: %.in $(builddir)/config.make
+# config_make dep isn't working. Why?
+$(outdir)/%: %.in $(config_make)
rm -f $@
cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@
+
# substitute occurrences of @VAR@ with $(VAR)
sed-atvariables = -e '\#' $(foreach i, $(ATVARIABLES), -e 's!@$i@!$($i)!g')
-# these are obsolete
-
-# then remove them --hwn
-
-# use ATVARIABLES
-sed-date=sed 's!@DATE@!${date}!g'
-sed-PACKAGE = sed 's!@PACKAGE@!${PACKAGE}!g'
-sed-bash = sed 's!@BASH@!$(BASH)!'
-sed-dir-datadir = sed 's!@DIR_DATADIR@!$(DIR_DATADIR)!'
-sed-package=sed 's!@package@!${package}!g'
-sed-perl = sed 's!@PERL@!$(PERL)!'
-sed-python = sed 's!@PYTHON@!$(PYTHON)!'
-sed-sh = sed 's!@SH@!$(SH)!'
-sed-shell = sed 's!@SH@!$(SHELL)!' | sed 's!@BASH@!$(BASH)!'
-sed-version= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
-sed-step-bindir = sed 's!@STEP_BINDIR@!$(pwd)/$(step-bindir)!'
-