EPUB writer: Fixed typo.
LaTeX writer: Avoid using reserved characters as \lstinline delimiters.

Closes #1595.