diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-02 20:40:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-02 20:40:31 +0000 |
commit | ac544cb2d59279cb23cd8c4a1ebfedef22ff81f6 (patch) | |
tree | 1cc90013c4a0365a52fcf872c407faaedca4d65f /Master/texmf-dist/doc/latex/pkuthss/readme | |
parent | 6bcb7fafe11bbc913072dca4f243b91c57f087b9 (diff) |
pkuthss (2jul18)
git-svn-id: svn://tug.org/texlive/trunk@48124 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pkuthss/readme')
15 files changed, 540 insertions, 196 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt b/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt index e29c893068a..f1f002704c1 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/ChangeLog.txt @@ -1,3 +1,61 @@ +2018-07-02, v1.8.0 + + * Changes to example template: + - Add the spine template. + + * Changes to package code: + - Fix footnote format, in multiple aspects. + - pkuthss.cls: fix header/footer spacing. + - pkuthss.cls: fix displaymath spacing. + - pkuthss.cls: adjust list margins. + - pkuthss.cls: make chapter pages more tolerant of vertical spacing. + + * Changes to documentation: + - pkuthss.bib: use the `edition' field now supported by blx-caspervector. + - doc: fix "需"/"须" typo. + + * Misc: + - qa: automate the `需'/`须' check, and do not check whitespaces in patches. + - Minor fixes and cosmetics. + +2018-06-12, v1.7.6 + + * Changes to example template: + - nty -> nyt sorting following biblatex-caspervector upstream. + - doc: shorten chapter filenames. + - Assign numbers to `intro' and `concl' by default. + - Makefile: `JOBNAME' -> `JOB', saving some typing. + - Fix Makefile portability. + - doc: "英文" -> "西文". + + * Changes to package code: + - pkuthss.cls: fix spacing between chapter mark/name. + - pkuthss.cls: fix toc depth and format. + - pkuthss.cls: simplify page style setup. + - `pkuthss@...' -> `thss@...' + + * Misc: + - Minor fixes and cosmetics. + +2018-05-12, v1.7.5 + + * Changes to example template: + - doc: Fix missing accented characters with xelatex. + - Remove ctex-xecjk-winfonts.def for ctex < v2.x. + - Make.bat: support xelatex now that we no longer provide the GBK example. + - thesis.tex: fix FAQ subsection reference (thank @peiyangium). + + * Changes to package code: + - pkuthss.cls: fix subsubsection captions. + - pkuthss.cls: remove kludge for tocloft with ctex < v2.x. + + * Changes to documentation: + - Add patch file for English dissertations. + + * Misc: + - (A lot?) more HTTPS. + - Minor fixes and cosmetics. + 2017-03-01, v1.7.4 * API changes: @@ -202,7 +260,7 @@ * Changes to documentation: - No longer recommend the CTeX Suite. - - Remove install hints (already included in TeX Live). + - Remove installation hints (already included in TeX Live). - Discourage bibtex usage with UTF-8. - hologo is back, and now we have proper XeLaTeX logo. diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile b/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile index ba05e4fc80e..8835cd28e63 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile @@ -1,9 +1,9 @@ # Copyright (c) 2008-2009 solvethis -# Copyright (c) 2010-2012,2014 Casper Ti. Vector +# Copyright (c) 2010-2012,2014-2015,2018 Casper Ti. Vector # Public domain. -JOBNAME = pkuthss -BIBTEX = biber -l zh__pinyin +JOB = pkuthss +BIBTEX = biber -l zh__pinyin --output-safechars DVIPDF = dvipdfmx MAKE = make RM = rm -f @@ -17,21 +17,22 @@ else endif ifeq ($(LATEX), latex) - DODVIPDF = $(DVIPDF) $(JOBNAME) + DODVIPDF = $(DVIPDF) $(JOB) endif doc: - $(LATEX1) $(JOBNAME) - $(BIBTEX) $(JOBNAME) - $(LATEX2) $(JOBNAME) - $(LATEX2) $(JOBNAME) + $(LATEX1) $(JOB) + $(BIBTEX) $(JOB) + $(LATEX2) $(JOB) + $(LATEX2) $(JOB) $(DODVIPDF) clean: - $(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \ - {missfont,texput}.log chap/*.aux + $(RM) $(JOB).aux $(JOB).bbl $(JOB).bcf $(JOB).blg $(JOB).dvi \ + $(JOB).lof $(JOB).log $(JOB).lot $(JOB).run.xml $(JOB).toc \ + $(JOB).out $(JOB).out.bak missfont.log texput.log chap/*.aux distclean: clean - $(RM) $(JOBNAME).pdf + $(RM) $(JOB).pdf # vim:ts=4:sw=4 diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/originauth.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/origin.tex index db9f7354982..49d25b54251 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/originauth.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/origin.tex @@ -61,7 +61,7 @@ \item 学校有权保存学位论文的印刷本和电子版, 并提供目录检索与阅览服务,在校园网上提供服务; \item 学校可以采用影印、缩印、数字化或其它复制手段保存论文; - \item 因某种特殊原因需要延迟发布学位论文电子版, + \item 因某种特殊原因须要延迟发布学位论文电子版, 授权学校在 $\Box$\nobreakspace{}一年 / $\Box$\nobreakspace{}两年 / $\Box$\nobreakspace{}三年以后在校园网上全文发布。 @@ -73,7 +73,7 @@ 日期:\hspace{2em}年\hspace{2em}月\hspace{2em}日% } - % 若需排版二维码,请将二维码图片重命名为“barcode”, + % 若须排版二维码,请将二维码图片重命名为“barcode”, % 转为合适的图片格式,并放在当前目录下,然后去掉下面 2 行的注释。 %\vfill\noindent %\includegraphics[height = 5em]{barcode} diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-abstract.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-abs.tex index 352915cc4b3..5dc80d52856 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-abstract.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-abs.tex @@ -7,7 +7,7 @@ % 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \begin{cabstract} 本文介绍了 pkuthss 文档模版所提供的功能。 diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-acknowledge.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-ack.tex index 89c423504a9..0fd606b7b0f 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-acknowledge.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-ack.tex @@ -7,7 +7,7 @@ % 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \chapter{致谢} diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex index d22d2503315..3eaa29114be 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap1.tex @@ -1,13 +1,13 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2015 Casper Ti. Vector +% Copyright (c) 2010-2018 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \chapter{使用介绍} \section{系统要求}\label{sec:req} @@ -37,26 +37,26 @@ \item 中文字体。 \item 如果要使用 biblatex 进行文献列表和引用的排版的话, 还需要 biblatex\supercite{biblatex} 宏包; - \item 如果需要对中文文献进行按汉语拼音的排序的话, + \item 如果要对中文文献进行按汉语拼音的排序的话, 还需要 biber\supercite{biber} 程序。 \item 如果使用默认的文献列表和引用样式的话,还需要作者编写的 biblatex 样式 (biblatex-caspervector\supercite{biblatex-caspervector}), 此样式要求使用 biber 程序。 - \item 如果需要使用 Makefile 来实现自动编译,还需要 Make 工具; + \item 如果须要使用 Makefile 来实现自动编译,还需要 Make 工具; 但如果使用由批处理实现的伪“Makefile”就不用了。 \end{itemize} \myemph{最新}的\myemph{完全版} \hologo{TeX} Live 系统(\myemph{% 注:某些 Linux 发行版软件仓库中的 \hologo{TeX} Live 有问题, 建议使用独立安装版的 \hologo{TeX} Live% - \unemph{\footnote{\url{http://www.tug.org/texlive/}.}}。% + \unemph{\footnote{\url{https://www.tug.org/texlive/}.}}。% })都已经包含除中文字体和 Make 之外所有要求的项目。% \myemph{% 为了获得最好的支持, 我们建议用户使用最新、完全版的 \hologo{TeX} 系统和各宏包。% } -中文字体需要用户自行获得。\myemph{% +中文字体须要用户自行获得。\myemph{% 注:一些中文字体的字库不全,只有 GB2312 字符集内字符的字体信息。 这种情况通常会造成编译生成的 pdf 文件中缺少部分字符, 其中一种典型症状是“〇”字显示不出来。 @@ -154,7 +154,7 @@ pkuthss 文档模版支持三种编译方式,即 } pkuthss 文档模版附带的 Makefile 中已经对这三种编译方式进行了完整的配置。 -用户只需要在 Makefile 中通过设定变量 \verb|JOBNAME| 的值指定被编译的主文件名, +用户只须要在 Makefile 中通过设定变量 \verb|JOB| 的值指定被编译的主文件名, 并通过设定变量 \verb|LATEX| 的值指定采用哪种编译方式, 即可通过在主文件所在目录调用 Make 工具来实现自动编译: 如果是在类 UNIX 环境下,则用户应该调用的命令名为 \verb|make|: diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex index 71d44beb6e3..1ab1b3e9cd3 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap2.tex @@ -1,13 +1,13 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2017 Casper Ti. Vector +% Copyright (c) 2010-2018 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \chapter{pkuthss 文档模版提供的功能} \section{pkuthss 文档类提供的选项}\label{sec:options} @@ -47,7 +47,7 @@ \item \textbf{\texttt{[no]pkufont}}: 是否根据学校对论文格式的要求\mbox{\supercite{pku-thesisstyle}}% - 将英文字体改为类似于 Times New Roman / Arial 的字体。 + 将西文字体改为类似于 Times New Roman / Arial 的字体。 \item \textbf{\texttt{[no]pkufoot}}\footnote{% 此选项等价于 1.6.4 及以前版本 pkuthss-extra 宏包的 @@ -90,7 +90,7 @@ 具体地说,启用 \verb|spacing| 选项后会进行以下几项设置: \begin{itemize} \item 自动忽略 CJK 文字之间的空白而 - 保留(CJK 文字与英文之间等的)其它空白。 + 保留(CJK 文字与西文之间等的)其它空白。 \item 调用 setspace 宏包以使某些细节处的空间安排更美观。 \item 采用比 \hologo{LaTeX} 默认设定更加紧密的枚举环境% \footnote{% @@ -124,7 +124,7 @@ 通常用户在调用 \texttt{\string\maketitle} 前 已经设置好所有的文档信息。 若用户不调用 \texttt{\string\maketitle}, - 则需在设定完文档信息之后自行调用 + 则须在设定完文档信息之后自行调用 第 \ref{ssec:misc} 小节中介绍的 \texttt{\string\setpdfproperties} 命令以完成 pdf 文档属性的设定。% @@ -137,8 +137,8 @@ 它们选择源代码使用的字符编码,默认使用 \verb|GBK|。 \end{itemize} -例如,如果需要使用 UTF-8 编码撰写论文, -则需要在载入 pkuthss 文档类时加上 \verb|UTF8| 选项: +例如,如果须要使用 UTF-8 编码撰写论文, +则应在载入 pkuthss 文档类时加上 \verb|UTF8| 选项: \begin{Verbatim}[frame = single] \documentclass[UTF8, ...]{pkuthss} % “...”代表其它的选项。 \end{Verbatim} @@ -160,19 +160,19 @@ 这些命令总结如下: \begin{itemize} \item \texttt{\bfseries\string\ctitle}:设定论文中文标题; - \item \texttt{\bfseries\string\etitle}:设定论文英文标题; + \item \texttt{\bfseries\string\etitle}:设定论文西文标题; \item \texttt{\bfseries\string\cauthor}:设定作者的中文名; - \item \texttt{\bfseries\string\eauthor}:设定作者的英文名; + \item \texttt{\bfseries\string\eauthor}:设定作者的西文名; \item \texttt{\bfseries\string\studentid}:设定作者的学号; \item \texttt{\bfseries\string\date}:设定日期; \item \texttt{\bfseries\string\school}:设定作者的学院名; \item \texttt{\bfseries\string\cmajor}:设定作者专业的中文名; - \item \texttt{\bfseries\string\emajor}:设定作者专业的英文名; + \item \texttt{\bfseries\string\emajor}:设定作者专业的西文名; \item \texttt{\bfseries\string\direction}:设定作者的研究方向; \item \texttt{\bfseries\string\cmentor}:设定导师的中文名; - \item \texttt{\bfseries\string\ementor}:设定导师的英文名; + \item \texttt{\bfseries\string\ementor}:设定导师的西文名; \item \texttt{\bfseries\string\ckeywords}:设定中文关键词; - \item \texttt{\bfseries\string\ekeywords}:设定英文关键词。 + \item \texttt{\bfseries\string\ekeywords}:设定西文关键词。 \end{itemize} 例如,如果要设定专业为“化学”(“Chemistry”),则可以使用以下命令: @@ -192,11 +192,11 @@ 这些命令总结如下: \begin{itemize} \item \texttt{\bfseries\string\cuniversity}:大学的中文名。 - \item \texttt{\bfseries\string\euniversity}:大学的英文名。 + \item \texttt{\bfseries\string\euniversity}:大学的西文名。 \item \texttt{\bfseries\string\cthesisname}:论文类别的中文名。 - \item \texttt{\bfseries\string\ethesisname}:论文类别的英文名。 + \item \texttt{\bfseries\string\ethesisname}:论文类别的西文名。 \item \texttt{\bfseries\string\cabstractname}:摘要的中文标题。 - \item \texttt{\bfseries\string\eabstractname}:摘要的英文标题。 + \item \texttt{\bfseries\string\eabstractname}:摘要的西文标题。 \end{itemize} 例如, @@ -236,13 +236,13 @@ \subsection{其它命令和环境}\label{ssec:misc} \texttt{\bfseries cabstract} 和 \texttt{\bfseries eabstract} -环境用于编写中英文摘要。 -用户只需要写摘要的正文;标题、作者、导师、专业等部分会自动生成。 +环境用于编写中西文摘要。 +用户只须要写摘要的正文;标题、作者、导师、专业等部分会自动生成。 \texttt{\bfseries\string\specialchap} 命令 用于开始不进行标号但计入目录的一章, 并合理安排其页眉。\myemph{% - 注意:需要启用 \texttt{spechap} 选项才能使用此命令。 + 注意:须要启用 \texttt{spechap} 选项才能使用此命令。 另外,在此章内的节或小节等命令应使用带星号的版本, 例如 \texttt{\string\section\string*} 等, 以免造成章节编号混乱。% @@ -253,10 +253,10 @@ \texttt{\bfseries\string\setpdfproperties} 命令 用于根据用户设定的文档信息自动设定生成的 pdf 文档的属性。 此命令会在用户调用 \verb|\maketitle| 命令时被自动调用, -因此通常不需要用户自己使用; -但用户有时可能不需要输出封面,从而不会调用 \verb|\maketitle| 命令, -此时就需要在设定完文档信息之后调用 \verb|\setpdfproperties|。% -\myemph{注意:需要启用 \texttt{pdfprop} 选项才能使用此命令。} +因此通常不须要用户自己使用; +但用户有时可能不须要输出封面,从而不会调用 \verb|\maketitle| 命令, +此时就须要在设定完文档信息之后调用 \verb|\setpdfproperties|。% +\myemph{注意:须要启用 \texttt{pdfprop} 选项才能使用此命令。} \section{从其它文档类和宏包继承的功能}\label{sec:thirdparty} @@ -285,10 +285,10 @@ pkuthss 文档模版使用作者编写的 biblatex\supercite{biblatex} 样式% 就目前而言,在\myemph{除 3.0--3.3 之外版本的} biblatex 中, 通过更复杂的设置,还可以满足例如被引用的文献按照引用顺序排序, -而未引用的文献按照英文文献在前、中文文献在后排序这样的需求, +而未引用的文献按照西文文献在前、中文文献在后排序这样的需求, 详见 biblatex-caspervector 的文档\supercite{biblatex-caspervector}。 -pkuthss 文档类可能调用以下这些宏包: +除此之外,pkuthss 文档类还可能调用以下这些宏包: \begin{itemize} \item 启用 \verb|pkufont| 选项时会调用 newtxtext 和 newtxmath\supercite{newtx} 宏包, @@ -313,7 +313,7 @@ pkuthss 文档模版的实现是简洁、清晰、灵活的。 假设 pkuthss 的说明文档所在目录具有下述形式的路径: \begin{Verbatim}[frame = single] # 说明文档所在目录($TEXMFDIST 的形式见下面几行): -$TEXMFDIST/tex/latex/pkuthss/ +$TEXMFDIST/doc/latex/pkuthss/ # 若用户使用 Windows 下的 TeX Live 系统,则 $TEXMFDIST 一般类似于: C:\texlive\2015\texmf-dist # 若用户使用类 Unix 下的 TeX Live 系统,则 $TEXMFDIST 一般类似于: @@ -321,10 +321,10 @@ C:\texlive\2015\texmf-dist \end{Verbatim} 则其源文件所在目录应该位于以下目录: \begin{Verbatim}[frame = single] -$TEXMFDIST/doc/latex/pkuthss/ +$TEXMFDIST/tex/latex/pkuthss/ \end{Verbatim} -如果的确需要修改 pkuthss 文档类的源文件,\myemph{% +如果的确须要修改 pkuthss 文档类的源文件,\myemph{% 建议用户将 \texttt{pkuthss.cls} 或其它需要修改的文件 复制到被编译的主文件所在的目录, 然后对此副本进行修改% @@ -332,25 +332,25 @@ $TEXMFDIST/doc/latex/pkuthss/ 能这样做的原因是目前常用的 \hologo{TeX} 系统在读取编译用到的文件时, 会优先考虑工作目录(即主文件所在目录)中的文件。% }。这样做的目的主要是使用户不必在每次调整文档类文件时都去上述路径修改; -同时这样也可以在(万一需要)更新 \hologo{TeX} 系统时, +同时这样也可以在(万一须要)更新 \hologo{TeX} 系统时, 防止用户修改过的文档类文件在更新中被自动覆盖掉。 一个常见的需求是封面中部分内容(特别是论文的标题、专业和研究方向)太长, 超出了在预设的空间。 此时,用户可以修改 \verb|pkuthss.cls| 里 \verb|\maketitle| 定义中 -\verb|\pkuthss@int@fillinblank| 宏的参数来改变 +\verb|\thss@int@fillinblank| 宏的参数来改变 带下划线的空白的行数和行宽,其语法为: \begin{Verbatim}[frame = single] -\pkuthss@int@fillinblank{行数}{行宽}{内容} +\thss@int@fillinblank{行数}{行宽}{内容} \end{Verbatim} 例如,如果“研究方向”一栏需要两行的空白, 可以将 \verb|pkuthss.cls| 里的 \begin{Verbatim}[frame = single] -\pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@direction} +\thss@int@fillinblank{1}{\thss@tmp@len}{\kaishu\@direction} \end{Verbatim} 改为 \begin{Verbatim}[frame = single] -\pkuthss@int@fillinblank{2}{\pkuthss@tmp@len}{\kaishu\@direction} +\thss@int@fillinblank{2}{\thss@tmp@len}{\kaishu\@direction} \end{Verbatim} 当然,为了美观,可以将多于一行的部分移到封面中作者信息部分的最下方。 diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex index 6ed6273abde..bde028dd985 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-chap3.tex @@ -1,13 +1,13 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2017 Casper Ti. Vector +% Copyright (c) 2010-2018 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \chapter{问题及其解决} \section{文档中已经提到的常见问题(按重要性排序)} @@ -33,7 +33,7 @@ 解决方式见第 \ref{sec:options} 节。 通过一些设置,还可以满足例如被引用的文献按照引用顺序排序, -而未引用的文献按照英文文献在前、中文文献在后排序这样的需求, +而未引用的文献按照西文文献在前、中文文献在后排序这样的需求, 见第 \ref{sec:thirdparty} 节。 一些高级设置,如封面中部分内容长度超过预设空间容量时的设置, diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-conclusion.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-concl.tex index dd0619af61a..4d71382198b 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-conclusion.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-concl.tex @@ -7,7 +7,7 @@ % 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,19 +16,19 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \specialchap{结论} pkuthss 文档模版结构较为简洁、清晰、灵活,较为易于学习和使用。 -希望它能为各位需要使用 \hologo{LaTeX} 撰写学位论文的同学提供一些帮助。 +希望它能为各位须要使用 \hologo{LaTeX} 撰写学位论文的同学提供一些帮助。 % vim:ts=4:sw=4 diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-copyright.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-copy.tex index b646a1cb3a7..74b2cc186a6 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-copyright.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-copy.tex @@ -7,7 +7,7 @@ % 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \chapter*{版权声明} \thispagestyle{empty} diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-encl1.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-encl1.tex index 1f35d09b70a..30c397b6e1f 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-encl1.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-encl1.tex @@ -7,7 +7,7 @@ % 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \chapter{更新记录} \raggedbottom diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-introduction.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-intro.tex index 41bc23e4622..db16f7776be 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-introduction.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/chap/pkuthss-intro.tex @@ -1,13 +1,13 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2012,2014-2015 Casper Ti. Vector +% Copyright (c) 2010-2012,2014-2015,2018 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,15 +16,15 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \specialchap{序言} @@ -49,7 +49,7 @@ texdoc pkuthss \item \textbf{论文模版}: 模版的源代码(及由此生成的 pdf 文档) 和本文档的 pdf 文件处于同一目录下。 - 用户只需按照模版中的框架修改代码,即可写出自己的论文。 + 用户只须按照模版中的框架修改代码,即可写出自己的论文。 \end{itemize} 在此之前,包括 dypang\supercite{dypang}、FerretL\supercite{FerretL}、% diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch b/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch new file mode 100644 index 00000000000..a4c13c03574 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss-english.patch @@ -0,0 +1,275 @@ +diff --git a/doc/example/chap/abs.tex b/doc/example/chap/abs.tex +index b930654..cfa6cd3 100644 +--- a/doc/example/chap/abs.tex ++++ b/doc/example/chap/abs.tex +@@ -2,7 +2,7 @@ + % Public domain. + + \begin{cabstract} +- \pkuthssffaq % 中文测试文字 ++ 中文摘要。 + \end{cabstract} + + \begin{eabstract} +diff --git a/doc/example/chap/ack.tex b/doc/example/chap/ack.tex +index 4af4d39..09de33d 100644 +--- a/doc/example/chap/ack.tex ++++ b/doc/example/chap/ack.tex +@@ -1,7 +1,7 @@ + % Copyright (c) 2014,2016 Casper Ti. Vector + % Public domain. + +-\chapter{致谢} +-\pkuthssffaq % 中文测试文字。 ++\chapter{Acknowledgements} ++Test text. + + % vim:ts=4:sw=4 +diff --git a/doc/example/chap/chap1.tex b/doc/example/chap/chap1.tex +index 3d631f3..6e46b13 100644 +--- a/doc/example/chap/chap1.tex ++++ b/doc/example/chap/chap1.tex +@@ -1,7 +1,7 @@ + % Copyright (c) 2014,2016,2018 Casper Ti. Vector + % Public domain. + +-\chapter{引言} +-\pkuthssffaq % 中文测试文字。 ++\chapter{Introduction} ++Test text. + + % vim:ts=4:sw=4 +diff --git a/doc/example/chap/chap2.tex b/doc/example/chap/chap2.tex +index 85f7008..da8c177 100644 +--- a/doc/example/chap/chap2.tex ++++ b/doc/example/chap/chap2.tex +@@ -1,7 +1,7 @@ + % Copyright (c) 2014,2016 Casper Ti. Vector + % Public domain. + +-\chapter{章节} +-\pkuthssffaq % 中文测试文字。 ++\chapter{Some chapter} ++Test text. + + % vim:ts=4:sw=4 +diff --git a/doc/example/chap/chap3.tex b/doc/example/chap/chap3.tex +index ed66f12..ae221d6 100644 +--- a/doc/example/chap/chap3.tex ++++ b/doc/example/chap/chap3.tex +@@ -1,7 +1,7 @@ + % Copyright (c) 2014,2016,2018 Casper Ti. Vector + % Public domain. + +-\chapter{结论和展望} +-\pkuthssffaq % 中文测试文字。 ++\chapter{Conclusion} ++Test text. + + % vim:ts=4:sw=4 +diff --git a/doc/example/chap/encl1.tex b/doc/example/chap/encl1.tex +index 9834829..4296e9a 100644 +--- a/doc/example/chap/encl1.tex ++++ b/doc/example/chap/encl1.tex +@@ -1,7 +1,7 @@ + % Copyright (c) 2014,2016 Casper Ti. Vector + % Public domain. + +-\chapter{附件} +-\pkuthssffaq % 中文测试文字。 ++\chapter{Some appendix} ++Test text. + + % vim:ts=4:sw=4 +diff --git a/doc/example/thesis.bib b/doc/example/thesis.bib +index ac5b0c9..9d2ad60 100644 +--- a/doc/example/thesis.bib ++++ b/doc/example/thesis.bib +@@ -7,13 +7,4 @@ + language = {english}, + } + +-@article{test-zh, +- author = {作者}, +- title = {标题}, +- type = {J}, +- journal = {期刊}, +- date = {2014-04-01}, +- language = {chinese}, +-} +- + % vim:ts=4:sw=4 +diff --git a/doc/example/thesis.tex b/doc/example/thesis.tex +index d7a575f..baed091 100644 +--- a/doc/example/thesis.tex ++++ b/doc/example/thesis.tex +@@ -14,53 +14,44 @@ + % 其它用户不用加入 nofonts 选项,加入之后反而会产生错误。 + \documentclass[UTF8]{pkuthss} + +-% 使用 biblatex 排版参考文献,并规定其格式(详见 biblatex-caspervector 的文档)。 +-% 这里按照西文文献在前,中文文献在后排序(“sorting = ecnyt”); +-% 若须按照中文文献在前,西文文献在后排序,请设置“sorting = cenyt”; +-% 若须按照引用顺序排序,请设置“sorting = none”。 +-% 若须在排序中实现更复杂的需求,请参考 biblatex-caspervector 的文档。 +-\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex} ++% 使用 biblatex 排版参考文献,并规定其格式(详见 biblatex 的文档)。 ++\usepackage[backend = biber]{biblatex} + + % 按学校要求设定参考文献列表中的条目之内及之间的距离。 + \setlength{\bibitemsep}{3bp} + % 对于 linespread 值的计算过程有兴趣的同学可以参考 pkuthss.cls。 + \renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont} + ++\ctexset{ ++ contentsname = {Contents}, ++ listfigurename = {List of Figures}, ++ listtablename = {List of Tables}, ++ figurename = {Figure}, ++ tablename = {Table}, ++ indexname = {Index}, ++ appendixname = {Appendix}, ++ part/name = {\partname\space}, ++ part/number = {\thepart}, ++ chapter/name = {\chaptername\space}, ++ chapter/number = {\thechapter}, ++} ++ + % 设定文档的基本信息。 + \pkuthssinfo{ +- cthesisname = {博士研究生学位论文}, ethesisname = {Doctor Thesis}, +- ctitle = {测试文档}, etitle = {Test Document}, +- cauthor = {某某}, ++ ethesisname = {Doctor Thesis}, ++ etitle = {Test Document}, + eauthor = {Test}, + studentid = {0123456789}, +- date = {某年某月}, +- school = {某某学院}, +- cmajor = {某某专业}, emajor = {Some Major}, +- direction = {某某方向}, +- cmentor = {某某教授}, ementor = {Prof.\ Somebody}, ++ date = {Some Date}, ++ school = {Some School}, ++ emajor = {Some Major}, ++ direction = {Some Direction}, ++ ementor = {Prof.\ Somebody}, + ckeywords = {其一,其二}, ekeywords = {First, Second} + } + % 载入参考文献数据库(注意不要省略“.bib”)。 + \addbibresource{thesis.bib} + +-% 普通用户可删除此段,并相应地删除 chap/*.tex 中的 +-% “\pkuthssffaq % 中文测试文字。”一行。 +-\usepackage{color} +-\def\pkuthssffaq{% +- \emph{\textcolor{red}{pkuthss 文档模版最常见问题:}} +- +- \texttt{\string\cite}、\texttt{\string\parencite} % +- 和 \texttt{\string\supercite} 三个命令分别产生% +- 未格式化的、带方括号的和上标且带方括号的引用标记:% +- \cite{test-en},\parencite{test-zh}、\supercite{test-en, test-zh}。 +- +- 若要避免章末空白页,请在调用 pkuthss 文档类时加入 \texttt{openany} 选项。 +- +- 如果编译时不出参考文献, +- 请参考 \texttt{texdoc pkuthss}“问题及其解决”一章 +- “上游宏包可能引起的问题”一节中关于 biber 的说明。% +-} +- + \begin{document} + % 以下为正文之前的部分,默认不进行章节编号。 + \frontmatter +@@ -94,7 +85,7 @@ + \appendix + % 排版参考文献列表。bibintoc 选项使“参考文献”出现在目录中; + % 如果同时要使参考文献列表参与章节编号,可将“bibintoc”改为“bibnumbered”。 +- \printbibliography[heading = bibintoc] ++ \printbibliography[heading = bibintoc, title = Reference] + % 各附录。 + \include{chap/encl1} + +diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def +index c2c951b..d453918 100644 +--- a/tex/pkuthss-utf8.def ++++ b/tex/pkuthss-utf8.def +@@ -25,13 +25,13 @@ + [2017/03/01 v1.7.4 Labels and captions in UTF-8 encoding + for the pkuthss document class] + +-\def\label@ctitle{题目:} +-\def\label@cauthor{姓\hphantom{汉字}名:} +-\def\label@studentid{学\hphantom{汉字}号:} +-\def\label@school{院\hphantom{汉字}系:} +-\def\label@cmajor{专\hphantom{汉字}业:} +-\def\label@direction{研究方向:} +-\def\label@cmentor{导\hphantom{汉字}师:} ++\def\label@ctitle{Title: } ++\def\label@cauthor{Name} ++\def\label@studentid{Student ID} ++\def\label@school{Affiliation} ++\def\label@cmajor{Major} ++\def\label@direction{Research Division} ++\def\label@cmentor{Supervisor} + \def\label@ementor{Directed by\ } + \def\label@ckeywords{关键词:} + \def\label@ekeywords{KEYWORDS:\ } +diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls +index 6208799..a785d69 100644 +--- a/tex/pkuthss.cls ++++ b/tex/pkuthss.cls +@@ -300,7 +300,7 @@ + \fancyhf{}\renewcommand*{\headrulewidth}{0.75bp} + \fancyfoot[C]{\zihao{5}\normalfont{\thepage}} + \if@twoside +- \fancyhead[CE]{\zihao{5}\normalfont{\cuniversity\cthesisname}} ++ \fancyhead[CE]{\zihao{5}\normalfont{{\euniversity} {\ethesisname}}} + \fancyhead[CO]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}} + \else + \fancyhead[C]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}} +@@ -349,13 +349,13 @@ + \zihao{1}% + \includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}% + \raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em] +- {\bfseries{\cthesisname}}% ++ {\bfseries{\ethesisname}}% + } + \vfill + % Title of the thesis. + {% + \zihao{2}{\label@ctitle}% +- \thss@int@fillinblank{2}{0.64\textwidth}{\textbf{\@ctitle}}% ++ \thss@int@fillinblank{2}{0.64\textwidth}{\textbf{\@etitle}}% + } + \vfill + % Information about the author. +@@ -363,19 +363,19 @@ + % Slightly adjust the line skip when using new font size. + \zihao{3}\linespread{1.75}\selectfont + \def\thss@tmp@len{0.56\textwidth} +- \begin{tabular}{l@{\extracolsep{0.2em}}c} +- {\bfseries\label@cauthor} & +- \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cauthor} \\ +- {\bfseries\label@studentid} & ++ \begin{tabular}{c@{\extracolsep{0.2em}}c@{\extracolsep{0.2em}}c} ++ {\bfseries\label@cauthor} & : & ++ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@eauthor} \\ ++ {\bfseries\label@studentid} & : & + \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@studentid} \\ +- {\bfseries\label@school} & ++ {\bfseries\label@school} & : & + \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@school} \\ +- {\bfseries\label@cmajor} & +- \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cmajor} \\ +- {\bfseries\label@direction} & ++ {\bfseries\label@cmajor} & : & ++ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@emajor} \\ ++ {\bfseries\label@direction} & : & + \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@direction} \\ +- {\bfseries\label@cmentor} & +- \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cmentor} \\ ++ {\bfseries\label@cmentor} & : & ++ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@ementor} \\ + \end{tabular}% + } + \vfill diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.bib b/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.bib index bf6a9f3b2f5..ea9e83124ae 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.bib +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.bib @@ -1,30 +1,33 @@ @online{biber, author = {Kime, Philip and Charette, Fran\c{c}ois}, - title = {Biber: A backend bibliography processor for biblatex (Version 1.8)}, + title = {Biber: A backend bibliography processor for biblatex}, + edition = {Ver.\ 2.7}, type = {M/OL}, - date = {2013-10-18}, - url = {http://mirror.ctan.org/biblio/biber/}, - urldate = {2014-05-24}, + date = {2016-12-05}, + url = {https://ctan.org/pkg/biber}, + urldate = {2017-03-01}, language = {english}, } @online{biblatex, author = {Lehman, Philipp}, - title = {The biblatex Package: Programmable Bibliographies and Citations (Ver.\ 2.8a)}, + title = {The biblatex Package: Programmable Bibliographies and Citations}, + edition = {Ver.\ 3.7}, type = {M/OL}, - date = {2013-11-25}, - url = {http://mirror.ctan.org/macros/latex/contrib/biblatex/}, - urldate = {2016-05-24}, + date = {2016-11-16}, + url = {https://ctan.org/pkg/biblatex}, + urldate = {2017-03-01}, language = {english}, } @online{biblatex-caspervector, author = {Vector, Casper Ti.}, - title = {biblatex 参考文献和引用样式:caspervector v0.2.5}, + title = {biblatex 参考文献和引用样式:caspervector}, + edition = {Ver.\ 0.3.3}, type = {M/OL}, - date = {2016-03-31}, - url = {http://mirror.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-caspervector/}, - urldate = {2016-05-24}, + date = {2018-06-29}, + url = {https://ctan.org/pkg/biblatex-caspervector}, + urldate = {2018-07-02}, language = {chinese}, } @@ -33,18 +36,19 @@ title = {Customizing captions of floating environments}, type = {M/OL}, date = {2011-11-02}, - url = {http://mirror.ctan.org/macros/latex/contrib/caption/}, - urldate = {2016-05-24}, + url = {https://ctan.org/pkg/caption}, + urldate = {2017-03-01}, language = {english}, } @online{ctex, author = {{ctex.org}}, - title = {\CTeX 套件手册(v2.0.2)}, + title = {\CTeX 宏集手册}, + edition = {Ver.\ 2.4.8}, type = {M/OL}, - date = {2015-05-16}, - url = {http://mirror.ctan.org/language/chinese/ctex/}, - urldate = {2015-06-10}, + date = {2017-02-23}, + url = {https://ctan.org/pkg/ctex}, + urldate = {2017-03-01}, language = {chinese}, } @@ -53,28 +57,30 @@ title = {Customizing lists with the enumitem package (Version 3.5.2)}, type = {M/OL}, date = {2011-09-28}, - url = {http://mirror.ctan.org/macros/latex/contrib/enumitem/}, - urldate = {2012-08-01}, + url = {https://ctan.org/pkg/enumitem}, + urldate = {2017-03-01}, language = {english}, } @online{fancyhdr, author = {van Oostrum, Piet}, title = {Page layout in \hologo{LaTeX}}, + edition = {Ver.\ 3.8}, type = {M/OL}, - date = {2004-03-02}, - url = {http://mirror.ctan.org/macros/latex/contrib/fancyhdr/}, - urldate = {2012-08-01}, + date = {2016-09-06}, + url = {https://ctan.org/pkg/fancyhdr}, + urldate = {2017-03-01}, language = {english}, } @online{geometry, author = {Umeki, Hideo}, - title = {The geometry package (v5.6)}, + title = {The geometry package}, + edition = {Ver.\ 5.6}, type = {M/OL}, date = {2010-09-12}, - url = {http://mirror.ctan.org/macros/latex/contrib/geometry/}, - urldate = {2012-08-01}, + url = {https://ctan.org/pkg/geometry}, + urldate = {2017-03-01}, language = {english}, } @@ -82,29 +88,31 @@ author = {Carlisle, D. P.}, title = {Packages in the `graphics' bundle}, type = {M/OL}, - date = {2005-11-14}, - url = {http://mirror.ctan.org/macros/latex/required/graphics/}, - urldate = {2012-08-01}, + date = {2016-12-23}, + url = {https://ctan.org/pkg/graphicx}, + urldate = {2017-03-01}, language = {english}, } @online{hyperref, author = {Rahtz, Sebastian and Oberdiek, Heiko}, - title = {Hypertext marks in \hologo{LaTeX}: a manual for hyperref (v6.82q)}, + title = {Hypertext marks in \hologo{LaTeX}: a manual for hyperref}, + edition = {Ver.\ 6.82q}, type = {M/OL}, - date = {2012-05-13}, - url = {http://mirror.ctan.org/macros/latex/contrib/hyperref/}, - urldate = {2012-08-01}, + date = {2012-11}, + url = {https://ctan.org/pkg/hyperref}, + urldate = {2017-03-01}, language = {english}, } @online{latexsym, author = {Mittelbach, Frank}, - title = {The \hologo{LaTeX} symbol fonts for use with \hologo{LaTeX2e} (v2.2e)}, + title = {The \hologo{LaTeX} symbol fonts for use with \hologo{LaTeX2e}}, + edition = {Ver.\ 2.2e}, type = {M/OL}, date = {1998-08-17}, - url = {http://mirror.ctan.org/macros/latex/base/}, - urldate = {2015-12-15}, + url = {https://ctan.org/tex-archive/macros/latex/base}, + urldate = {2017-03-01}, language = {english}, } @@ -112,49 +120,51 @@ author = {Sharpe, Michael}, title = {New TX font package}, type = {M/OL}, - date = {2015-09-14}, - url = {http://mirror.ctan.org/fonts/newtx/}, - urldate = {2015-12-15}, + date = {2017-01-30}, + url = {https://ctan.org/pkg/newtx}, + urldate = {2017-03-01}, language = {english}, } @online{scrextend, - author = {Kohm, Markus and Morawski, Jens-Uwe}, + author = {Kohm, Markus}, title = {KOMA-Script: a versatile \hologo{LaTeX2e} bundle}, type = {M/OL}, - date = {2015-02-07}, - url = {http://mirror.ctan.org/macros/latex/contrib/koma-script/}, - urldate = {2015-04-26}, + date = {2017-01-02}, + url = {https://ctan.org/pkg/koma-script}, + urldate = {2017-03-01}, language = {english}, } @online{subcaption, author = {Sommerfeldt, Alex}, - title = {The subcaption package (v1.1-75)}, + title = {The subcaption package}, + edition = {Ver.\ 1.1-75}, type = {M/OL}, date = {2013-04-16}, - url = {http://mirror.ctan.org/macros/latex/contrib/subcaption/}, - urldate = {2016-05-24}, + url = {https://ctan.org/pkg/subcaption}, + urldate = {2017-03-01}, language = {english}, } @online{tikz, author = {Till Tantau}, - title = {The TikZ and PGF Packages: Manual for version 3.0.0}, + title = {The TikZ and PGF Packages: Manual for version 3.0.1a}, type = {M/OL}, - date = {2013-12-20}, - url = {http://mirror.ctan.org/graphics/pgf/}, - urldate = {2015-04-26}, + date = {2015-08-29}, + url = {https://ctan.org/pkg/pgf}, + urldate = {2017-03-01}, language = {english}, } @online{tocloft, author = {Robertson, Will}, - title = {The tocloft package (v2.3f)}, + title = {The tocloft package}, + edition = {Ver.\ 2.3f}, type = {M/OL}, date = {2013-05-02}, - url = {http://mirror.ctan.org/macros/latex/contrib/tocloft/}, - urldate = {2016-05-24}, + url = {https://ctan.org/pkg/tocloft}, + urldate = {2017-03-01}, language = {english}, } @@ -163,8 +173,8 @@ title = {The ulem package: underlining for emphasis}, type = {M/OL}, date = {2011-03-18}, - url = {http://mirror.ctan.org/macros/latex/contrib/ulem/}, - urldate = {2016-06-22}, + url = {https://ctan.org/pkg/ulem}, + urldate = {2017-03-01}, language = {english}, } @@ -173,8 +183,8 @@ title = {北京大学硕博论文模版(测试版)}, type = {EB/OL}, date = {2005-04-05}, - url = {http://bdwm.net/a.php?b/Thesis/M.1112645491.A/D10F612.rar}, - urldate = {2012-08-01}, + url = {https://bdwm.net/a.php?b/Thesis/M.1112645491.A/D10F612.rar}, + urldate = {2017-03-01}, language = {chinese}, } @@ -183,8 +193,8 @@ title = {新的 pku 博士论文模板}, type = {EB/OL}, date = {2007-03-27}, - url = {http://bdwm.net/a.php?b/Thesis/M.1174982168.A/4270722.rar}, - urldate = {2012-08-01}, + url = {https://bdwm.net/a.php?b/Thesis/M.1174982168.A/4270722.rar}, + urldate = {2017-03-01}, language = {chinese}, } @@ -193,8 +203,8 @@ title = {学士(硕/博)毕业论文模板 [基于 dypang 的模板]}, type = {EB/OL}, date = {2007-05-15}, - url = {http://bdwm.net/a.php?b/MathTools/M.1179239165.A/5A2D5A2.rar}, - urldate = {2012-08-01}, + url = {https://bdwm.net/a.php?b/MathTools/M.1179239165.A/5A2D5A2.rar}, + urldate = {2017-03-01}, language = {chinese}, } @@ -203,8 +213,8 @@ title = {Re: 关于置底模版的问题和一些修改}, type = {EB/OL}, date = {2007-06-01}, - url = {http://bdwm.net/a.php?b/MathTools/M.1180676700.A/DBB7810.zip}, - urldate = {2012-08-01}, + url = {https://bdwm.net/a.php?b/MathTools/M.1180676700.A/DBB7810.zip}, + urldate = {2017-03-01}, language = {chinese}, } @@ -213,8 +223,8 @@ title = {Re: 学位论文模板更新}, type = {EB/OL}, date = {2008-03-13}, - url = {http://bdwm.net/a.php?b/Thesis/M.1205377509.A/9413ED2.rar}, - urldate = {2012-08-01}, + url = {https://bdwm.net/a.php?b/Thesis/M.1205377509.A/9413ED2.rar}, + urldate = {2017-03-01}, language = {chinese}, } @@ -230,10 +240,11 @@ @online{pku-thesisstyle, author = {北京大学学位办公室}, - title = {北京大学研究生学位论文写作指南 v2.0}, + title = {北京大学研究生学位论文写作指南}, + edition = {Ver.\ 2.0}, type = {M/OL}, date = {2015-06-11}, - url = {http://grs.pku.edu.cn/xwyxk/xwsy/sssxwsy/sxwxggd/42758.htm}, + url = {http://grs.pku.edu.cn/document/20150611115317661150.pdf}, urldate = {2015-12-14}, language = {chinese}, } diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex b/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex index e1396306b73..bf0cd252a0f 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme/pkuthss.tex @@ -1,13 +1,13 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2016 Casper Ti. Vector +% Copyright (c) 2010-2016,2018 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 -% http://www.latex-project.org/lppl.txt +% 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. % @@ -16,33 +16,32 @@ % % This work consists of the following files: % pkuthss.tex -% chap/pkuthss-copyright.tex -% chap/pkuthss-abstract.tex -% chap/pkuthss-introduction.tex +% chap/pkuthss-copy.tex +% chap/pkuthss-abs.tex +% chap/pkuthss-intro.tex % chap/pkuthss-chap1.tex % chap/pkuthss-chap2.tex % chap/pkuthss-chap3.tex -% chap/pkuthss-conclusion.tex +% chap/pkuthss-concl.tex % chap/pkuthss-encl1.tex -% chap/pkuthss-acknowledge.tex +% chap/pkuthss-ack.tex \documentclass[UTF8]{pkuthss} \usepackage[ backend = biber, style = caspervector, utf8, - sorting = ecnty, giveninits = true, sortgiveninits = true + sorting = ecnyt, giveninits = true, sortgiveninits = true ]{biblatex} -\usepackage{fancyvrb} -\usepackage{hologo} +\usepackage{fancyvrb, hologo} \setlength{\hfuzz}{3pt} \ctexset{linestretch = 2\ccwd} -\setlength{\bibitemsep}{3bp} \renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont} +\setlength{\bibitemsep}{3bp} \hypersetup{colorlinks = true, allcolors = blue} \newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}} \newcommand{\unemph}[1]{\textup{\textcolor{black}{#1}}} -\newcommand{\docversion}{v1.7.4} +\newcommand{\docversion}{v1.8.0} \pkuthssinfo{ cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis}, @@ -54,7 +53,7 @@ cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector}, studentid = {00910???}, - date = {二〇一七年三月}, + date = {\zhdigits{2018}年\zhnumber{7}月}, school = {化学与分子工程学院}, cmajor = {化学(?)}, emajor = {Chemistry ... ?}, direction = {据说 Casper 自己也不知道}, @@ -69,29 +68,29 @@ \pagestyle{empty} \maketitle \cleardoublepage - \include{chap/pkuthss-copyright} + \include{chap/pkuthss-copy} \cleardoublepage \pagestyle{plain} \setcounter{page}{0} \pagenumbering{Roman} - \include{chap/pkuthss-abstract} + \include{chap/pkuthss-abs} \tableofcontents \mainmatter - \include{chap/pkuthss-introduction} + \include{chap/pkuthss-intro} \include{chap/pkuthss-chap1} \include{chap/pkuthss-chap2} \include{chap/pkuthss-chap3} - \include{chap/pkuthss-conclusion} + \include{chap/pkuthss-concl} \appendix \printbibliography[heading = bibintoc] \include{chap/pkuthss-encl1} \backmatter - \include{chap/pkuthss-acknowledge} - \include{chap/originauth} + \include{chap/pkuthss-ack} + \include{chap/origin} \end{document} % vim:ts=4:sw=4 |