Up to [cvs.NetBSD.org] / pkgsrc / textproc / hs-texmath
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 28 08:35:37 2023 UTC (8 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
HEAD
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
textproc/hs-texmath: Update to 0.12.6 The release note is too long to paste here. See https://hackage.haskell.org/package/texmath-0.12.6/changelog
Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 12 08:01:36 2022 UTC (19 months, 3 weeks ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
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).
Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 26 11:22:03 2021 UTC (23 months, 1 week ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
textproc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 7 15:01:09 2021 UTC (23 months, 3 weeks ago) by nia
Branch: MAIN
Changes since 1.5: +1 -2
lines
Diff to previous 1.5 (colored)
textproc: Remove SHA1 hashes for distfiles
Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 24 17:18:03 2021 UTC (2 years, 5 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Changes since 1.4: +5 -5
lines
Diff to previous 1.4 (colored)
Update to texmath-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. 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). 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). texmath (0.12.0.3) * Allow pandoc-types 1.22. 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). texmath (0.12.0.1) * OMML writer: Fix overline and accent rendering (#152). * OMML reader: Fix dropped arrows (#153). Add tests.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 11 10:21:27 2020 UTC (3 years, 8 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.3: +5 -5
lines
Diff to previous 1.3 (colored)
Update to 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).
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 2 15:37:09 2020 UTC (3 years, 9 months ago) by pho
Branch: MAIN
Changes since 1.2: +5 -5
lines
Diff to previous 1.2 (colored)
Update to texmath-0.11.3 Changelog from 0.8 is too long to paste here. See http://hackage.haskell.org/package/texmath-0.11.3/changelog
Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 4 01:59:31 2015 UTC (7 years, 11 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Add SHA512 digests for distfiles for textproc category Problems found locating distfiles: Package cabocha: missing distfile cabocha-0.68.tar.bz2 Package convertlit: missing distfile clit18src.zip Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 10 21:38:06 2014 UTC (9 years ago) by szptvlfn
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3
Import texmath-0.8 as textproc/hs-texmath, packaged for wip. 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 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 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.