Skip to content

Commit

Permalink
Bump v5.2.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
xueruini committed Feb 27, 2016
1 parent bff2107 commit 3535719
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ distclean: cleanall
-@$(RM) -r dist

check: FORCE_MAKE
ag '\\def\\thuversion|\\def\\version|<cls\|cfg>|"version":' thuthesis.dtx package.json
ag 'Tsinghua University Thesis Template|\\def\\version|"version":' thuthesis.dtx package.json

dist: all
@if [ -z "$(version)" ]; then \
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function usage() {
}

function check_notification() {
util.log(util.colors.yellow('⚠️ Double check versions: `make check`, 3 in thuthesis.dtx and 1 in package.json.'));
util.log(util.colors.yellow('⚠️ Double check versions and dates: `make check`, 3 in thuthesis.dtx and 1 in package.json.'));
util.log(util.colors.yellow('⚠️ Ensure all files are generated.'));
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thuthesis",
"version": "5.2.2",
"version": "5.2.3",
"description": "Tsinghua University Thesis LaTex Template",
"main": "gulpfile.js",
"scripts": {
Expand All @@ -24,6 +24,6 @@
"del": "^2.2.0",
"gulp": "^3.9.1",
"gulp-util": "^3.0.7",
"gulp-zip": "^3.1.0"
"gulp-zip": "^3.2.0"
}
}
22 changes: 10 additions & 12 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
%
% \iffalse
%<*driver>
\def\thudate{\the\year/\the\month/\the\day}
\def\thuversion{5.2.2}
\ProvidesFile{thuthesis.dtx}[{\thudate} {\thuversion} Tsinghua University Thesis Template]
\ProvidesFile{thuthesis.dtx}[2016/02/27 5.2.3 Tsinghua University Thesis Template]
\documentclass{ltxdoc}
\usepackage{dtx-style}

Expand Down Expand Up @@ -1174,7 +1172,7 @@
%<cls>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<cls>\ProvidesClass{thuthesis}
%<cfg>\ProvidesFile{thuthesis.cfg}
%<cls|cfg>[2016/02/01 5.2.2 Tsinghua University Thesis Template]
%<cls|cfg>[2016/02/27 5.2.3 Tsinghua University Thesis Template]
% \end{macrocode}
%
% \subsection{定义选项}
Expand All @@ -1193,7 +1191,7 @@
%<*cls>
\hyphenation{Thu-Thesis}
\def\thuthesis{\textsc{ThuThesis}}
\def\version{5.2.2}
\def\version{5.2.3}

\RequirePackage{kvoptions}
\SetupKeyvalOptions{
Expand Down Expand Up @@ -2088,11 +2086,11 @@
%
% \begin{macro}{\thu@chapter*}
% \changes{v2.5.2}{2006/05/29}{定义自己的 \cs{thu@chapter*}。}
% 默认的 \cs{chapter*} 很难同时满足研究生院和本科生的论文要求。本科论文要求所有
% 的章都出现在目录里,比如摘要、Abstract、主要符号表等,所以可以简单的扩展默认
% \cs{chapter*} 实现这个目的。但是研究生又不要这些出现在目录中,而且致谢和声明
% 部分的章名、页眉和目录都不同,所以我想定义一个灵活的 \cs{thu@chapter*}
% 门处理他们的这些要求
% 默认的 \cs{chapter*} 很难同时满足研究生院和本科生的论文要求。本科论文要求所有的
% 章都出现在目录里,比如摘要、Abstract、主要符号表等,所以可以简单的扩展默
% \cs{chapter*} 实现这个目的。但是研究生又不要这些出现在目录中,而且致谢和声明
% 部分的章名、页眉和目录都不同,所以定义一个灵活的 \cs{thu@chapter*} 专门处理这些
% 要求
%
% \cs{thu@chapter*}\oarg{tocline}\marg{title}\oarg{header}: tocline 是出现在目录
% 中的条目,如果为空则此 chapter 不出现在目录中,如果省略表示目录出现 title;
Expand Down Expand Up @@ -2131,8 +2129,8 @@
%
% \subsubsection{目录}
% \label{sec:toc}
% 最多涉及 4 层,即: x.x.x.x。\par
% chapter(0), section(1), subsection(2), subsubsection(3)
% 最多 4 层,即: x.x.x.x,对应的命令和层序号分别是:
% \cs{chapter}(0), \cs{section}(1), \cs{subsection}(2), \cs{subsubsection}(3)
% \changes{v3.1}{2007/10/09}{博士论文目录只出现到第 3 级标题即可。}
% \changes{v5.0.0}{2015/05/21}{硕士博士论文目录只出现到第 3 级标题即可。其他未明确要求。}
% \begin{macrocode}
Expand Down

0 comments on commit 3535719

Please sign in to comment.