latex dep logic rules added