Adding python chunks in TeX syntax