apply base rules when bulding bib entries; template is bib-entry.tmpl insteadl of bib_entry.tmpl
handle multi refs in <cite>; improve error message in lexer