readded c and latex subs