+2002-03-20 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * mf/GNUmakefile (lilypond.map): Don't prepend TeX to font name
+ (this fixes pdf output). Drop awk dependency.
+
2002-03-19 Jan Nieuwenhuizen <janneke@gnu.org>
+ * scripts/ly2dvi.py (ly_paper_to_latexpaper): Assume LilyPond's
+ dimensions (linewidth) are in mm.
+
* mf/GNUmakefile (depth): Always allow manual access to pfa target.
* tex/lily-ps-defs.tex: scaletounit using PT/IN==72.
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=43
-MY_PATCH_LEVEL=jcn1
+MY_PATCH_LEVEL=jcn2
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
}
else if (gh_number_p (v))
{
- output_Real_def (prefix + s, gh_scm2double (v));
+ output_Real_def (prefix + s, gh_scm2double (v));
}
}
}
{
SCM scm = scm_list_n (ly_symbol2scm ("lily-def"),
- ly_str02scm (k.ch_l ()),
- ly_str02scm (to_str (v).ch_l ()),
- SCM_UNDEFINED);
+ ly_str02scm (k.ch_l ()),
+ ly_str02scm (to_str (v).ch_l ()),
+ SCM_UNDEFINED);
output_scheme (scm);
}
default: $(ALL_GEN_FILES)
$(outdir)/lilypond.map:
- echo $(FONT_FILES:.mf=) | awk -v RS=' ' '{print $$1 " TeX-" $$1 " <" $$1 ".pfa"}' > $@
+ echo $(FONT_FILES:.mf=) | tr ' ' '\n' | \
+ sed 's/\(.*\)/\1 \1 <\1.pfa/' > $@
##
## todo: this also depends on .tfm, FIXME.
maxlw = max (extra['linewidth'] + [-1])
if maxlw < 0:
# who the hell is 597 ?
- linewidth = '597'
+ linewidth = '597pt'
else:
linewidth = maxlw
- s = s + '\geometry{width=%spt%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
+ s = s + '\geometry{width=%smm%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
if extra['latexoptions']:
s = s + '\geometry{twosideshift=4mm}\n'