When her husband Martin , a second-year student , falls ill with cancer , she attends both her classes and his while caring for Martin and their infant daughter Jane .
In the film , On the Basis of Sex , Ginsburg attends Martin 's classes , taking notes and transcribing lectures for him when he falls ill .