title: Insert lecture number and page number of lecture in footline
body: <p>I am dividing a semester's worth of lectures via the \lecture command.
  I'd like to have in the footline (among other things) the lecture
  number, date, and page number of the current lecture.  I would also
  like to use the default style footline, with the black box on the left
  and the blue on the right.  So I define a lecture with e.g.</p>
  
  <pre><code>\lecture{January 28, 2010}{lecture01}  
  </code></pre>
  
  <p>with </p>
  
  <pre><code>\title[Lecture \insertlecturenumber{}(\insertlecture)\quad{}Page \insertframenumber]{Course Title}  
  </code></pre>
  
  <p>in the preamble, I get an error; it will not accept \insertlecture
  there.  If I remove \insertlecture, it does what I want, except that
  the page number is counted from the start of the semester, not the
  lecture.  Is there any way to do this?  Thank you.</p>
  
  <p>Liam</p>