I would like to have a simple way of reading in a LaTex File in python.
The main problem are the escape signs \
that are supposed to be
escaped for a python string like \ -> \\
.
(re.escape
seems to escape not just \
but all other signs like {
as well.)