May 29, 2006
itex2MML 1.1
One of the annoying misfeatures of itex2MML, heretofore, was that it used a rather nonstandard syntax,
\array{ ... }or\array{ \arrayopts{...} ... }
to create matrices and aligned equations. I’m not sure of the historical origin of this peculiarly un-LaTeX-like syntax but, for some time now, I’ve been meaning to add support for the standard AMSLaTeX constructs.
With itex2MML 1.1, we now support
\begin{env} ... \end{env}
where env is any one of the following
matrix- a matrix,
pmatrix- a matrix, enclosed in parentheses,
bmatrix- a matrix, enclosed in square brackets,
Bmatrix- a matrix, enclosed in brace brackets,
vmatrix- a matrix, enclosed in vertical bars,
Vmatrix- a matrix, enclosed in double vertical bars,
smallmatrix- a small matrix, suitable for use in inline equations, .
cases- cases construct,
aligned- produces aligned equations (or sub-blocks thereof).
So
$$ \begin{aligned} A =& \begin{pmatrix}a & b \\ c & d \end{pmatrix} \\ A^{-1} =& \frac{1}{\det A} \begin{pmatrix}d & -b \\ -c & a \end{pmatrix} \\ =& \frac{1}{a d - b c} \begin{pmatrix}d & -b \\ -c & a \end{pmatrix} \end{aligned} $$
produces
Another AMSLaTeX construct I’ve been pining for is \substack{...}, as in
$$ A = \sum_{\substack{m,n \in \mathbb{Z} \\ m \geq n }} a_{m,n} $$
which now produces
If you’re viewing this in Mozilla/Firefox, you’ll note that the vertical spacing in all these matrices (and in \substack{...}) is screwed-up because of this bug.
For sheer lack of time, I don’t see myself implementing the myriad of other AMSLaTeX constructs anytime soon. But if there are particular ones you’ve been pining for, let me know.
As usual, my distribution comes with precompiled binaries for MacOSX and Linux and a plugin for MovableType.
Update (5/31/2006):
Spurred by Urs’s question, I decided it was time to produce some new documentation for itex2MML. It’s not much, but check out the itex Command Summary Page.In the process of reviewing the features of itex2MML, I made a slew of bugfixes/improvements. So it’s time to release itex2MML 1.1.2 with the following improvements.
\backslashis now mapped correctly.\Boxwas added as a synonym for\square.- Several characters were changed from
<mo>s to<mi>s. - Wide and regular-width accents now work as expected (well, except for this bug with
\overline). - Corrected support for
\pmodand add support for\mod. - Status-line messages in
\togglewere a NOOP. Dropped. - Fixed the
\hrefcommand so that it will play nice with the W3C Validator, and hence will work here1. If you downloaded itex2MML in the past few hours, download it again, to get the fixed-up version (sorry 'bout that!).
Update (6/2/2006):
For yet more enhancements, see the next entry.1 Getting \href to work in comments required a small rejiggering of our sanitize spec.
May 27, 2006
AdS/Au-Au II
Previously, I wrote about AdS/CFT computations of the jet-quenching parameter. A related quantity is the energy loss of a heavy quark moving through the quark-gluon plasma. Herzog, Karch, Kovtun, Kozcaz and Yaffe have a beautiful recent paper treating this latter problem.
May 26, 2006
Bug in Crypt::OpenPGP
Ben Trott probably has other, more high-flying things to think about than a bug in a (probably long-forgotten) Perl Module. But Austin Frank recently uncovered an obscure bug in Crypt::OpenPGP, which we use here to verify PGP-signed comments.
Most people, these days, have a DSA primary key (used for signing) and an El-Gamal subkey (used for encryption). Austin has an RSA primary key and DSA (signing) and El-Gamal (encryption) subkeys. Nothing wrong with that and, as far as I can tell, GnuPG handles such keys just fine. But Crypt::OpenPGP seems to barf on any message signed by Austin, leading me to suspect a bug in its handling of keys of this sort.
I’ve filed a bug report, but I’m not holding my breath.

Posts with this logo use 





Low-functioning pinhead...
