$ groff -mspdf -j filename.chem > file.pdf