Fix encoding of TeX source file

This commit is contained in:
Miro Hrončok 2018-08-14 13:05:44 +02:00
parent a4a28fcb15
commit 5125b8335b
2 changed files with 23 additions and 0 deletions

20
sympy-tex-encoding.patch Normal file
View File

@ -0,0 +1,20 @@
--- sympy-sympy-1.2/doc/cheatsheet/combinatoric_cheatsheet.tex.orig 2018-07-09 18:27:56.000000000 +0200
+++ sympy-sympy-1.2/doc/cheatsheet/combinatoric_cheatsheet.tex 2018-08-14 13:38:21.397200957 +0200
@@ -425,7 +425,7 @@
\verb!coset_factor(g, af=False)!\\
-Return GÔs (selfÕs) coset factorization, \verb!f,! of \verb!g!.
+Return G's (self's) coset factorization, \verb!f,! of \verb!g!.
@@ -458,7 +458,7 @@
\verb!generate_dimino(af=False)!\\
-Yield group elements using DiminoÕs algorithm
+Yield group elements using Dimino's algorithm
\verb!generate_schreier_sims(af=False)!\\

View File

@ -14,6 +14,8 @@ Patch2: %{name}-doc.patch
# Fix _subexpr method in lambdify # Fix _subexpr method in lambdify
# https://github.com/sympy/sympy/pull/14945 # https://github.com/sympy/sympy/pull/14945
Patch3: %{name}-subexpr-lambdify.patch Patch3: %{name}-subexpr-lambdify.patch
# The TeX source has some weird symbols, we need to patch them out
Patch4: %{name}-tex-encoding.patch
BuildArch: noarch BuildArch: noarch
@ -115,6 +117,7 @@ HTML documentation for sympy.
%patch1 %patch1
%patch2 %patch2
%patch3 %patch3
%patch4
# If running on a 32-bit system, disable a test that requires 64-bit integers. # If running on a 32-bit system, disable a test that requires 64-bit integers.
%global maxpyint %(python3 -c 'import sys;print("%x" % sys.maxsize)') %global maxpyint %(python3 -c 'import sys;print("%x" % sys.maxsize)')