texlive shapepar comments out print

This commit is contained in:
doupengda 2024-04-25 10:57:17 +08:00
parent 1277700863
commit 8db23ee0d7
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From ad5cae2d091db275ccfa6f1d232ab94eed441b51 Mon Sep 17 00:00:00 2001
From: test <test@example.com>
Date: Thu, 25 Apr 2024 02:38:09 +0000
Subject: [PATCH] shapepar comments out print
---
doc/generic/shapepar/proshap.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/generic/shapepar/proshap.py b/doc/generic/shapepar/proshap.py
index e91e65e..7d6c7d7 100644
--- a/doc/generic/shapepar/proshap.py
+++ b/doc/generic/shapepar/proshap.py
@@ -342,7 +342,7 @@ result = "\\gdef\\bassshape{{"+ middle + \
result = result+ "\\\\{"+str(height) +"}e{"+ middle +"}" + "}\n"
-print result
+print(result)
f = open("result.tex","w")
f.write(result)
f.close()
--
2.43.0

View File

@ -4,13 +4,14 @@
Name: texlive-split-v Name: texlive-split-v
Version: %{tl_version} Version: %{tl_version}
Release: 1 Release: 2
Epoch: 9 Epoch: 9
Summary: TeX formatting system Summary: TeX formatting system
License: Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL-1.3a and LPPL-1.3c and MIT and Public Domain and UCD and Utopia License: Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL-1.3a and LPPL-1.3c and MIT and Public Domain and UCD and Utopia
URL: http://tug.org/texlive/ URL: http://tug.org/texlive/
BuildArch: noarch BuildArch: noarch
Patch0106: texlive-bz#1442706-python-path.patch Patch0106: texlive-bz#1442706-python-path.patch
Patch0107: texlive-shapepar-comments-out-print.patch
Source0003: texlive-licenses.tar.xz Source0003: texlive-licenses.tar.xz
Source1510: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final/archive/showtags.tar.xz Source1510: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final/archive/showtags.tar.xz
Source1511: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final/archive/showtags.doc.tar.xz Source1511: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final/archive/showtags.doc.tar.xz
@ -4808,6 +4809,7 @@ cur_dir=$PWD
cd %{buildroot}%{_texdir}/texmf-dist/ cd %{buildroot}%{_texdir}/texmf-dist/
patch -p0 < %{_sourcedir}/texlive-bz#1442706-python-path.patch patch -p0 < %{_sourcedir}/texlive-bz#1442706-python-path.patch
patch -p1 < %{_sourcedir}/texlive-shapepar-comments-out-print.patch
install -d %{buildroot}%{_datadir}/fonts install -d %{buildroot}%{_datadir}/fonts
cd %{buildroot}%{_datadir}/fonts cd %{buildroot}%{_datadir}/fonts
@ -6029,6 +6031,9 @@ rm -f %{buildroot}%{_datadir}/texlive/texmf-dist/tlpkg/tlpobj/*
%changelog %changelog
* Thu Apr 25 2024 Pengda Dou <doupengda@loongson.cn> - 9:2021-2
- texlive shapepar comments out print
* Wed Oct 26 2022 misaka00251 <liuxin@iscas.ac.cn> - 9:2021-1 * Wed Oct 26 2022 misaka00251 <liuxin@iscas.ac.cn> - 9:2021-1
- Upgrade texlive version to 2021 - Upgrade texlive version to 2021
- The following packages no longer exist: spanish-mx - The following packages no longer exist: spanish-mx