[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TeX escapes don't work
From: |
Jan Nieuwenhuizen |
Subject: |
Re: TeX escapes don't work |
Date: |
Sat, 06 Nov 2004 18:24:46 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Bertalan Fodor writes:
> TeX escapes mess up lyrics spacing in DVI output
Indeed. You should use inputencoding= #"TeX", but then you hit two
more bugs. The patch below seems to fix this, can you verify?
\paper {
inputencoding = #"TeX"
}
<<
\new Staff {
c' d' e' f'
}
\addlyrics {
\'Ar -- v\'iz -- "t\H{u}" -- "r\H{o}"
}
>>
This is not in CVS yet because I'm not sure these are the correct
fixes. Maybe we should make a TeX.def, Werner? I'm also not sure
why, in framework-tex.scm:font-load-command, font-encoding is #f,
Han-Wen?
Jan.
diff -p -u -r1.2810 ChangeLog
--- ChangeLog 6 Nov 2004 17:13:48 -0000 1.2810
+++ ChangeLog 6 Nov 2004 17:17:30 -0000
@@ -1,5 +1,8 @@
2004-11-06 Jan Nieuwenhuizen <address@hidden>
+ * 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.
Index: scm/framework-tex.scm
===================================================================
RCS file: /cvsroot/lilypond/lilypond/scm/framework-tex.scm,v
retrieving revision 1.49
diff -p -u -r1.49 framework-tex.scm
--- scm/framework-tex.scm 6 Nov 2004 17:13:47 -0000 1.49
+++ scm/framework-tex.scm 6 Nov 2004 17:17:30 -0000
@@ -60,7 +60,8 @@
"\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)
Index: tex/lilyponddefs.tex
===================================================================
RCS file: /cvsroot/lilypond/lilypond/tex/lilyponddefs.tex,v
retrieving revision 1.113
diff -p -u -r1.113 lilyponddefs.tex
--- tex/lilyponddefs.tex 23 Oct 2004 19:45:40 -0000 1.113
+++ tex/lilyponddefs.tex 6 Nov 2004 17:17:30 -0000
@@ -195,7 +195,12 @@
%% 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}
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- TeX escapes don't work, Bertalan Fodor, 2004/11/06
- Re: TeX escapes don't work, Erik Sandberg, 2004/11/06
- Re: TeX escapes don't work, Jan Nieuwenhuizen, 2004/11/06
- Re: TeX escapes don't work,
Jan Nieuwenhuizen <=
- Re: TeX escapes don't work, Han-Wen Nienhuys, 2004/11/06
- Re: TeX escapes don't work, Jan Nieuwenhuizen, 2004/11/06
- Re: TeX escapes don't work, Han-Wen Nienhuys, 2004/11/06
- Re: TeX escapes don't work, Jan Nieuwenhuizen, 2004/11/06
- Re: TeX escapes don't work, Jan Nieuwenhuizen, 2004/11/06
- Re: TeX escapes don't work, Han-Wen Nienhuys, 2004/11/06
- Re: TeX escapes don't work, Jan Nieuwenhuizen, 2004/11/07
- Re: TeX escapes don't work, Han-Wen Nienhuys, 2004/11/07
Re: TeX escapes don't work, Werner LEMBERG, 2004/11/10
TeX escapes don't work, Han-Wen Nienhuys, 2004/11/06