diff --git a/Makefile b/Makefile index 473b793..067c7f3 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ TITLE = pkuthss README = $(TITLE) EXAMPLE = thesis -VERSION = 1.8.0 +VERSION = 1.8.1 default: dist diff --git a/doc/example/latexmkrc b/doc/example/latexmkrc index 4878610..8df2c24 100644 --- a/doc/example/latexmkrc +++ b/doc/example/latexmkrc @@ -1,3 +1,6 @@ +# Copyright (c) 2019 Casper Ti. Vector +# Public domain. + @default_files = ('thesis'); # 5:xelatex;3:latex(+ dvipdfmx);1:pdflatex。 $pdf_mode = 5; diff --git a/doc/example/spine.tex b/doc/example/spine.tex index a2520ff..005e4c3 100644 --- a/doc/example/spine.tex +++ b/doc/example/spine.tex @@ -1,4 +1,4 @@ -% Copyright (c) 2018 Casper Ti. Vector +% Copyright (c) 2018-2019 Casper Ti. Vector % Public domain. \documentclass[UTF8, zihao = -4]{ctexart} diff --git a/doc/readme/ChangeLog.txt b/doc/readme/ChangeLog.txt index f1f0027..57eac50 100644 --- a/doc/readme/ChangeLog.txt +++ b/doc/readme/ChangeLog.txt @@ -1,3 +1,25 @@ +2019-11-15, v1.8.1 + + * Changes to example template: + - Migrate to latexmk (also for packaging). + - ctex-fontset-pkuthss.def: `[ simkai.ttf ]' etc is no longer supported. + - spine.tex: fix garbled characters and hbox warnings with pdflatex. + + * Changes to package code: + - pkuthss.cls: work around the `\lvert already defined' error. + - pkuthss.cls: fix section title spacing below the page header. + - pkuthss.cls: adjust titlepage spacing. + + * Changes to documentation: + - Synchronise with the current code. + - Use \mbox around \supercite by default. + - Improve verbatims. + + * Misc: + - Completion of some previous commits. + - Migrate to Gitea, "for obvious reasons". + - Minor fixes and cosmetics. + 2018-07-02, v1.8.0 * Changes to example template: diff --git a/doc/readme/chap/pkuthss-copy.tex b/doc/readme/chap/pkuthss-copy.tex index 74b2cc1..68fa2d9 100644 --- a/doc/readme/chap/pkuthss-copy.tex +++ b/doc/readme/chap/pkuthss-copy.tex @@ -31,7 +31,7 @@ 版权所有 \copyright\ 2008--2009 solvethis \par -版权所有 \copyright\ 2010--2017 Casper Ti. Vector +版权所有 \copyright\ 2010--2019 Casper Ti. Vector \vskip 1em pkuthss 文档类及其说明文档均以 \hologo{LaTeX} Project Public License 发布。 diff --git a/doc/readme/latexmkrc b/doc/readme/latexmkrc index ac55586..0f25b84 100644 --- a/doc/readme/latexmkrc +++ b/doc/readme/latexmkrc @@ -1,3 +1,6 @@ +# Copyright (c) 2019 Casper Ti. Vector +# Public domain. + @default_files = ('pkuthss'); $pdf_mode = 5; $dvipdf = "dvipdfmx %O -o %D %S"; diff --git a/doc/readme/pkuthss.tex b/doc/readme/pkuthss.tex index 0a4ad2e..70989ba 100644 --- a/doc/readme/pkuthss.tex +++ b/doc/readme/pkuthss.tex @@ -1,7 +1,7 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2016,2018 Casper Ti. Vector +% Copyright (c) 2010-2016,2018-2019 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 @@ -60,7 +60,7 @@ cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector}, studentid = {00910???}, - date = {\zhdigits{2018}年\zhnumber{7}月}, + date = {\zhdigits{2019} 年 \zhnumber{11} 月}, school = {化学与分子工程学院}, cmajor = {化学(?)}, emajor = {Chemistry ... ?}, direction = {据说 Casper 自己也不知道}, diff --git a/tex/pkuthss-gbk.def b/tex/pkuthss-gbk.def index 8c39301..8ebb0f6 100644 --- a/tex/pkuthss-gbk.def +++ b/tex/pkuthss-gbk.def @@ -22,7 +22,7 @@ % pkuword.eps \ProvidesFile{pkuthss-gbk.def} - [2018/07/02 v1.8.0 Labels and captions in GBK encoding + [2019/11/15 v1.8.1 Labels and captions in GBK encoding for the pkuthss document class] \def\label@ctitle{Ŀ} diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def index b699685..64cbcf1 100644 --- a/tex/pkuthss-utf8.def +++ b/tex/pkuthss-utf8.def @@ -22,7 +22,7 @@ % pkuword.eps \ProvidesFile{pkuthss-utf8.def} - [2018/07/02 v1.8.0 Labels and captions in UTF-8 encoding + [2019/11/15 v1.8.1 Labels and captions in UTF-8 encoding for the pkuthss document class] \def\label@ctitle{题目:} diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls index c1337c8..0e0c766 100644 --- a/tex/pkuthss.cls +++ b/tex/pkuthss.cls @@ -1,7 +1,7 @@ % Peking University dissertation document class % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2018 Casper Ti. Vector +% Copyright (c) 2010-2019 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 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{pkuthss} - [2018/07/02 v1.8.0 Peking University dissertation document class] + [2019/11/15 v1.8.1 Peking University dissertation document class] % eg. `\thss@int@boolopt{spacing}{true}' will expand to: % \newif\ifthss@opt@spacing \thss@opt@spacingtrue diff --git a/utils/bump b/utils/bump index 1c96b95..32152f2 100755 --- a/utils/bump +++ b/utils/bump @@ -4,7 +4,7 @@ # Public domain. NUMDATE = $(shell date '+%Y/%m/%d') -CNDATE = $(shell date '+\\zhdigits{%Y}年\\zhnumber{%-m}月') +CNDATE = $(shell date '+\\zhdigits{%Y} 年 \\zhnumber{%-m} 月') revbump: sed -i '/\\Provides/,+1 s;\[[^ ]* [^ ]*;[$(NUMDATE) v$(VERSION);g' \