\lilypondfontencoding for both texinfo and latex mode.
* scm/framework-tex.scm (font-load-command): Use
\lilypondfontencoding.
+2004-09-30 Werner Lemberg <wl@gnu.org>
+
+ * tex/lilyponddefs.tex (\lilypondstart): Define
+ \lilypondfontencoding for both texinfo and latex mode.
+
+ * scm/framework-tex.scm (font-load-command): Use
+ \lilypondfontencoding.
+
2004-09-30 Han-Wen Nienhuys <hanwen@xs4all.nl>
* scm/framework-tex.scm (dump-page): take with-extents?
"\\def\\" (tex-font-command font) "{%\n"
;; UGH. Should be handled via alist.
(if (equal? "Extended-TeX-Font-Encoding---Latin" font-encoding)
- " \\fontencoding{T1}\\selectfont"
+ " \\lilypondfontencoding{T1}"
" ")
"\\lilypond" (tex-font-command font)
"}\n"
%% \@nodocument is defined as \relax after `\begin{document}'
\lilypondifundefined{@nodocument}
{%% either plain TeX or texinfo or not at the beginning of LaTeX input
- \def\x{\endgroup}}
+ \def\x{
+ \endgroup
+ \def\lilypondfontencoding##1{}}}
{%% FIXME: a4
%% provide a proper LaTeX preamble (for A4 paper format)
\def\x{
\endgroup
\def\lilyponddocument{}
+ \def\lilypondfontencoding##1{
+ \fontencoding{##1}\selectfont}
\documentclass[a4paper]{article}
%% safe-mode
\nofiles