Sample HTML file: produced with lwarp, with mathematical formulae displayed with MathJax, and xymatrix commutative diagrams displayed with XyJax-v3

3 Issues when using XyJax-v3 and Lwarp for typesetting xymatrix diagrams

Please do contact me if you know the solution to any of these issues. Remember: this is stricly a non-specialist file!
  • • The commands of the form:

    \stackrel{(*)}{\implies}
    

    or

    \left ( x \xrightarrow{f} y\right)
    

    do not seem to work well inside

    \begin{equation} \end{equation}.
    

    So use instead, for example,

    $$ \stackrel{(*)}{\implies} $$
    
    $$ \left ( x \xrightarrow{f} y \right)$$
    

    Here is how it looks:

    \[ \stackrel {(*)}{\implies }\]

    \[\left ( x \xrightarrow {f} y \right ) .\]

  • • Sometimes there are errors if there are mathematical commands in the title of sections, subsections, etc.

  • • Lwarpmk gives error messages if it finds xymatrix inside:

    \begin{equation} \end{equation}.
    

    (However a html file can still be produced with lwarpmk pdftohtml.)

    So avoid:

    \begin{equation} \xymatrix{   } \end{equation},
    

    and use instead:

    \[ \xymatrix{   } \],
    

    or

    $$ \xymatrix{   } $$.
    
  • Not all accessibility functions of MathJax work with Xy-Jaxv3, only some can be used, e.g. zoom and source latex code.
    Accessibility features of Xy-jax are not officially supported.

  • • References to section, chapters etc, have glitches if inside mathematics environments. For instance, the links provided do not appear to work well. E.g.

    \begin{equation} \label {Euler} \exp (x+yi)=e^x\big (\cos (y)+i\sin (y) \big ) \end{equation}

    \begin{align*} e^{i\pi }+1&=\big (\cos (\pi )+i\sin (\pi ) \big )+1, \quad \textrm { using Equation } \eqref {Euler}. \textrm { (Just for testing) equations } \eqref {test}, \eqref {xydiagram}\\ &=0. \quad \textrm { A reference to second section } \protect \ref {sec:context} \end{align*} Outside maths environments all seems to work fine:

    Using Equation (2). (Just for testing) equations (1), (3)
    A reference to second section 2

  • • When compiling xymatrix, or tikz, diagrams as sgv figures, with Alt-Text (which sometimes is necessary) it sometimes happens that the figure is not cropped correctly. This seems to depend stronly on the operating system being used.