Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package texmath for openSUSE:Factory checked in at 2024-05-21 18:35:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texmath (Old) and /work/SRC/openSUSE:Factory/.texmath.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "texmath" Tue May 21 18:35:00 2024 rev:60 rq:1175072 version:0.12.8.9 Changes: -------- --- /work/SRC/openSUSE:Factory/texmath/texmath.changes 2024-04-21 20:30:55.477945247 +0200 +++ /work/SRC/openSUSE:Factory/.texmath.new.1880/texmath.changes 2024-05-21 18:35:20.499972718 +0200 @@ -1,0 +2,8 @@ +Sat May 11 06:48:59 UTC 2024 - Peter Simons <psim...@suse.com> + +- Update texmath to version 0.12.8.9. + texmath (0.12.8.9) + + * Parse TeX `\mathbf` as both bold and upright (#236). + +------------------------------------------------------------------- Old: ---- texmath-0.12.8.8.tar.gz New: ---- texmath-0.12.8.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texmath.spec ++++++ --- /var/tmp/diff_new_pack.nPJpS4/_old 2024-05-21 18:35:21.115995111 +0200 +++ /var/tmp/diff_new_pack.nPJpS4/_new 2024-05-21 18:35:21.119995256 +0200 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: %{pkg_name} -Version: 0.12.8.8 +Version: 0.12.8.9 Release: 0 Summary: Conversion between math formats License: GPL-2.0-or-later ++++++ texmath-0.12.8.8.tar.gz -> texmath-0.12.8.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/changelog new/texmath-0.12.8.9/changelog --- old/texmath-0.12.8.8/changelog 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.8.9/changelog 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,7 @@ +texmath (0.12.8.9) + + * Parse TeX `\mathbf` as both bold and upright (#236). + texmath (0.12.8.8) * TeX reader: support unicode-math Greek symbols, e.g. `\Alpha` (#235). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/src/Text/TeXMath/Readers/TeX/Commands.hs new/texmath-0.12.8.9/src/Text/TeXMath/Readers/TeX/Commands.hs --- old/texmath-0.12.8.8/src/Text/TeXMath/Readers/TeX/Commands.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.8.9/src/Text/TeXMath/Readers/TeX/Commands.hs 2001-09-09 03:46:40.000000000 +0200 @@ -41,7 +41,7 @@ styleOps = M.fromList [ ("\\mathrm", EStyled TextNormal) , ("\\mathup", EStyled TextNormal) - , ("\\mathbf", EStyled TextBold) + , ("\\mathbf", EStyled TextNormal . (:[]) . EStyled TextBold) , ("\\boldsymbol", EStyled TextBold) , ("\\bm", EStyled TextBold) , ("\\symbf", EStyled TextBold) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/src/Text/TeXMath/Writers/TeX.hs new/texmath-0.12.8.9/src/Text/TeXMath/Writers/TeX.hs --- old/texmath-0.12.8.8/src/Text/TeXMath/Writers/TeX.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.8.9/src/Text/TeXMath/Writers/TeX.hs 2001-09-09 03:46:40.000000000 +0200 @@ -274,6 +274,9 @@ case map (fixSpace . escapeLaTeX) (T.unpack s) of [] -> return () xs -> tell $ txtcmd (Grouped xs) +writeExp (EStyled TextNormal [EStyled TextBold es]) = do + tell [ControlSeq "\\mathbf"] + tellGroup $ mapM_ writeExp $ everywhere (mkT (fromUnicode TextBold)) es writeExp (EStyled ttype es) = do txtcmd <- (flip S.getLaTeXTextCommand ttype) <$> asks mathEnv tell [ControlSeq txtcmd] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/test/reader/tex/22.test new/texmath-0.12.8.9/test/reader/tex/22.test --- old/texmath-0.12.8.8/test/reader/tex/22.test 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.8.9/test/reader/tex/22.test 2001-09-09 03:46:40.000000000 +0200 @@ -66,13 +66,16 @@ ] , [ [ EText TextMonospace "mathbf" ] , [ EStyled - TextBold - [ EIdentifier "A" - , EIdentifier "B" - , EIdentifier "C" - , EIdentifier "a" - , EIdentifier "b" - , EIdentifier "c" + TextNormal + [ EStyled + TextBold + [ EIdentifier "A" + , EIdentifier "B" + , EIdentifier "C" + , EIdentifier "a" + , EIdentifier "b" + , EIdentifier "c" + ] ] ] ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/test/reader/tex/binomial_coefficient.test new/texmath-0.12.8.9/test/reader/tex/binomial_coefficient.test --- old/texmath-0.12.8.8/test/reader/tex/binomial_coefficient.test 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.8.9/test/reader/tex/binomial_coefficient.test 2001-09-09 03:46:40.000000000 +0200 @@ -2,7 +2,7 @@ \mathbf{C}(n,k) = \mathbf{C}_k^n = {}_n\mathbf{C}_k = \binom{n}{k} = \frac{n!}{k!\,(n -k)!} >>> native -[ EStyled TextBold [ EIdentifier "C" ] +[ EStyled TextNormal [ EStyled TextBold [ EIdentifier "C" ] ] , EDelimited "(" ")" @@ -12,12 +12,14 @@ ] , ESymbol Rel "=" , ESubsup - (EStyled TextBold [ EIdentifier "C" ]) + (EStyled TextNormal [ EStyled TextBold [ EIdentifier "C" ] ]) (EIdentifier "k") (EIdentifier "n") , ESymbol Rel "=" , ESub (EGrouped []) (EIdentifier "n") -, ESub (EStyled TextBold [ EIdentifier "C" ]) (EIdentifier "k") +, ESub + (EStyled TextNormal [ EStyled TextBold [ EIdentifier "C" ] ]) + (EIdentifier "k") , ESymbol Rel "=" , EDelimited "(" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/test/regression/236a.test new/texmath-0.12.8.9/test/regression/236a.test --- old/texmath-0.12.8.8/test/regression/236a.test 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.12.8.9/test/regression/236a.test 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,4 @@ +<<< tex +\mathbf{A} +>>> typst +upright(bold(A)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/test/regression/236b.test new/texmath-0.12.8.9/test/regression/236b.test --- old/texmath-0.12.8.8/test/regression/236b.test 1970-01-01 01:00:00.000000000 +0100 +++ new/texmath-0.12.8.9/test/regression/236b.test 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,4 @@ +<<< tex +\mathbf{A} +>>> tex +\mathbf{A} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texmath-0.12.8.8/texmath.cabal new/texmath-0.12.8.9/texmath.cabal --- old/texmath-0.12.8.8/texmath.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/texmath-0.12.8.9/texmath.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ Name: texmath -Version: 0.12.8.8 +Version: 0.12.8.9 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between math formats.