Output full reference document