PHP 5.4 compatibility fix

Fix for PHP 5.4 compatibility as "\e" is now an escaped character.
The last lines writed in the .tex file were malformed : 

d{displaymath} 
instead of 
\end{displaymath}) 

http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double