* Fri Feb 01 2019 psimons@suse.com
- Update texmath to version 0.11.2.
texmath (0.11.2)
* Improved handling of \mathop etc (#126). We now allow operators like
`arg\,min`, converting the space into unicode.
* Support \hspace (#126).
* Support \hdots as synonym of \ldots (#126).
* Support \mathds (#126).
* In parsing array, ignore `|` in column specs (#127).
We have no way to represent this in EArray, currently.
Ignoring them seems better than failing altogether.
* Mon Oct 29 2018 psimons@suse.com
- Update texmath to version 0.11.1.2.
texmath (0.11.1.2)
* Eqn writer: properly escape `{` and `}`.
* Set more accurate bounds (Herbert Valerio Riedel).
* Thu Oct 04 2018 psimons@suse.com
- Update texmath to version 0.11.1.1.
texmath (0.11.1.1)
* Fix building with ghc-8.6.1 by removing need for now missing
MonadFail instances (Jonas Scholl).
* TeX reader: Allow operators like `/` to be scaled (#120).
* TeX reader: Improved efficiency of basicEnclosure.
* TeX reader: Handle `\bmod` (#115).
texmath (0.11.1)
* OMML writer: Use m:acc for accents in OMML (#119). This fixes
some spacing issues for e.g. the translation of `\dot{m}`.
* Wed Jul 18 2018 psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
* Fri Jul 13 2018 psimons@suse.com
- Update texmath to version 0.11.0.1.
texmath (0.11.0.1)
* OMML writer: use zero-width space to avoid dashed box (#118).
In Word, a dashed box shows up for empty text runs in
exponents and bases, or empty exponents and bases. So
we use a zero-width space in these contexts.
* Mon May 14 2018 psimons@suse.com
- Update texmath to version 0.11.
* Changed treatment of non-ASCII characters.
Previously we ensured that the output of conversion to tex
was pure ASCII. This meant rendering "รค" as "a", for
example, and it meant that many characters (e.g. Chinese)
simply got replaced with an empty string, while others
got replaced with "[?]".
This was not a particularly helpful behavior. Including
the unicode characters verbatim doesn't interfere with
latex compilation. They often won't show up in the generated
math, but that is no worse than what happened before.
This change passes through unicode characters unchanged
when they can't be converted to standard LaTeX commands.
An important reason for including the unicode characters
is that pandoc uses TeX to represent math in its AST.
So, for example, if you convert HTML with mathml to docx,
you'll currently lose all Chinese characters, since they'll
disappear in the TeX intermediary, even though a direct
mathml to ooml conversion would have passed them through.
With this change, these conversions will work better
(see jgm/pandoc#4642).
+ Removed Text.TeXMath.Unicode.ToASCII (API change).
+ Removed cbits that were needed for that module.
+ Modified Tex.TeXMath.Unicode.ToTeX to pass through
unicode characters that can't be converted, rather
than trying to asciify them or remove them.
* Render degree symbol in tex as `{^\circ}`.
* eqn writer: use uppercase letters in unicode escapes (jgm/pandoc#4597).
* Handle multicharacter operators better in Eqn, TeX, OMML (#109).
* OMML reader: unwrap `<w:...>` tags immediately under `<m:oMath>`
(#111, Jesse Rosenthal).
* Expose Text.TeXMath.TeX (TeX rendering functions) (#108).
This is needed in order to use getTeXMath from Text.TeXMath.Unicode.ToTeX.
* Pandoc writer: don't insert punctuation space before explicit space
(#107). E.g. in `2,\!4`.
* Fix end-line command ('\\') in AMSmath environments (ARATA Mizuki).
The end-line command in AMSmath environments does not allow spaces
before its optional argument.
* Use `\in` for SMALL ELEMENT OF in "base" (Vaclav Haisman).
* Use `\ni` in base for U+220D (#103).
* Improved unicode -> tex symbol lookup. Previously we had many
cases where the lookup table would map a unicode character to
the empty string for the base package, and this would print finding
a good match in another package in the environment.
* Added support for `\symbf` (#101).
* Revert "migrating the lookup structures for Unicode/ToTex.hs to
use C source files to accelerate builds." This change gave us somewhat
faster builds (using less memory), but at a huge cost of
maintainability.
* Removed AlignDefault from Alignment (API change, #102).
AlignDefault doesn't make sense for a converter between
formats that may have different defaults. We now properly treat
centering as the default in MathML and OMML input.
* Update tests that should have been updated for 0.9.4.3.
* MathML writer: put linethickness attribute directly on mfrac
element. This fixes binomial rendering.
* Pandoc writer: better handle accented characters (jgm/pandoc#3922).