# Does newlfm define \InfoPathName?

I'm getting an error:

! Undefined control sequence.
l.12 \InfoFileName
{db.tex}


For background \InfoFileName is the macro used to change where newlfm gets its address information from.

-

It seems that the newlfm manual is wrong about this macro. With the minimal example

\documentclass{newlfm}
\show\InfoFileName
\begin{document}
\begin{newlfm}
\show\InfoFileName
\end{newlfm}
\end{document}


you see that the macro is undefined in both cases. Reading the code of newlfm.cls reveals the issue: it is not a macro but is instead a key for setting using the \newlfmP macro. Try:

\documentclass{newlfm}
\newlfmP{InfoFileName = XXX}
\begin{document}
\begin{newlfm}
\end{newlfm}
\end{document}


Of course, replace XXX here with what you actually need!

-
I've reported this as a mistake in the manual – Joseph Wright Nov 15 '10 at 19:37