Hello community, here is the log from the commit of package texmath for openSUSE:Factory checked in at 2015-05-21 08:13:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texmath (Old) and /work/SRC/openSUSE:Factory/.texmath.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "texmath" Changes: -------- --- /work/SRC/openSUSE:Factory/texmath/texmath.changes 2014-08-01 07:08:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.texmath.new/texmath.changes 2015-05-21 08:13:53.000000000 +0200 @@ -1,0 +2,141 @@ +Mon May 4 06:00:54 UTC 2015 - mimi.vx@gmail.com + +- update to 0.8.2 +* Better handling of decimal points. Decimal points are now parsed + as parts of numbers, not as separate symbols. E.g. in MathML they + now appear in `<mn>` elements. Closes #74. + +------------------------------------------------------------------- +Thu Apr 23 20:10:09 UTC 2015 - mimi.vx@gmail.com + +- update to 0.8.1 + * OMML: Don't force everything into Roman font by default. + This change ensures that variables will be italic by + default in Word. See jgm/pandoc#2075. + * Fixed typo in `defaultEnv` to include `amssymb` (#68). + * Moved some lookup tables to C, and disabled aggressive + profiling defaults, to avoid excessive memory usage in + compiling with clang (#70). + * Support `\newcommand*` in `parseMacroDefinition` (jgm/pandoc#2005). + * Fixed order bug for over/under in OMML reader (#66). + * Support `\boldsymbol` (#67). + * Added network-uri flag. This addresses the split of network + and network-uri packages. + * OMML reader: change default accent (Jesse Rosenthal). + The default had previously been set as accute (possibly as a + placeholder). It appears to be circumflex/hat instead. + * Added OMML reader (Jesse Rosenthal). + * Support latex \substack (#57). + * Added EBoxed and implemented in readers and writers (#58). + * Handle latex \genfrac. Use \genfrac for \brace, \brack, + etc. when amsmath is available. + * Improvements in handling of space characters. + * Use ESpace rather than EText when a mathml mtext just contains + a space. + * Use \mspace when needed to get latex spaces with odd sizes, rather + than finding the closest simple command. + * Use Rational instead of Double in ESpaced, EScaled. + * Shared: Export getSpaceWidth, getSpaceChars. + * Shared: Export fixTree, isEmpty, empty (formerly in MathML reader). + * TeX reader: further improvements in error reporting. + Instead of reporting line and column, a snippet is printed + with a caret indicating the position of the error. Also + fixed bad position information when control sequences are + followed by a letter. + * TeX reader: + + Improved error reporting. + + Optimized parser. + + Treat `\ ` as ESpaced rather than ESymbol. + + Internal improvements, including using the parsec3 interface + instead of the older parsec2 compatibility interface. + * Added tests for phantom. + * Changes in Exp type: + + Removed EUp, EDown, EDownup, EUnary, EBinary. + + Added EFraction (and FractionType), ESqrt, Eroot, EPhantom. + + Added boolean "convertible" parameter to EUnder, EOver, EUnderover. + + Changed parameter of EScaled from String to Double. + + Changed parameter of ESpace from String to Double. + + Removed EStretchy. + + Added EStyled, corresponding to mstyle in mathml, and \mathrm, + \mathcal, etc. in TeX (which can contain arbitrary math content, + not just text). + + Changed the type of EDelimited. The contents of an EDelimited are + now either Right Exp or Left String (the latter case represents a + fence in middle position, e.g. \mid| in LaTeX). + * Module reorganisation: the exposed interface has been completely + changed, and modules for reading MathML and writing TeX math + have been added: + + All writers now reside in Text.TeXMath.Writers. + - Text.TeXMath.MathML -> Text.TeXMath.Writers.MathML. + toMathML and showExp are removed, writeMathML added. + - Text.TeXMath.OMML -> Text.TeXMath.Writers.OMML. + toOMML and showExp removed, writeOMML added. + - Text.TeXMath.Pandoc -> Text.TeXMath.Writers.Pandoc. + toPandoc removed, writePandoc added. + - New module Text.TeXMath.Writers.TeX, exporting writeTeX, + writeTeXWith, addLaTeXEnvironment (the latter giving control + over which packages are assumed to be available). + + All readers now reside in Text.TeXMath.Readers. + - Text.TeXMath.MathMLParser -> Text.TeXMath.Readers.MathML, + exporting readMathML. + - Text.TeXMath.Readers.TeX nows exports readTeX rather than + parseFormula. + + New modules for unicode conversion: Text.TeXMath.Unicode.ToASCII, + Text.TeXMath.Unicode.ToTeX, Text.TeXMath.Unicode.ToUnicode. + + Two MathML specific modules: Text.TeXMath.Readers.MathML.EntityMap, + Text.TeXMath.Readers.MathML.MMLDict. + + In Text.TeXMath, all the XtoY functions have been removed + in favour of rexporting raw reader and writer functions. The + data type Exp is now also exported. + + TeX writer: Properly handle accents inside \text{}. + Use real text environments for EText (\textrm, not \mathrm). + Improved handling of scalers (\Big etc.). Use amsmath matrix + environments when appropriate. Fixed \varepsilon. + + MathML writer: Omit superfluous outer mrows. Add position + information to fences. + + OMML writer: Handle \phantom. + + Pandoc writer: Use unicode characters to support Fraktur and + other text styles. + + TeX reader: Use EUnder/Over for \stackrel, \overset, \underset. + Improved handling of primes. Fixed \notin. Avoid superfluous + grouping of single elements. Improved handling of scalers (\Big etc.). + Handle \choose, \brace, \brack, \bangle (#21). + + Macros: Don't raise an error if applying a macro fails to + resolve to a fixed point; instead, just return the original string. + * Rewrote test suite as a proper cabal test suite. Added + --regenerate-tests and --round-trip options. + * Removed cgi and test flags. Added executable flag to build texmath. + * Modified texmath so it works like a cgi script when run as + texmath-cgi (through symlink or renaming). Removed dependency on + the cgi package. + * New Module: Text.TeXMath.Unidecode, a module for approximating + unicode characters in ASCII. + * New Module: Text.TeXMath.Shared, a module for shared lookup + tables between the various readers and writers + * New Module: Text.TeXMath.MathMLParser, exporting readMathML. + * New Module: Text.TeXMath.EntityMap, exporting getUnicode, + a conversion table from MathML entities to unicode characters. + * New Module: Text.TeXMath.UnicodeToLaTeX, exporting getLaTeX, + converting a string of unicode characters to a string of equivalent LaTeX + commands. + * New Module: Text.TeXMath.LaTeX, replacing Text.TeXMath.Parser, + exporting toTeXMath. + * New Module: Text.TeXMath.MMLDict, implements a lookup table from + operators to their default values as defined by the MML dictionary, + exporting getOperator. + * New Module: Text.TeXMath.Compat, maintaining compatibility with + mtl < 2.2.1. + * Modified Text.TeXMath to export the primitive readers, as well as + mathMLTo{Writer} for all writers + * Modified: Text.TeXMath.Types: added additional record types for + Text.TeXMath.MMLDict and Text.TeXMath.UnicodeToLaTeX. + New Exports: Operator(..), Record(..). + * Modified test suite: use cabal test, added significant number of tests. + * Added recognition of the LaTeX command \phantom + * Use combining tilde accent for \tilde. Closes pandoc #1324. + * Allow \left to be used with ), ], etc. Ditto with \right. + Previously only (, [, etc. were allowed with \left. Closes pandoc #1319. + * Support \multline (previously it was mispelled "multiline") + * Changed data-files to extra-source-files. + +------------------------------------------------------------------- Old: ---- _service texmath-0.6.6.tar.gz New: ---- texmath-0.8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texmath.spec ++++++ --- /var/tmp/diff_new_pack.YenUyM/_old 2015-05-21 08:13:53.000000000 +0200 +++ /var/tmp/diff_new_pack.YenUyM/_new 2015-05-21 08:13:53.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package texmath # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name texmath Name: texmath -Version: 0.6.6 +Version: 0.8.2 Release: 0 Summary: Conversion of LaTeX math formulas to MathML or OMML License: GPL-2.0 @@ -33,18 +33,18 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: chrpath +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel +BuildRequires: ghc-network-uri-devel BuildRequires: ghc-pandoc-types-devel BuildRequires: ghc-parsec-devel +BuildRequires: ghc-split-devel BuildRequires: ghc-syb-devel BuildRequires: ghc-xml-devel # End cabal-rpm deps -# Deps for cgi executable -# BuildRequires: ghc-cgi-devel -# BuildRequires: ghc-json-devel -# BuildRequires: ghc-utf8-string-devel - %description The texmathml library provides functions to convert LaTeX math formulas to presentation MathML (which can be used @@ -86,11 +86,12 @@ %setup -q %build -%define cabal_configure_options -f 'test' +%define cabal_configure_options -f 'executable' %ghc_lib_build %install %ghc_lib_install +%ghc_fix_dynamic_rpath %{name} %post -n ghc-%{name}-devel %ghc_pkg_recache @@ -101,7 +102,6 @@ %files %defattr(-,root,root,-) %doc LICENSE -#%%{_bindir}/texmath-cgi %{_bindir}/%{name} %files -n ghc-%{name} -f ghc-%{name}.files ++++++ texmath-0.6.6.tar.gz -> texmath-0.8.2.tar.gz ++++++ ++++ 664459 lines of diff (skipped)