Additional features (and a bugfix) for pydflatex