Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
3  
Please add a minimal example that illustrates your problem. –  Caramdir Nov 12 '10 at 22:36
add comment

1 Answer

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!

share|improve this answer
2  
I've reported this as a mistake in the manual –  Joseph Wright Nov 15 '10 at 19:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.