En 1999, puis mis à jour en 2001, Vincent Zoonekynd a mis en ligne un fichier MetaPost illustrant différentes utilisations du programme avec plus de 300 exemples. Ces exemples sont disponibles sur le CTAN.
Code
vardef TEX primary s =write"verbatimtex"to"mptextmp.mp";write"\documentclass[12pt]{article}"to"mptextmp.mp";write"\usepackage[T1]{fontenc}"to"mptextmp.mp";write"\usepackage{amsmath,amssymb}"to"mptextmp.mp";write"\begin{document}"to"mptextmp.mp";write"etex"to"mptextmp.mp";write"btex "&s&" etex"to"mptextmp.mp";writeEOFto"mptextmp.mp";scantokens"input mptextmp"enddef;beginfig(303);draw TEX("Nous sommes le "&decimal(day)&"/"&decimal(month)&"/"&decimal(year)&".");endfig;end.