Using the achemso class and allowing cross-references between the main text and supporting information.
- To compile: run
latexmk article - This will produce
article.pdf, and the supporting info will be compiled intooutput-subdoc/supporting.pdf - To remove all generated files, run
latexmk -C article(orlatexmk -c articleto keep the PDF)