[metapost] Embedded METAPOST source?

Patrick Rutkowski rutski89 at gmail.com
Sun May 16 03:27:51 CEST 2010

My usual workflow with TeX at the moment is to use put PlainTeX source in a .tex file, and then run it through pdftex(1).

I'm really enjoying learning about using mpost(1) to compile .mp source into nice EPS files to include in the .tex with \convertMPtoPDF.

However, keeping the .mp source in a zillion separate little .mp files is getting a bit annoying.

Is it possible to include the .mp source directly in the .tex file? And have it "just work"?

Thanks for any help in advance,

More information about the metapost mailing list