Support code listings not embedded in a figure