pteridine-containing compound biosynthetic process [GO_0042559] - Virtual Fly Brain