Log message:
textproc/hs-texmath: Update to 0.12.8.4
texmath (0.12.8.4)
* TeX reader: ignore `\allowbreak` (#230).
* TeX reader: handle `*{5}{lr}` in array column specifier (#229).
* OMML reader: allow `m:e` to be missing in `m:nary` (#228).
Technically this is not allowed, according to the spec, but
Word and LibreOffice seem to tolerate it.
texmath (0.12.8.3)
* OMML writer: use "on" and "off" instead of "1" \
and "0" for
m:CT_OnOff type. It is said that "1" and "0" work in Word
but not Powerpoint.
texmath (0.12.8.2)
* Typst writer: use binom instead of a fraction (jgm/pandoc#9063).
texmath (0.12.8.1)
* Typst writer: several fixes (#223, Lleu Yang).
+ Escape quotes (") in inQuotes
+ Accent `\8407` corresponds to `arrow()`
+ Write `#none`'s for matrices with blanks at the beginning of a row
texmath (0.12.8)
* Expose Text.TeXMath.Shared [API change]
* Typst writer: Fix bug where 's' turned into 'space' (#219).
* Typst writer: Fix handling of overline (#214).
* Typst writer: Fix underbrace (#217).
* Typst writer: Improve some accents (#216).
* TeX writer: don't include \ on last line of matrix.
* TeX writer: Remove escaping of spaces inside \text{}.
It isn't needed, and it causes problems in MathJax rendering.
* TeX reader: allow empty matrices.
* MathML writer: Fix rendering of vectors (#218).
* Depend on external typst-symbols package.
texmath (0.12.7.1)
* Typst writer:
+ Improve under/overbrace/bracket/line.
+ Fix bugs with super/subscript grouping (#212).
+ Fix case where super/subscript is on an empty element,
by inserting a zws.
texmath (0.12.7)
* Add typst writer. New module: Text.TeXMath.Writers.Typst.
* TeX reader: Support multilined environment. Closes #210.
|
Log message:
Update to texmath-0.12.4
texmath (0.12.4)
* TeX reader: handle hyperref better (#186). We don't parse it as a link,
but we pass its contents through rather than failing.
* Update scripts and data in `lib/` directory. These are not build
dependencies, but they were used to produce some of the large
tables in the source code. Fixed the scripts and Makefile to work
with recent texmath and cabal. Removed two very large unicode data
files that can be downloaded when needed. (This reduces the size of
the source tarball considerably.) Remove `lib/toascii` (no longer used).
* Update MMLDict using latest unicode.xml.
* TeX reader: support siunitx `\qty`, `\qtyrange`, `\unit` (#185).
* Remove Text.TeXMath.Compat. We can now safely require mtl >= 2.2.1.
* Use symbolMap from ToTeX to shorten the long hardcoded symbols list.
Now we only hard-code items that differ what what is in symbolMap.
This reduces the code size by thousands of lines.
* Unicode.ToTeX: export `symbolMap` [API change]. This uses the data in
`records` to create a backwards mapping from TeX commands to Exps (ESymbol
elements). This can replace most of the hardcoded list in the current
TeX reader.
* Split out TeXMath.Readers.TeX.Commands internal module.
This makes the TeX reader shorter and should help compile times.
* OMML reader: better handling of m:t nodes (#151).
Previously we parsed an m:t element as an EIdentifier if it contains a
single letter, but an EText TextNormal if it contains more than one. This
gave bad results in some cases. It is better to reserve EText for the
case where the m:nor property is specified for "normal text."
* Require base >= 4.11.
* Remove `network-uri` flag from stack.yaml.
texmath (0.12.3.3)
* OMML writer: use nary only for operators supported by LibreOffice
(Albert Krewinkel). LibreOffice (and possibly Word, too) can handle
only a small set of operators in an `nary` element.
* TeX writer: use `\xleftarrow`, `\xrightarrow` where sensible
(Albert Krewinkel). The commands are generated for expressions over `←`
or `→`. Besides being more idiomatic, this change also prevents the
generation of invalid LaTeX, as `\leftarrow` and `\rightarrow` are not
math operators and hence may not be followed by `\limit`.
Both commands are part of amsmath.sty.
* TeX reader:
+ Improve angled-bracket support (Albert Krewinkel).
The amsmath package allows `\left<` and `\right>` as alternatives to
`\left\langle` and `\right\rangle`, respectively.
+ Ignore stared version of `\tag` (Albert Krewinkel).
+ Support \dots{c,b,m,i,o} from amsmath (#179).
+ Change symbol returned for \dots{b,i,m} from `…` to `⋯`
(Albert Krewinkel).
texmath (0.12.3.2)
* OMML writer: remove m:nor element in math operators (#178).
This caused the document's main font, rather than the math
font, to be used in formatting operators, which is undesirable.
texmath (0.12.3.1)
* MathML reader: don't allow mfenced attributes to inherit (#177).
When open and close attributes aren't given on an mfenced,
we should use defaults rather than inheriting these from a
parent mfenced.
texmath (0.12.3)
* TeX reader: implement logic to convert a Bin symbol to
an Op to Op when it occurs at the beginning of a group,
or after an Open, Pun, or Op symbol. This will give much
better results for unary `-` (#176).
* OMML writer: fixed rendering of EDelimited (#173).
We now properly render "middles" (separators).
|