SAN FRANCISCO — Alan MacPherson, a pioneering, larger-than-life patent lawyer in Silicon Valley, died suddenly of a heart attack on Dec. 8, at his home in Laguna Beach. He was 74.

The news came as a shock to partners at his San Jose-based firm, MacPherson Kwok Chen & Heid, where he was still very active as a patent litigator, prosecutor and counselor.