From c8185bb3cd55c24b45c9b19c4ea36b8c7057199d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 5 May 2022 03:00:42 +0000 Subject: CTAN sync 202205050300 --- .../latex/contrib/pkuthss/doc/readme/ChangeLog.txt | 5 +++ .../pkuthss/doc/readme/chap/pkuthss-chap2.tex | 9 ++--- .../pkuthss/doc/readme/pkuthss-english.patch | 12 +++---- .../latex/contrib/pkuthss/doc/readme/pkuthss.bib | 39 ++++++++++++++++------ .../latex/contrib/pkuthss/doc/readme/pkuthss.tex | 4 +-- 5 files changed, 46 insertions(+), 23 deletions(-) (limited to 'macros/latex/contrib/pkuthss/doc/readme') diff --git a/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt index 20a12257a5..665120151a 100644 --- a/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt +++ b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt @@ -1,3 +1,8 @@ +2022-05-04, v1.9.2 + + * Changes to package code: + - Support pkufont via unicode-math instead of newtx when using xelatex. + 2021-10-16, v1.9.1 * API changes: diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex index bdc6af316f..4b5073b08a 100644 --- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex +++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex @@ -1,7 +1,7 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2019,2021 Casper Ti. Vector +% Copyright (c) 2010-2019,2021-2022 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -306,9 +306,10 @@ pkuthss 文档模版使用作者编写的 biblatex\cupercite{biblatex} 样式% 除此之外,pkuthss 文档类还可能调用以下这些宏包: \begin{itemize} - \item 启用 \verb|pkufont| 选项时会调用 - newtxtext 和 newtxmath\cupercite{newtx} 宏包, - 否则会调用 latexsym\cupercite{latexsym} 宏包。 + \item 启用 \verb|pkufont| 选项时会调用 unicode-math + \cupercite{unicode-math} 宏包(\hologo{XeLaTeX} 编译)或 + newtxtext/newtxmath\cupercite{newtx} 宏包(非 \hologo{XeLaTeX} + 编译),否则会调用 latexsym\cupercite{latexsym} 宏包。 \item 启用 \verb|pkufoot| 选项时会调用 tikz\cupercite{tikz} 和 scrextend\cupercite{scrextend} 宏包。 \item 启用 \verb|pkuspace| 选项时会调用 diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch index c405437e53..384a33ea55 100644 --- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch +++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch @@ -200,11 +200,11 @@ index dbfd379..6a8767a 100644 % 以下为正文之前的部分,默认不进行章节编号。 \frontmatter diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def -index afed37b..e74e4bf 100644 +index e1d9566..7cfbd32 100644 --- a/tex/pkuthss-utf8.def +++ b/tex/pkuthss-utf8.def @@ -27,13 +27,13 @@ - [2021/03/29 v1.9.0 Labels and captions in UTF-8 encoding + [2021/10/16 v1.9.1 Labels and captions in UTF-8 encoding for the pkuthss document class] -\def\label@ctitle{题目:} @@ -225,10 +225,10 @@ index afed37b..e74e4bf 100644 \def\label@blindcover{(匿名评阅论文封面)} \def\label@blindctitle{中文题目:} diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls -index 6ee4e69..5f782f6 100644 +index 5aaf3ae..68bc3a4 100644 --- a/tex/pkuthss.cls +++ b/tex/pkuthss.cls -@@ -305,7 +305,7 @@ +@@ -332,7 +332,7 @@ \fancyhf{}\renewcommand*{\headrulewidth}{0.75bp} \fancyfoot[C]{\zihao{5}\normalfont{\thepage}} \if@twoside @@ -237,7 +237,7 @@ index 6ee4e69..5f782f6 100644 \fancyhead[CO]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}} \else \fancyhead[C]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}} -@@ -355,14 +355,14 @@ +@@ -382,14 +382,14 @@ \zihao{1}\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}% \raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em] \fi% @@ -254,7 +254,7 @@ index 6ee4e69..5f782f6 100644 } \vfill % Information about the author. -@@ -370,18 +370,18 @@ +@@ -397,18 +397,18 @@ % Slightly adjust the line skip when using new font size. \zihao{3}\linespread{1.75}\selectfont \def\thss@tmp@len{0.56\textwidth} diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib index 3f4adbe05f..9e1770056e 100644 --- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib +++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib @@ -1,7 +1,7 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2021 Casper Ti. Vector +% Copyright (c) 2010-2022 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -85,10 +85,11 @@ @online{caption, author = {Sommerfeldt, Alex}, title = {Customizing captions of floating environments}, + edition = {Ver.~3.6}, type = {M/OL}, - date = {2011-11-02}, + date = {2022-02-20}, url = {https://ctan.org/pkg/caption}, - urldate = {2017-03-01}, + urldate = {2022-05-04}, language = {english}, } @@ -105,7 +106,8 @@ @online{enumitem, author = {Bezos, Javier}, - title = {Customizing lists with the enumitem package (Version 3.5.2)}, + title = {Customizing lists with the enumitem package}, + edition = {Ver.~3.5.2}, type = {M/OL}, date = {2011-09-28}, url = {https://ctan.org/pkg/enumitem}, @@ -138,10 +140,11 @@ @online{graphicx, author = {Carlisle, D. P.}, title = {Packages in the `graphics' bundle}, + edition = {Ver.~1.2d}, type = {M/OL}, - date = {2016-12-23}, + date = {2021-09-16}, url = {https://ctan.org/pkg/graphicx}, - urldate = {2017-03-01}, + urldate = {2022-05-04}, language = {english}, } @@ -170,20 +173,22 @@ @online{newtx, author = {Sharpe, Michael}, title = {New TX font package}, + edition = {Ver.~1.71}, type = {M/OL}, - date = {2017-01-30}, + date = {2022-03-02}, url = {https://ctan.org/pkg/newtx}, - urldate = {2017-03-01}, + urldate = {2022-05-04}, language = {english}, } @online{scrextend, author = {Kohm, Markus}, title = {KOMA-Script: a versatile \hologo{LaTeX2e} bundle}, + edition = {Ver.~3.35}, type = {M/OL}, - date = {2017-01-02}, + date = {2021-11-13}, url = {https://ctan.org/pkg/koma-script}, - urldate = {2017-03-01}, + urldate = {2022-05-04}, language = {english}, } @@ -200,7 +205,8 @@ @online{tikz, author = {Till Tantau}, - title = {The TikZ and PGF Packages: Manual for version 3.0.1a}, + title = {The TikZ and PGF Packages}, + edition = {Ver.~3.0.1a}, type = {M/OL}, date = {2015-08-29}, url = {https://ctan.org/pkg/pgf}, @@ -229,6 +235,17 @@ language = {english}, } +@online{unicode-math, + author = {Robertson, Will and Stephani, Philipp and Wright, Joseph and Hosny, Khaled}, + title = {Experimental Unicode mathematical typesetting: The unicode-math package}, + edition = {Ver.~0.8q}, + type = {M/OL}, + date = {2020-01-31}, + url = {https://ctan.org/pkg/unicode-math}, + urldate = {2022-05-04}, + language = {english}, +} + @online{dypang, author = {dypang}, title = {北京大学硕博论文模版(测试版)}, diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex index 9a8e1de8c9..0bccb1a29b 100644 --- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex +++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex @@ -51,7 +51,7 @@ } \newif\ifblind\blindfalse -\newcommand*{\docversion}{v1.9.1} +\newcommand*{\docversion}{v1.9.2} \pkuthssinfo{ cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis}, ctitle = {北京大学学位论文模版{\thssnl}pkuthss \docversion}, @@ -60,7 +60,7 @@ \texorpdfstring{\thssnl}{: }pkuthss \docversion% }, cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector}, - date = {\zhdigits{2021}年\zhnumber{10}月}, + date = {\zhdigits{2022}年\zhnumber{5}月}, studentid = {00910???}, school = {化学与分子工程学院}, cmajor = {应用化学}, emajor = {Applied Chemistry}, direction = {据说 Casper 自己也不知道}, mentorlines = {2}, -- cgit v1.2.3