replace wrapfigures with figures in search-direct
reduces characters per line in compilation code