Replaces some commands and environments within a TeX document by evaluating code inside a jupyter kernel