"""
Copyright 2009 Luca Trevisan
Additional contributors: Radu Grigore
LaTeX2WP version 0.6.2
This file is part of LaTeX2WP, a program that converts
a LaTeX document into a format that is ready to be
copied and pasted into WordPress.
You are free to redistribute and/or modify LaTeX2WP under the
terms of the GNU General Public License (GPL), version 3
or (at your option) any later version.
I hope you will find LaTeX2WP useful, but be advised that
it comes WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GPL for more details.
You should have received a copy of the GNU General Public
License along with LaTeX2WP. If you can't find it,
see
_ThmType_ _ThmNumb_ " # translation of \begin{theorem}[...]. The string # _ThmName_ stands for the content betwee the # square brackets beginnamedthm = "\n_ThmType_ _ThmNumb_ (_ThmName_) " #translation of \end{theorem}, \end{lemma}, etc. endthm = "\n\n" beginproof = "Proof: " endproof = "$latex \Box&fg=000000$\n\n" section = "\n
\n_SecNumb_. _SecName_ \n
\n" sectionstar = "\n
\n _SecName_ \n
\n" subsection = "\n
\n _SecNumb_._SubSecNumb_. _SecName_ \n
\n" subsectionstar = "\n
\n _SecName_ \n
\n" # Font styles. Feel free to add others. The key *must* contain # an open curly bracket. The value is the namem of a HTML tag. fontstyle = { r'{\em ' : 'em', r'{\bf ' : 'b', r'{\it ' : 'i', r'{\sl ' : 'i', r'\textit{' : 'i', r'\textsl{' : 'i', r'\emph{' : 'em', r'\textbf{' : 'b', } # Macro definitions # It is a sequence of pairs [string1,string2], and # latex2wp will replace each occurrence of string1 with an # occurrence of string2. The substitutions are performed # in the same order as the pairs appear below. # Feel free to add your own. # Note that you have to write \\ instead of \ # and \" instead of " M = [ ["\\to","\\rightarrow"] , ["\\B","\\{ 0,1 \\}" ], ["\\E","\mathop{\\mathbb E}"], ["\\P","\mathop{\\mathbb P}"], ["\\N","{\\mathbb N}"], ["\\Z","{\\mathbb Z}"], ["\\C","{\\mathbb C}"], ["\\R","{\\mathbb R}"], ["\\Q","{\\mathbb Q}"], ["\\xor","\\oplus"], ["\\eps","\\epsilon"] ]