Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: texmath | Distribution: openSUSE Tumbleweed |
Version: 0.12.3 | Vendor: openSUSE |
Release: 1.1 | Build date: Tue Jun 1 17:16:29 2021 |
Group: Unspecified | Build host: armbuild24 |
Size: 22202435 | Source RPM: texmath-0.12.3-1.1.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/texmath | |
Summary: Conversion between formats used to represent mathematics |
The texmath library provides functions to read and write TeX math, presentation MathML, and OMML (Office Math Markup Language, used in Microsoft Office). Support is also included for converting math formats to Gnu eqn and to pandoc's native format (allowing conversion, via pandoc, to a variety of different markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it can parse and apply LaTeX macros. (See <http://johnmacfarlane.net/texmath here> for a live demo of bidirectional conversion between LaTeX and MathML.) The package also includes several utility modules which may be useful for anyone looking to manipulate either TeX math or MathML. For example, a copy of the MathML operator dictionary is included. Use the 'executable' flag to install a standalone executable, 'texmath', that by default reads a LaTeX formula from 'stdin' and writes MathML to 'stdout'. With flags all the functionality exposed by 'Text.TeXMath' can be accessed through this executable. (Use the '--help' flag for a description of all functionality) The 'texmath' executable can also be used as a CGI script, when renamed as 'texmath-cgi'. It will expect query parameters for 'from', 'to', 'input', and optionally 'inline', and return a JSON object with either 'error' and a message or 'success' and the converted result.
GPL-2.0-or-later
* Thu May 13 2021 psimons@suse.com - Update texmath to version 0.12.3. 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). * Tue Mar 16 2021 psimons@suse.com - Update texmath to version 0.12.2. texmath (0.12.2) * MathML input: support mmultiscripts element (#158, #100). * Make MathML tag/attr recognition case-insensitive (#158). * Pandoc writer: better handling of styling such as `\mathrm` (#145). Previously identifiers were always italic, no matter what styling was applied. * Ignore `\tag` in TeX input (#162). * TeX writer: avoid unneeded `\left` and `\right` for delimited. We don't need `\left` and `\right` when the contents are "standard height." * TeX reader: parse implicit EDelimited sections (#172). We now parse `(x)` as EDelimited, even though `\right` and `\left` are not used. * Mon Feb 08 2021 psimons@suse.com - Update texmath to version 0.12.1.1. texmath (0.12.1.1) * Fix compilation with GHC-9.0.1 (#169, Simon Jakobi). Background: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#simplified-subsumption * Add eqn to online demo. * Improve error messages for unknown control sequences, and restructure tex parser to be more efficient (#167). * Tue Dec 29 2020 psimons@suse.com - Update texmath to version 0.12.1. texmath (0.12.1) * OMML writer: explicitly mark symbols as non-italic (#109). Otherwise, for some reason, they appear as italic by default. * Improve error messages in reading tex arrays. * Improve support for `\bmod`, `\mod`, etc. (#165). Allow them to take complex arguments like `\left( 1 \right)`. * Improve support for `\genfrac` (#164). * Ignore `\textstyle`, `\scriptstyle`, `\scriptscriptstyle`, as we currently ignore `\displaystyle`. * Parse siunitx commands in reading tex (#157). * Improve handling of `\not` in reading tex (#161). Previously we only handled `\not` in front of certain symbols. * Support `\pod` and `\pmod` and clean up spacing and font for `\mod` and `\bmod` (#160). * Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com> - disable %{ix86} build * Tue Sep 22 2020 psimons@suse.com - Update texmath to version 0.12.0.3. texmath (0.12.0.3) * Allow pandoc-types 1.22. * Tue Aug 18 2020 Peter Simons <psimons@suse.com> - Replace %setup -q with the more modern %autosetup macro. * Tue Jul 21 2020 Michel Normand <normand@linux.vnet.ibm.com> - Add _constraints for PowerPC avoid "no space left on device" build error * Tue Jun 16 2020 Peter Simons <psimons@suse.com> - Re-generate file with latest version of spec-cleaner. * Wed May 06 2020 psimons@suse.com - Update texmath to version 0.12.0.2. texmath (0.12.0.2) * Allow pandoc-types 1.21. * Pandoc output: omit empty Emph for sub/superscript without base (#155). * tex writer: Use `\overline{\overline{B}}` instead of unicode double line accent (#153). * Thu Feb 27 2020 psimons@suse.com - Update texmath to version 0.12.0.1. texmath (0.12.0.1) * OMML writer: Fix overline and accent rendering (#152). * OMML reader: Fix dropped arrows (#153). Add tests. * Wed Nov 13 2019 psimons@suse.com - Update texmath to version 0.12. texmath (0.12) * Use Text instead of String in data types and functions (Christian Despres) [API change]. Note that there are still a few places where we unpack Text to String with a view pattern: performance could likely be increased with further rewriting. * Avoid use of !! with negative index (jgm/pandoc#5853). * Fri Nov 08 2019 Peter Simons <psimons@suse.com> - Drop obsolete group attributes. * Sat Oct 05 2019 psimons@suse.com - Update texmath to version 0.11.3. texmath (0.11.3) * Use error instead of fail to allow building with ghc 8.8. * Test output: remove superfluous spaces after control sequences, superfluous groups, and unicode VARIATION SELECTOR 1. * renderTeX: add space between control sequence and any non-ASCII character. There are differences in behavior of isAlphaNum between different ghc versions that would affect test output otherwise. * charToLaTeXString: Ignore 65024 VARIATION SELECTOR 1 to avoid putting it literally in the output ; it is used in mathml output and occurs in many of the test cases. * Add cabal.project. * Use actions rather than travis for CI. * Wed Sep 25 2019 psimons@suse.com - Update texmath to version 0.11.2.3. texmath (0.11.2.3) * OMML reader: properly distinguish normal text from math (#136). If `m:nor` or `m:lit` is set in `m:rPr`, we interpret the contents as literal text and not as math. * TeX reader: use different symbol (`_`) for `\underline` (#142). This gets the right accent properties on MathML output, so that the underline is not lower than it should be. * TeX reader: Treat `\bmod` as a relational symbol rather than an operator (#143). This fixes spacing problems in several output formats. * Sat Mar 09 2019 psimons@suse.com - Update texmath to version 0.11.2.2. texmath (0.11.2.2) * OMML writer: use m:nor for normal text (#135). * Sun Mar 03 2019 psimons@suse.com - Update texmath to version 0.11.2.1. texmath (0.11.2.1) * OMML reader: Don't collapse `fName` to a string (#133). This fixes cases where fName has some complexity, e.g. a subscript or limit. * 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).
/usr/bin/texmath /usr/share/doc/packages/texmath /usr/share/doc/packages/texmath/README.markdown /usr/share/doc/packages/texmath/changelog /usr/share/licenses/texmath /usr/share/licenses/texmath/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Mar 31 23:23:56 2025