Add macro to include current position in the doc.