# [Dev-luatex] lineno.sty doesn't work, problems with MinionPro.sty

Oliver Heins olli at sopos.org
Tue May 22 17:51:42 CEST 2007

I'm not sure if this is the right time to report these problems.  Don't
hesitate to tell me to shut up if it ain't :-)

lineno.sty doesn't seem to work with luatex (rev. 439).  it complains that
some font metrics are not found and doesn't set any line numbers.

| ! Font T1/cmr/m/n/5=ecrm0500 at 5.0pt not loadable: Metric (TFM/OFM)
|                    relax

(Same with ecss0500 at 5.0pt and ecsl1000 at 10.0pt)

With MinionPro.sty there are some interesting problems which are hard to
describe and are probably best shown by example:

% -----------------------------------------------------
\pdfoutput=1
\documentclass[a4paper,10pt]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{MinionPro} % comment this out
\usepackage{ledmac,blindtext}

\makeatletter

%% Outputroutine
\renewcommand*{\do at linehook}{%
\latelua0{
pageno = 1
}}

\makeatother

\linenummargin{outer}

\begin{document}

\beginnumbering
\pstart
\blindtext[3]
\pend
\endnumbering

\end{document}
% -----------------------------------------------------

I'm just playing a bit with the output routine; do at linehook is a hook of
ledmac in its otr.  Oddly enough, everything works fine when
\usepackage{MinionPro} is commented out.

Regards
olli