# WordPress.org

## WP LaTeX bug (and the solution) in automattic-latex-dvipng.php (WP Latex 1.7) (1 post)

1. phw
Member
Posted 2 years ago #

Hello,

Do not know if it is the right place for this but ... :)

Trying to use WP Latex in local mode (latex+dvipng), I found that the strings are "-delimited instead of '-delimited. It may interact with latex commands beginning by \...

For instance :

$string .= "\n\end{document}"; should be : $string .= "\n\\end{document}";

This topic has been closed to new replies.