reworking latex skip condition