change to fix limitation of section filter from being able to read
section headings with a reference.
ensure that correct dependency is specified for pdf compilation