Hello community, here is the log from the commit of package texmath for openSUSE:Factory checked in at 2015-07-08 06:59:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-05-21 08:13:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.texmath.new/texmath.changes 2015-07-08 06:59:54.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Jul 6 12:54:35 UTC 2015 - [email protected] + +- update to 0.8.2.2 +* Handle . after number with no following digits. +* Handle bare hyphen in \text{...}. Closes jgm/pandoc#2274. +* Support \ltimes and \rtimes in the TeX reader (Arata Mizuki). +* Slightly more efficient number parser. + +------------------------------------------------------------------- Old: ---- texmath-0.8.2.tar.gz New: ---- texmath-0.8.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texmath.spec ++++++ --- /var/tmp/diff_new_pack.UxxAZD/_old 2015-07-08 06:59:54.000000000 +0200 +++ /var/tmp/diff_new_pack.UxxAZD/_new 2015-07-08 06:59:54.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name texmath Name: texmath -Version: 0.8.2 +Version: 0.8.2.2 Release: 0 Summary: Conversion of LaTeX math formulas to MathML or OMML License: GPL-2.0 ++++++ texmath-0.8.2.tar.gz -> texmath-0.8.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/changelog new/texmath-0.8.2.2/changelog --- old/texmath-0.8.2/changelog 2015-05-02 19:19:12.000000000 +0200 +++ new/texmath-0.8.2.2/changelog 2015-07-05 00:11:08.000000000 +0200 @@ -1,3 +1,13 @@ +texmath (0.8.2.2) + + * Handle `.` after number with no following digits. + +texmath (0.8.2.1) + + * Handle bare hyphen in `\text{...}`. Closes jgm/pandoc#2274. + * Support `\ltimes` and `\rtimes` in the TeX reader (Arata Mizuki). + * Slightly more efficient number parser. + texmath (0.8.2) * Better handling of decimal points. Decimal points are now parsed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/src/Text/TeXMath/Readers/TeX.hs new/texmath-0.8.2.2/src/Text/TeXMath/Readers/TeX.hs --- old/texmath-0.8.2/src/Text/TeXMath/Readers/TeX.hs 2015-05-02 19:19:12.000000000 +0200 +++ new/texmath-0.8.2.2/src/Text/TeXMath/Readers/TeX.hs 2015-07-05 00:11:08.000000000 +0200 @@ -244,15 +244,13 @@ inbrackets = (brackets $ manyExp $ notFollowedBy (char ']') >> expr) number :: TP Exp -number = lexeme $ ENumber <$> decimalNumber - where decimalNumber = try $ do +number = lexeme $ ENumber <$> try decimalNumber + where decimalNumber = do xs <- many digit - pt <- option "" (string ".") - if null pt - then if null xs - then mzero - else return xs - else ((xs ++ pt) ++) <$> many1 digit + ys <- option [] $ try (char '.' >> (('.':) <$> many1 digit)) + case xs ++ ys of + [] -> mzero + zs -> return zs enclosure :: TP Exp enclosure = basicEnclosure <|> scaledEnclosure <|> delimited @@ -719,6 +717,8 @@ , ("\\backslash", ESymbol Bin "\x2216") , ("\\setminus", ESymbol Bin "\\") , ("\\times", ESymbol Bin "\x00D7") + , ("\\ltimes", ESymbol Bin "\x22C9") + , ("\\rtimes", ESymbol Bin "\x22CA") , ("\\alpha", EIdentifier "\x03B1") , ("\\beta", EIdentifier "\x03B2") , ("\\chi", EIdentifier "\x03C7") @@ -969,6 +969,7 @@ ligature :: TP String ligature = try ("\x2014" <$ string "---") <|> try ("\x2013" <$ string "--") + <|> try (string "-") <|> try ("\x201C" <$ string "``") <|> try ("\x201D" <$ string "''") <|> try ("\x2019" <$ string "'") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/tests/readers/tex/23.native new/texmath-0.8.2.2/tests/readers/tex/23.native --- old/texmath-0.8.2/tests/readers/tex/23.native 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.8.2.2/tests/readers/tex/23.native 2015-07-05 00:11:09.000000000 +0200 @@ -0,0 +1 @@ +[ENumber "1",ESymbol Ord "."] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/tests/src/23.tex new/texmath-0.8.2.2/tests/src/23.tex --- old/texmath-0.8.2/tests/src/23.tex 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.8.2.2/tests/src/23.tex 2015-07-05 00:11:09.000000000 +0200 @@ -0,0 +1 @@ +1. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/tests/writers/23.mml new/texmath-0.8.2.2/tests/writers/23.mml --- old/texmath-0.8.2/tests/writers/23.mml 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.8.2.2/tests/writers/23.mml 2015-07-05 00:11:09.000000000 +0200 @@ -0,0 +1,7 @@ +<?xml version='1.0' ?> +<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"> + <mrow> + <mn>1</mn> + <mo>.</mo> + </mrow> +</math> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/tests/writers/23.omml new/texmath-0.8.2.2/tests/writers/23.omml --- old/texmath-0.8.2/tests/writers/23.omml 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.8.2.2/tests/writers/23.omml 2015-07-05 00:11:10.000000000 +0200 @@ -0,0 +1,16 @@ +<?xml version='1.0' ?> +<m:oMathPara> + <m:oMathParaPr> + <m:jc m:val="center" /> + </m:oMathParaPr> + <m:oMath> + <m:r> + <m:rPr /> + <m:t>1</m:t> + </m:r> + <m:r> + <m:rPr /> + <m:t>.</m:t> + </m:r> + </m:oMath> +</m:oMathPara> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/tests/writers/23.tex new/texmath-0.8.2.2/tests/writers/23.tex --- old/texmath-0.8.2/tests/writers/23.tex 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.8.2.2/tests/writers/23.tex 2015-07-05 00:11:10.000000000 +0200 @@ -0,0 +1 @@ +1. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.8.2/texmath.cabal new/texmath-0.8.2.2/texmath.cabal --- old/texmath-0.8.2/texmath.cabal 2015-05-02 19:19:12.000000000 +0200 +++ new/texmath-0.8.2.2/texmath.cabal 2015-07-05 00:11:08.000000000 +0200 @@ -1,5 +1,5 @@ Name: texmath -Version: 0.8.2 +Version: 0.8.2.2 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between formats used to represent mathematics.
