further clarification of what is and is not acceptable inline reference formatting
omit known citation element tags if they are empty in the document summary input
fix various bugs in reference handling, pattern matching, etc.