Hi Sören
On Wed, 10 Nov 1999 23:17:49 +0200 (EET), you wrote:
>Everything works fine until I use lyrics containing characters above
>ASCII 127. They just don't print. When running ly2dvi on a file
>containing these letters everything works fine, but when lilypond is run
>on the same file and the output is run through TeX, the same problem
>occurs. Something's happening somewhere in the TeX-ing, but is there a
>workaround?
One possible problem is missing or wrong inputenc in LaTeX-file. I
have used following when typesetting lyrics in Finnish, in Swedish and
in German:
\usepackage[latin1]{inputenc}
And feed through LaTeX, not directly to TeX:
latex model.tex
Programs I use:
LilyPond 1.2.0.jbr1-95
Windows 95B (OSR2)
MikTeX 1.20c (July 1999)
PythonWin 1.5.2
In Lily 1.2.0 there's a problem in hyphen positioning when using
scandinavian or other umlaut-characters. Scand chars are treated as if
their width were zero and hyphen then positioned too close to the
preceeding syllable. Problem fixed by Mats Bengtsson in newer
releases, I think. Not yet available for Windows, unfortunately.
Workaround is to add spaces (= underscores in Lily) to syllables with
scand chars, about twice the number of scands. An example:
härlighet -> här__ -- lig -- het
Discussion and Mats Bengtsson's patch in:
[EMAIL PROTECTED]
At the end of this mail there's "LaTeX-envelope" (model.tex) I have
used for songs with lyrics included in the staff.
Happy Lilying!
Wolf
(Helsinki, Finland)
%--[begin model.tex]
% -*-LaTeX-*-
% model.tex
\documentclass[a4paper,10pt]{article}
%%%% DON'T USE IF LYRICS FROM LILY, LOOSES SCANDINAVIAN CHARS
%%%% \usepackage[T1]{fontenc}
%%%%
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{graphics}
\geometry{width=170mm, left=20mm, height=288mm, top=0mm}
\fancypagestyle{plain}{%
\fancyhf{}
%%%% VARIOUS PAGENUMBERINGS
%% top-right of header ("Sivu n/m)
%\rhead{\small Sivu \thepage /\pageref{LastPage}}
%% top-right corner of paper ("Sivu n/m)
\rhead{\setlength{\unitlength}{\baselineskip}%
\begin{picture}(0,0)
\put(3,-1){\makebox(0,0)[r]{\small Sivu \thepage
/\pageref{LastPage} }}
\end{picture}
\leftmark}
%% pagenumber to the bottom-right of footer
% \rfoot{Sivu \thepage\ / \pageref{LastPage}} % as "Sivu n / m"
% \rfoot{\small Sivu \thepage /\pageref{LastPage}} % as "Sivu n/m"
%%%% INFO IN THE FOOTER
\rfoot{\small ed rwl v0.0} % editor & version
\cfoot{}
\lfoot{\small Name of the song\ldots sov. Arranger}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0.0pt}
}
\begin{document}
\pagestyle{plain}
\begin{center}
{\huge\bf Name of the song}\\
% {\large\bf Subtitle}
\end{center}
%% Simple fields for composer, arranger etc
%
\newcommand{\LftUpFld} {}
\newcommand{\LftDnFld} {}
\newcommand{\RgtUpFld} {Composer}
\newcommand{\RgtDnFld} {sov. Arranger}
%
\vspace{5mm}
\noindent{\small \LftUpFld} \hfill {\sc \RgtUpFld}\par
\noindent{\small \LftDnFld} \hfill {\small \RgtDnFld}\par
\vspace{6mm}
\input{FromLily.tex} %% notes & lyrics from Lily
\end{document}
%--[end model.tex]
--
Wolf Löther
[EMAIL PROTECTED]