Use NFS for vagrant shared directory. The defualt method is too slow.
Only write the PDF text flow once which correctly avoids page breaks.