2004-11-06 Jan Nieuwenhuizen <janneke@gnu.org>
+ * elisp/lilypond-indent.el (LilyPond-indent-level): 2 is now standard.
+
+ * tex/lilyponddefs.tex: If inputencodingUse latin1 inputencoding if
+
+ * scm/framework-tex.scm (font-load-command): Use T1 if no
+ font-encoding set.
+
* scm/lily.scm (postscript->pdf): Remove .pdf file if it
exists before converting.
;;; * currently, in bracket matching one may need a non-bracket
;;; chararacter between the bracket characters, like ( ( ) )
-(defcustom LilyPond-indent-level 4
+(defcustom LilyPond-indent-level 2
"*Indentation of lilypond statements with respect to containing block."
:group 'LilyPond
:type 'integer)
"\n"
"\\def\\" (tex-font-command font) "{%\n"
;; UGH. Should be handled via alist.
- (if (equal? "Extended-TeX-Font-Encoding---Latin" font-encoding)
+ (if (or (equal? "Extended-TeX-Font-Encoding---Latin" font-encoding)
+ (not font-encoding))
" \\lilypondfontencoding{T1}"
" ")
"\\lilypond" (tex-font-command font)
%% As a safety guard, don't produce auxiliary files.
\nofiles
- \usepackage[\lilypondpaperinputencoding]{inputenc}
+ %% FIXME: workaround non-existant TeX.def.
+ \ifx\lilypondpaperinputencoding=TeX
+ \usepackage[\lilypondpaperinputencoding]{inputenc}
+ \else
+ \usepackage[latin1]{inputenc}
+ \fi
\pagestyle{empty}
\lilypondifundefined{lilypondclassic}