On Thu, Mar 15, 2007 at 06:27:33PM +0100, Frank Küster wrote: > Dear Paul, > > I'm the maintainer of TeXLive in Debian, which contains your newlfm > LaTeX class. A user has reported a problem with the class: > > Cameron Horsburgh <[EMAIL PROTECTED]> wrote: > > > I'm trying to get newlfm to produce letters suitable for printing > > straight onto my company's preprinted stationery. Because the > > stationery already has contact details printed, I do not need newlfm > > to to produce those details. newlfm has options to do this --- for > > example, I pass the option [busletternofrom] to the documentclass, > > although there are other ways of doing this. > > > > However: if I pass any option to turn the contact details off, the > > addressee's address disappears also. All other options (placement, > > etc) work properly. > > I haven't tried this---Cameron, it would be great if you could provide a > minimal example so that we can see what you are doing exactly, see
Sure --- here's one I prepared earlier! It's fairly minimal, although I find it easier to follow the document section if I use nested definitions in letrinfo.tex. I've tried defining addresses in other places, unnesting definitions and so on, with the same results. One thing to look out for: make sure you remove ./letrinfo.tex and the aux file between invocations --- they don't necessarily update properly between invocations if you change things. Thanks for your time. %%%%%%%%%% Example follows \begin{filecontents}{letrinfo.tex} \makeaddress{GOD}{\name{Jesus Christ}% \addr{Heavenly Mansions\\% 777 Divine Avenue\\% Heaven\\}% }% % \makesignature{ME}{\signame{Jesus Christ, SoG}% \closeline{Yours sincerely,}% }% % \makeletterhead{HEAVEN}{% \sigME% \setadrfr{\adrGOD}% }% % \makeaddress{SATAN}{% \name{Old Nick}% \addr{666 Sulphur Street\\% Brimstone Rise,\\ Hell}% \greet{Dear Nick,}% }% \end{filecontents} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % With nofrom or its equivalents set both % from and to address blocks disappear. % % You may need to delete letrinfo.tex and % minimalNewlfm.aux to make sure changes % to this file are properly reflected % in the final product. \documentclass[busletter]{newlfm} %Renders correctly %\documentclass[busletternofrom]{newlfm} %Renders incorrectly \newlfmP{letrh=HEAVEN,addrt=SATAN} \begin{document} \begin{newlfm} I don't want to talk to you no more, you empty-headed animal food trough wiper! I fart in your general direction! Your mother was a hamster and your father smelt of elderberries! \end{newlfm} \end{document} %%%%%%%%%% Example ends -- ============================================= Cameron Horsburgh =============================================