texlive[60778] Master/texmf-dist: pkuthss (16oct21)

commits+karl at tug.org commits+karl at tug.org
Sat Oct 16 22:43:02 CEST 2021


Revision: 60778
          http://tug.org/svn/texlive?view=revision&revision=60778
Author:   karl
Date:     2021-10-16 22:43:02 +0200 (Sat, 16 Oct 2021)
Log Message:
-----------
pkuthss (16oct21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/copy.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/origin.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/example.pdf
    trunk/Master/texmf-dist/doc/latex/pkuthss/pkuthss.pdf
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/origin.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch
    trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkulogo.eps
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkuword.eps
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/copy.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/copy.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/copy.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -1,5 +1,5 @@
 % Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2017 Casper Ti. Vector
+% Copyright (c) 2010-2017,2021 Casper Ti. Vector
 % All rights reserved.
 %
 % Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,7 @@
 任何收存和保管本论文各种版本的单位和个人,
 未经本论文作者同意,不得将本论文转借他人,
 亦不得随意复制、抄录、拍照或以任何方式传播。
-否则一旦引起有碍作者著作权之问题,将可能承担法律责任。
+否则,引起有碍作者著作权之问题,将可能承担法律责任。
 
 % 若须排版二维码,请将二维码图片重命名为“barcode”,
 % 转为合适的图片格式,并放在当前目录下,然后去掉下面 2 行的注释。

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/origin.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/origin.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/example/chap/origin.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -64,9 +64,9 @@
 			并提供目录检索与阅览服务,在校园网上提供服务;
 		\item 学校可以采用影印、缩印、数字化或其它复制手段保存论文;
 		\item 因某种特殊原因须要延迟发布学位论文电子版,
-			授权学校在 $\Box$\nobreakspace{}一年 /
+			授权学校 $\Box$\nobreakspace{}一年 /
 			$\Box$\nobreakspace{}两年 /
-			$\Box$\nobreakspace{}三年以后在校园网上全文发布。
+			$\Box$\nobreakspace{}三年以后,在校园网上全文发布。
 	\end{itemize}
 	\centerline{(保密论文在解密后遵守此规定)}
 	\vskip 1em

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -42,8 +42,9 @@
 	cauthor = {某某}, eauthor = {Test}, date = {某年某月},
 	studentid = {0123456789}, school = {某某学院},
 	cmajor = {某某专业}, emajor = {Some Major},
-	direction = {某某方向},
-	cmentor = {某某教授}, ementor = {Prof.\ Somebody},
+	direction = {某某方向}, mentorlines = {2},
+	cmentor = {某甲教授\\某乙教授},
+	ementor = {Prof.\ Somebody and Prof.\ Someone},
 	ckeywords = {其一,其二},
 	ekeywords = {First, Second},
 	% 以下两项无双盲评审需求的用户可保持原状。
@@ -64,6 +65,14 @@
 	未格式化的、带方括号的和上标且带方括号的引用标记:%
 	\cite{test-en},\parencite{test-zh}、\supercite{test-en, test-zh}。
 
+	若格式审查时提示字号或其它格式细节问题,请启用 pkuthss 的 \texttt{ugly}
+	选项,同时可以考虑启用 biblatex-caspervector 的 \texttt{ugly} 选项
+	或者换用 biblatex-gb7714-2015,详见 \texttt{thesis.tex} 中相关注释。
+
+	生成的 PDF 文件中标记链接的彩色框不会出现在打印版论文中。
+	如仍须去掉,可在 \texttt{thesis.tex} 导言区加入
+	\texttt{\string\hypersetup\{hidelinks\}}。
+
 	若要避免章末空白页,请在调用 pkuthss 文档类时加入 \texttt{openany} 选项。
 
 	如果编译时不出参考文献,

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/pkuthss.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt	2021-10-16 20:43:02 UTC (rev 60778)
@@ -1,6 +1,23 @@
-2010-03-29, v1.9.0
+2021-10-16, v1.9.1
 
 	* API changes:
+	- Support `mentorlines' like casthss.
+
+	* Changes to example template:
+	- thesis.tex: more obvious hints on `ugly', new note on `hidelinks'.
+	- copy.tex, origin.tex: minor update according to school requirements.
+
+	* Changes to package code:
+	- Merge common parts from pkuthss-*.def into pkuthss.def.
+	- Also "uglify" the keywords label.
+
+	* Misc:
+	- ChangeLog.txt: typo (thank @fjn308).
+	- Minor fixes and cosmetics.
+
+2021-03-29, v1.9.0
+
+	* API changes:
 	- Add support for double-blind review (thank @Kurapikov).
 	- Add `\thesiscover' for possibly different thesis name on the cover.
 

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/origin.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/origin.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/origin.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -64,9 +64,9 @@
 			并提供目录检索与阅览服务,在校园网上提供服务;
 		\item 学校可以采用影印、缩印、数字化或其它复制手段保存论文;
 		\item 因某种特殊原因须要延迟发布学位论文电子版,
-			授权学校在 $\Box$\nobreakspace{}一年 /
+			授权学校 $\Box$\nobreakspace{}一年 /
 			$\Box$\nobreakspace{}两年 /
-			$\Box$\nobreakspace{}三年以后在校园网上全文发布。
+			$\Box$\nobreakspace{}三年以后,在校园网上全文发布。
 	\end{itemize}
 	\centerline{(保密论文在解密后遵守此规定)}
 	\vskip 1em

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -72,7 +72,7 @@
 \begin{Verbatim}
 texdoc pkuthss
 \end{Verbatim}
-所打开的 pdf 文件所在的同一目录中包含两个子目录和相应的两个 pdf 文件,
+打开的 pdf 文件所在目录中包含两个子目录和相应的两个 pdf 文件,
 其中 \verb|readme/| 为说明文档(即本文档)的源代码,%
 \verb|example/| 为文档模版的源代码,%
 \verb|pkuthss.pdf| 和 \verb|example.pdf|

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -207,6 +207,7 @@
 		出于兼容性的考虑,如果 \texttt{\string\thesiscover} 为空,
 		那么封面将显示 \texttt{\string\cthesisname}。%
 	}。
+	\item \texttt{\bfseries\string\mentorlines}:封面“导师”部分的行数。
 	\item \texttt{\bfseries\string\cabstractname}:摘要的中文标题。
 	\item \texttt{\bfseries\string\eabstractname}:摘要的西文标题。
 \end{itemize}
@@ -353,20 +354,7 @@
 一个常见的需求是封面中部分内容(特别是论文的标题、专业和研究方向)太长,
 超出了在预设的空间。
 此时,用户可以修改 \verb|pkuthss.cls| 里 \verb|\maketitle| 定义中
-\verb|\thss at int@fillinblank| 宏的参数来改变
-带下划线的空白的行数和行宽,其语法为:
-\begin{Verbatim}
-\thss at int@fillinblank{行数}{行宽}{内容}
-\end{Verbatim}
-例如,如果“研究方向”一栏需要两行的空白,
-可以将 \verb|pkuthss.cls| 里的
-\begin{Verbatim}
-\thss at int@fillinblank{1}{\thss at tmp@len}{\kaishu\@direction}
-\end{Verbatim}
-改为
-\begin{Verbatim}
-\thss at int@fillinblank{2}{\thss at tmp@len}{\kaishu\@direction}
-\end{Verbatim}
-当然,为了美观,可以将多于一行的部分移到封面中作者信息部分的最下方。
+\verb|\thss at int@fillinblank| 宏的参数来改变带下划线的空白的行数和行宽,
+具体方法可以参考该文件中和 \verb|\mentorlines| 相关的代码。
 
 % vim:ts=4:sw=4

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -71,6 +71,12 @@
 可以参考 hyperref 宏包 README 文件中的“Package Compatibility”一节。
 此文件通常和执行 \verb|texdoc hyperref|
 时打开的 pdf 文件位于同一目录中。
+hyperref 默认会在输出的 pdf 文件中用彩色框来标记链接,
+这些彩色框只会显示在屏幕上,不会被打印出来;
+如有特殊需求,也可以在文章的导言区加入以下代码以完全去掉彩色框:
+\begin{Verbatim}
+\hypersetup{hidelinks}
+\end{Verbatim}
 
 biber 运行时有一定概率出现形如(目录名可能稍有不同)
 \begin{Verbatim}

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch	2021-10-16 20:43:02 UTC (rev 60778)
@@ -1,5 +1,5 @@
 diff --git a/doc/example/chap/abs.tex b/doc/example/chap/abs.tex
-index dcffe0e..8fd046f 100644
+index ea215a8..8ad4294 100644
 --- a/doc/example/chap/abs.tex
 +++ b/doc/example/chap/abs.tex
 @@ -2,7 +2,7 @@
@@ -100,10 +100,10 @@
 -
  % vim:ts=4:sw=4
 diff --git a/doc/example/thesis.tex b/doc/example/thesis.tex
-index 0009fe6..3f2d945 100644
+index dbfd379..6a8767a 100644
 --- a/doc/example/thesis.tex
 +++ b/doc/example/thesis.tex
-@@ -14,36 +14,42 @@
+@@ -14,36 +14,43 @@
  \documentclass[UTF8]{pkuthss}
  % 如果的确须要使脚注按页编号的话,可以去掉后面 footmisc 包的注释。
  %\usepackage[perpage]{footmisc}
@@ -152,18 +152,19 @@
 -	cauthor = {某某}, eauthor = {Test}, date = {某年某月},
 -	studentid = {0123456789}, school = {某某学院},
 -	cmajor = {某某专业}, emajor = {Some Major},
--	direction = {某某方向},
--	cmentor = {某某教授}, ementor = {Prof.\ Somebody},
+-	direction = {某某方向}, mentorlines = {2},
+-	cmentor = {某甲教授\\某乙教授},
 +	eauthor = {Test},
 +	date = {Month Year}, studentid = {0123456789},
 +	school = {Some School},
 +	emajor = {Some Major},
-+	direction = {Some Direction},
-+	ementor = {Prof.\ Somebody},
++	direction = {Some Research Division},
++	mentorlines = {2},
++	cmentor = {Prof.\ Somebody\\Prof.\ Someone},
+ 	ementor = {Prof.\ Somebody and Prof.\ Someone},
  	ckeywords = {其一,其二},
  	ekeywords = {First, Second},
- 	% 以下两项无双盲评审需求的用户可保持原状。
-@@ -53,26 +59,6 @@
+@@ -54,34 +61,6 @@
  % 载入参考文献数据库(注意不要省略“.bib”)。
  \addbibresource{thesis.bib}
  
@@ -178,6 +179,14 @@
 -	未格式化的、带方括号的和上标且带方括号的引用标记:%
 -	\cite{test-en},\parencite{test-zh}、\supercite{test-en, test-zh}。
 -
+-	若格式审查时提示字号或其它格式细节问题,请启用 pkuthss 的 \texttt{ugly}
+-	选项,同时可以考虑启用 biblatex-caspervector 的 \texttt{ugly} 选项
+-	或者换用 biblatex-gb7714-2015,详见 \texttt{thesis.tex} 中相关注释。
+-
+-	生成的 PDF 文件中标记链接的彩色框不会出现在打印版论文中。
+-	如仍须去掉,可在 \texttt{thesis.tex} 导言区加入
+-	\texttt{\string\hypersetup\{hidelinks\}}。
+-
 -	若要避免章末空白页,请在调用 pkuthss 文档类时加入 \texttt{openany} 选项。
 -
 -	如果编译时不出参考文献,
@@ -191,11 +200,11 @@
  	% 以下为正文之前的部分,默认不进行章节编号。
  	\frontmatter
 diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def
-index d968f90..f99a891 100644
+index afed37b..e74e4bf 100644
 --- a/tex/pkuthss-utf8.def
 +++ b/tex/pkuthss-utf8.def
-@@ -26,13 +26,13 @@
- 	[2020/11/02 v1.8.3 Labels and captions in UTF-8 encoding
+@@ -27,13 +27,13 @@
+ 	[2021/03/29 v1.9.0 Labels and captions in UTF-8 encoding
  		for the pkuthss document class]
  
 -\def\label at ctitle{题目:}
@@ -212,14 +221,14 @@
 +\def\label at cmajor{Major}
 +\def\label at direction{Research Division}
 +\def\label at cmentor{Supervisor}
- \def\label at ementor{Directed by\ }
  \def\label at ckeywords{关键词:}
- \def\label at ekeywords{KEYWORDS:\ }
+ \def\label at blindcover{(匿名评阅论文封面)}
+ \def\label at blindctitle{中文题目:}
 diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls
-index 4499528..e6311cb 100644
+index 6ee4e69..5f782f6 100644
 --- a/tex/pkuthss.cls
 +++ b/tex/pkuthss.cls
-@@ -317,7 +317,7 @@
+@@ -305,7 +305,7 @@
  	\fancyhf{}\renewcommand*{\headrulewidth}{0.75bp}
  	\fancyfoot[C]{\zihao{5}\normalfont{\thepage}}
  	\if at twoside
@@ -228,7 +237,7 @@
  		\fancyhead[CO]{\zihao{5}\normalfont\thss at int@setcase{\leftmark}}
  	\else
  		\fancyhead[C]{\zihao{5}\normalfont\thss at int@setcase{\leftmark}}
-@@ -367,14 +367,14 @@
+@@ -355,14 +355,14 @@
  				\zihao{1}\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
  				\raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
  			\fi%
@@ -245,7 +254,7 @@
  		}
  		\vfill
  		% Information about the author.
-@@ -382,19 +382,19 @@
+@@ -370,18 +370,18 @@
  			% Slightly adjust the line skip when using new font size.
  			\zihao{3}\linespread{1.75}\selectfont
  			\def\thss at tmp@len{0.56\textwidth}
@@ -269,9 +278,7 @@
 +				{\bfseries\label at direction}	&	:	&
  				\thss at int@fillinblank{1}{\thss at tmp@len}{\fangsong\@direction}	\\
 -				{\bfseries\label at cmentor}		&
--				\thss at int@fillinblank{1}{\thss at tmp@len}{\fangsong\@cmentor}		\\
 +				{\bfseries\label at cmentor}		&	:	&
-+				\thss at int@fillinblank{1}{\thss at tmp@len}{\fangsong\@ementor}		\\
+ 				\thss at int@fillinblank{\mentorlines}%
+ 					{\thss at tmp@len}{\fangsong\@cmentor}	\\
  			\end{tabular}%
- 		}
- 		\vfill

Modified: trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex	2021-10-16 20:43:02 UTC (rev 60778)
@@ -51,7 +51,7 @@
 }
 
 \newif\ifblind\blindfalse
-\newcommand*{\docversion}{v1.9.0}
+\newcommand*{\docversion}{v1.9.1}
 \pkuthssinfo{
 	cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis},
 	ctitle = {北京大学学位论文模版{\thssnl}pkuthss \docversion},
@@ -60,11 +60,12 @@
 		\texorpdfstring{\thssnl}{: }pkuthss \docversion%
 	},
 	cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector},
-	date = {\zhdigits{2021}年\zhnumber{3}月},
+	date = {\zhdigits{2021}年\zhnumber{10}月},
 	studentid = {00910???}, school = {化学与分子工程学院},
 	cmajor = {应用化学}, emajor = {Applied Chemistry},
-	direction = {据说 Casper 自己也不知道},
-	cmentor = {XX 教授}, ementor = {Prof.\ XX},
+	direction = {据说 Casper 自己也不知道}, mentorlines = {2},
+	cmentor = {XX 教授\\YY 教授},
+	ementor = {Prof.\ XX and Prof.\ YY},
 	ckeywords = {\hologo{LaTeX},排版,文档类,\CTeX{}},
 	ekeywords = {\hologo{LaTeX}, Typesetting, Document class, \CTeX{}},
 	blindid = {???01900}, discipline = {化学}

Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkulogo.eps
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def	2021-10-16 20:43:02 UTC (rev 60778)
@@ -17,6 +17,7 @@
 %
 % This work consists of the following files:
 %   pkuthss.cls
+%   pkuthss.def
 %   pkuthss-gbk.def
 %   pkuthss-utf8.def
 %   pkulogo.eps
@@ -23,7 +24,7 @@
 %   pkuword.eps
 
 \ProvidesFile{pkuthss-gbk.def}
-	[2021/03/29 v1.9.0 Labels and captions in GBK encoding
+	[2021/10/16 v1.9.1 Labels and captions in GBK encoding
 		for the pkuthss document class]
 
 \def\label at ctitle{\xCC\xE2Ŀ\xA3\xBA}
@@ -33,9 +34,7 @@
 \def\label at cmajor{ר\hphantom{\xBA\xBA\xD7\xD6}ҵ\xA3\xBA}
 \def\label at direction{\xD1о\xBF\xB7\xBD\xCF\xF2\xA3\xBA}
 \def\label at cmentor{\xB5\xBC\hphantom{\xBA\xBA\xD7\xD6}ʦ\xA3\xBA}
-\def\label at ementor{Directed by\ }
 \def\label at ckeywords{\xB9ؼ\xFC\xB4ʣ\xBA}
-\def\label at ekeywords{KEYWORDS:\ }
 \def\label at blindcover{\xA3\xA8\xC4\xE4\xC3\xFB\xC6\xC0\xD4\xC4\xC2\xDB\xCEķ\xE2\xC3棩}
 \def\label at blindctitle{\xD6\xD0\xCE\xC4\xCC\xE2Ŀ\xA3\xBA}
 \def\label at blindetitle{Ӣ\xCE\xC4\xCC\xE2Ŀ\xA3\xBA}
@@ -45,12 +44,8 @@
 
 \def\titlepagename{\xB7\xE2\xC3\xE6}
 \def\cuniversity{\xB1\xB1\xBE\xA9\xB4\xF3ѧ}
-\def\euniversity{Peking University}
 \def\cthesisname{\xB2\xA9ʿѧλ\xC2\xDB\xCE\xC4}
-\def\ethesisname{Doctor Thesis}
-\def\thesiscover{}
 \def\cabstractname{ժҪ}
-\def\eabstractname{ABSTRACT}
 
 \endinput
 % vim:ft=tex:ts=2:sw=2

Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def	2021-10-16 20:43:02 UTC (rev 60778)
@@ -17,6 +17,7 @@
 %
 % This work consists of the following files:
 %   pkuthss.cls
+%   pkuthss.def
 %   pkuthss-gbk.def
 %   pkuthss-utf8.def
 %   pkulogo.eps
@@ -23,7 +24,7 @@
 %   pkuword.eps
 
 \ProvidesFile{pkuthss-utf8.def}
-	[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 at ctitle{题目:}
@@ -33,9 +34,7 @@
 \def\label at cmajor{专\hphantom{汉字}业:}
 \def\label at direction{研究方向:}
 \def\label at cmentor{导\hphantom{汉字}师:}
-\def\label at ementor{Directed by\ }
 \def\label at ckeywords{关键词:}
-\def\label at ekeywords{KEYWORDS:\ }
 \def\label at blindcover{(匿名评阅论文封面)}
 \def\label at blindctitle{中文题目:}
 \def\label at blindetitle{英文题目:}
@@ -45,12 +44,8 @@
 
 \def\titlepagename{封面}
 \def\cuniversity{北京大学}
-\def\euniversity{Peking University}
 \def\cthesisname{博士学位论文}
-\def\ethesisname{Doctor Thesis}
-\def\thesiscover{}
 \def\cabstractname{摘要}
-\def\eabstractname{ABSTRACT}
 
 \endinput
 % vim:ft=tex:ts=2:sw=2

Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls	2021-10-16 20:42:32 UTC (rev 60777)
+++ trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls	2021-10-16 20:43:02 UTC (rev 60778)
@@ -17,6 +17,7 @@
 %
 % This work consists of the following files:
 %   pkuthss.cls
+%   pkuthss.def
 %   pkuthss-gbk.def
 %   pkuthss-utf8.def
 %   pkulogo.eps
@@ -24,7 +25,7 @@
 
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{pkuthss}
-	[2021/03/29 v1.9.0 Peking University dissertation document class]
+	[2021/10/16 v1.9.1 Peking University dissertation document class]
 
 % eg. `\thss at int@boolopt{spacing}{true}' will expand to:
 %   \newif\ifthss at opt@spacing \thss at opt@spacingtrue
@@ -85,22 +86,8 @@
 \RequirePackage[normalem]{ulem}
 % `\AtEndOfClass' used to avoid `PDF destination not defined' with setspace.
 \AtEndOfClass{\RequirePackage{hyperref}}
+\input{pkuthss.def}
 
-\ifthss at opt@gbk
-	\input{pkuthss-gbk.def}
-	\ifxetex
-		% No support for XeLaTeX compilation in non-unicode encoding, i.e. GBK.
-		\ClassError{pkuthss}%
-			{XeLaTeX compilation is not supported without UTF-8}%
-			{%
-				XeLaTeX compilation without UTF-8 is very problematic.\MessageBreak
-				Therefore please use UTF-8 encoding for the LaTeX code.%
-			}
-	\fi
-\else
-	\input{pkuthss-utf8.def}
-\fi
-
 \ifthss at opt@pkufont
 	% Use Times New Roman / Arial according to school regulation.
 	% Option used to prevent newtxtext from manipulating footnote marks.
@@ -248,6 +235,7 @@
 \thss at int@infoitemb{cthesisname}
 \thss at int@infoitemb{ethesisname}
 \thss at int@infoitemb{thesiscover}
+\thss at int@infoitemb{mentorlines}
 \thss at int@infoitemb{cabstractname}
 \thss at int@infoitemb{eabstractname}
 % Set up document information using the `key = value' grammar.
@@ -394,7 +382,8 @@
 				{\bfseries\label at direction}	&
 				\thss at int@fillinblank{1}{\thss at tmp@len}{\fangsong\@direction}	\\
 				{\bfseries\label at cmentor}		&
-				\thss at int@fillinblank{1}{\thss at tmp@len}{\fangsong\@cmentor}		\\
+				\thss at int@fillinblank{\mentorlines}%
+					{\thss at tmp@len}{\fangsong\@cmentor}	\\
 			\end{tabular}%
 		}
 		\vfill

Added: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def	2021-10-16 20:43:02 UTC (rev 60778)
@@ -0,0 +1,57 @@
+% Peking University dissertation document class
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2013,2015,2021 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
+% your option) any later version.
+% The latest version of this license is in
+%   https://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX version
+% 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+% The current maintainer of this work is Casper Ti. Vector.
+%
+% This work consists of the following files:
+%   pkuthss.cls
+%   pkuthss.def
+%   pkuthss-gbk.def
+%   pkuthss-utf8.def
+%   pkulogo.eps
+%   pkuword.eps
+
+\ProvidesFile{pkuthss.def}
+	[2021/10/16 v1.9.1 Labels and captions for the pkuthss document class]
+
+\def\label at ementor{Directed by\ }
+\def\euniversity{Peking University}
+\def\ethesisname{Doctor Thesis}
+\def\thesiscover{}
+\def\mentorlines{1}
+\def\eabstractname{ABSTRACT}
+
+\ifthss at opt@ugly
+	\def\label at ekeywords{KEY WORDS:\ }
+\else
+	\def\label at ekeywords{KEYWORDS:\ }
+\fi
+
+\ifthss at opt@gbk
+	\input{pkuthss-gbk.def}
+	\ifxetex
+		% No support for XeLaTeX compilation in non-unicode encoding, i.e. GBK.
+		\ClassError{pkuthss}%
+			{XeLaTeX compilation is not supported without UTF-8}%
+			{%
+				XeLaTeX compilation without UTF-8 is very problematic.\MessageBreak
+				Therefore please use UTF-8 encoding for the LaTeX code.%
+			}
+	\fi
+\else
+	\input{pkuthss-utf8.def}
+\fi
+
+\endinput
+% vim:ft=tex:ts=2:sw=2


Property changes on: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuword.eps
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf
===================================================================
(Binary files differ)



More information about the tex-live-commits mailing list.