Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package texmath for openSUSE:Factory checked in at 2023-01-28 18:44:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texmath (Old) and /work/SRC/openSUSE:Factory/.texmath.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "texmath" Sat Jan 28 18:44:46 2023 rev:49 rq:1061645 version:0.12.5.5 Changes: -------- --- /work/SRC/openSUSE:Factory/texmath/texmath.changes 2022-10-16 16:09:55.602854721 +0200 +++ /work/SRC/openSUSE:Factory/.texmath.new.32243/texmath.changes 2023-01-28 19:05:04.225293882 +0100 @@ -1,0 +2,17 @@ +Wed Jan 18 17:11:39 UTC 2023 - Peter Simons <[email protected]> + +- Update texmath to version 0.12.5.5. + texmath (0.12.5.5) + + * Allow pandoc-types 1.23. + + * TeX reader: remove false positives for isConvertible (#204). + "Convertible" symbols are those in which subscripts render + under the symbol in display environments, and as subscripts + in inline environments. Previously the TeX parser recognized + all relation and binary symbols as convertible, which does not + match TeX's behavior. + + * TeX reader: Support `\enspace` (#203). + +------------------------------------------------------------------- Old: ---- texmath-0.12.5.4.tar.gz New: ---- texmath-0.12.5.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texmath.spec ++++++ --- /var/tmp/diff_new_pack.okUEfI/_old 2023-01-28 19:05:04.625296088 +0100 +++ /var/tmp/diff_new_pack.okUEfI/_new 2023-01-28 19:05:04.629296109 +0100 @@ -1,7 +1,7 @@ # # spec file for package texmath # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # 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 %bcond_with tests Name: %{pkg_name} -Version: 0.12.5.4 +Version: 0.12.5.5 Release: 0 Summary: Conversion between math formats License: GPL-2.0-or-later ++++++ texmath-0.12.5.4.tar.gz -> texmath-0.12.5.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.5.4/changelog new/texmath-0.12.5.5/changelog --- old/texmath-0.12.5.4/changelog 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.5.5/changelog 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,16 @@ +texmath (0.12.5.5) + + * Allow pandoc-types 1.23. + + * TeX reader: remove false positives for isConvertible (#204). + "Convertible" symbols are those in which subscripts render + under the symbol in display environments, and as subscripts + in inline environments. Previously the TeX parser recognized + all relation and binary symbols as convertible, which does not + match TeX's behavior. + + * TeX reader: Support `\enspace` (#203). + texmath (0.12.5.4) * OMML reader: fix treatment of `eqArr` (#196). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.5.4/src/Text/TeXMath/Readers/TeX.hs new/texmath-0.12.5.5/src/Text/TeXMath/Readers/TeX.hs --- old/texmath-0.12.5.4/src/Text/TeXMath/Readers/TeX.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.5.5/src/Text/TeXMath/Readers/TeX.hs 2001-09-09 03:46:40.000000000 +0200 @@ -543,14 +543,13 @@ isConvertible :: Exp -> Bool isConvertible (EMathOperator x) = x `elem` convertibleOps where convertibleOps = [ "lim","liminf","limsup","inf","sup" - , "min","max","Pr","det","gcd" - ] -isConvertible (ESymbol Rel _) = True -isConvertible (ESymbol Bin _) = True + , "min","max","Pr","det","gcd" ] isConvertible (ESymbol Op x) = x `elem` convertibleSyms - where convertibleSyms = ["\x2211","\x220F","\x22C2", - "\x22C3","\x22C0","\x22C1","\x2A05","\x2A06", - "\x2210","\x2A01","\x2A02","\x2A00","\x2A04"] + where convertibleSyms = + ["\x2211", "\x220F", "\x2210", -- \sum \prod \amalg + "\x22C0", "\x22C1", -- bigwedge \bigvee + "\x22C2", "\x22C3", -- \bigcap \bigcup + "\x2A05", "\x2A06"] -- \bigsqcap \bisqcup isConvertible _ = False -- check if sub/superscripts should always be under and over the expression @@ -655,6 +654,7 @@ (ERoot <$> inbrackets <*> texToken) <|> (ESqrt <$> texToken) xspace :: Text -> TP Exp +xspace "\\enspace" = return $ ESpace (1/2) xspace "\\mspace" = braces $ do len <- many1 digit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.5.4/test/reader/tex/issue204.test new/texmath-0.12.5.5/test/reader/tex/issue204.test --- old/texmath-0.12.5.4/test/reader/tex/issue204.test 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.12.5.5/test/reader/tex/issue204.test 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,8 @@ +<<< tex +a \succcurlyeq_{i} b + +>>> native +[ EIdentifier "a" +, ESub (ESymbol Rel "\8829") (EIdentifier "i") +, EIdentifier "b" +] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.5.4/test/regression/203.test new/texmath-0.12.5.5/test/regression/203.test --- old/texmath-0.12.5.4/test/regression/203.test 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.12.5.5/test/regression/203.test 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,4 @@ +<<< tex +x\enspace y +>>> native +[ EIdentifier "x" , ESpace (1 % 2) , EIdentifier "y" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.5.4/texmath.cabal new/texmath-0.12.5.5/texmath.cabal --- old/texmath-0.12.5.4/texmath.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.5.5/texmath.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ Name: texmath -Version: 0.12.5.4 +Version: 0.12.5.5 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between math formats. @@ -76,7 +76,7 @@ xml, parsec >= 3, containers, - pandoc-types >= 1.20 && < 1.23, + pandoc-types >= 1.20 && < 1.24, mtl >= 2.2.1, text, split @@ -124,7 +124,7 @@ Build-Depends: base >= 4.11 && < 5, texmath, xml, - pandoc-types >= 1.20 && < 1.23, + pandoc-types >= 1.20 && < 1.24, aeson, bytestring, text,
