Add pdf pipeline
Can now build pdf / word from markdown with pandoc style references
PG paper and reorganising