# LaTeX2WP minor update

LaTeX2WP is a program that converts a LaTeX file into something that is ready to be cut and pasted into the WordPress online editor. It makes it easier to write mathematical posts, to post lecture notes on WordPress, and so on.

A new version is now available, which fixes a couple of bugs:

• WordPress has trouble if a mathematical expression containing $<$ is followed by a mathematical expression containing $>$. This is prevented by converting the inequality symbols to their HTML “character codes.”
• The previous version of LaTeX2WP had trouble with long sentences in square brackets; this is fixed.

In addition, \S for § and \v{C} for Č (as “in Stone–Čech compactification”) now work.

# LaTeX2WP Update

I have posted a new version of LaTeX2WP, a program that converts a LaTeX file into a format that is ready to be copied into WordPress.

The new version fixes some bugs and has some new features:

• Thanks to code contributed by Radu Grigore, it is now possible to nest bold inside italic, and there is a better overall support for font styles. (Which is also easier to customize.)
• `eqnarray*` is now supported.
• LaTeX commands are correctly “tokenized” before certain macros are applied. For example, LaTeX2WP recognizes the macro \P for \mathop{\mathbb P}. In the previous version, however, the above transformation would also be applied to the initial \P in \Phi. Thanks to Terry Tao and “ccarminat” for noticing this bug.
• Commands such as \\$ and \% now work in math mode. (\& does not work, but this seems to be a WordPress problem.) Thanks to Atri Rudra for noticing this bug.
• Quotation marks are applied to the URL in \href and \hrefnospan. The lack of such quotation marks sometimes creates problems with \hrefnosnap.

# Converting LaTeX to WordPress

Last month, I have written a program that converts a LaTeX document into a format that is ready to be copied and pasted into the WordPress editor.

I have been using it to post the notes of my cryptography class here, as well as some other posts.

Terry Tao has tested it on a couple of posts. Thanks to his feedback, the current version, while surely bug-filled and very limited, is stable enough to be used by other people. It is now available to anybody who might be interested.

What is the point of this program?