texlive[44476] Master/texmf-dist: cquthesis (31may17)

commits+karl at tug.org commits+karl at tug.org
Tue Jun 6 01:13:51 CEST 2017


Revision: 44476
          http://tug.org/svn/texlive?view=revision&revision=44476
Author:   karl
Date:     2017-06-06 01:13:51 +0200 (Tue, 06 Jun 2017)
Log Message:
-----------
cquthesis (31may17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/bibtex/bst/cquthesis/cqunumerical.bst
    trunk/Master/texmf-dist/doc/latex/cquthesis/README-Chinese.md
    trunk/Master/texmf-dist/doc/latex/cquthesis/README.md
    trunk/Master/texmf-dist/doc/latex/cquthesis/contents/ack.tex
    trunk/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
    trunk/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex
    trunk/Master/texmf-dist/doc/latex/cquthesis/cquthesis.pdf
    trunk/Master/texmf-dist/doc/latex/cquthesis/dtx-style.sty
    trunk/Master/texmf-dist/doc/latex/cquthesis/main.tex
    trunk/Master/texmf-dist/source/latex/cquthesis/cquthesis.dtx
    trunk/Master/texmf-dist/source/latex/cquthesis/makewin.bat
    trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cfg
    trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/cquthesis/CONTRIBUTORS.md
    trunk/Master/texmf-dist/source/latex/cquthesis/makewin-English.bat

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/cquthesis/figures/README

Modified: trunk/Master/texmf-dist/bibtex/bst/cquthesis/cqunumerical.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/cquthesis/cqunumerical.bst	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/bibtex/bst/cquthesis/cqunumerical.bst	2017-06-05 23:13:51 UTC (rev 44476)
@@ -387,7 +387,7 @@
   media empty$
     { url empty$
         'skip$
-        { "/OL" * }
+        { "" * }
       if$
     }
     { "/" * media * }
@@ -1209,7 +1209,7 @@
   author format.key output
   new.block
   format.series.volume.title "title" output.check
-  "M" format.mark "" output.after
+  "EB" format.mark "" output.after
   new.block
   format.translators output
   new.block
@@ -1264,7 +1264,8 @@
   author format.key output
   new.block
   format.series.volume.title "title" output.check
-  "D" format.mark ": [PhD]" * "" output.after
+  "D" format.mark "" * "" output.after
+  %%"D" format.mark ": [PhD]" * "" output.after
   new.block
   format.translators output
   new.block

Added: trunk/Master/texmf-dist/doc/latex/cquthesis/CONTRIBUTORS.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/CONTRIBUTORS.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/CONTRIBUTORS.md	2017-06-05 23:13:51 UTC (rev 44476)
@@ -0,0 +1,21 @@
+# 贡献者名单
+
+CQUThesis是一个绵薄的开源项目,自从2016年5月份上线以来,很多热心人士为项目作出了各种各样的贡献,这里是他们的名单:
+
+* **BluesCas**(重庆大学TeX用户组成员,他给Beta版本的CQUThesis提出了很多建议,例如[Issue #12](https://github.com/nanmu42/CQUThesis/issues/12),他为TeX在母校的推广贡献良多)
+* **FIVE**(十分热心的CQUThesis博士版本用户,重庆大学TeX用户组成员,他提交了很多Bug,出了很多主意)
+* **Be.**(重庆大学TeX用户组成员,为TeX在母校的推广做出了不少身体力行的贡献)
+* **IOriens**(重庆大学TeX用户组成员,[PR #29](https://github.com/nanmu42/CQUThesis/pull/29))
+* **rhiswell**([Issue #28](https://github.com/nanmu42/CQUThesis/issues/28),一个振奋人心的好消息)
+* **fengzipei**([Issue #30](https://github.com/nanmu42/CQUThesis/issues/30))
+* **craneaow**([Issue #20](https://github.com/nanmu42/CQUThesis/issues/20),这带来了一个新功能!)
+* **Zousiyu**(重庆大学TeX用户组成员,他贡献了开发思路)
+* **Lotus**(重庆大学TeX用户组成员,他在群里各种--瞎--带节奏)
+
+还有,
+* 我的母校,**重庆大学**
+* 最后,当然是[重庆大学TeX用户组](http://jq.qq.com/?_wv=1027&k=2HvYu95)的全体同仁
+
+在此,向诸位致以最真诚的谢意,因为你们,CQUThesis才能够越走越稳,直到今天!
+
+2017年5月30日 —— CQUThesis 一岁整
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/cquthesis/CONTRIBUTORS.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/README-Chinese.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/README-Chinese.md	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/README-Chinese.md	2017-06-05 23:13:51 UTC (rev 44476)
@@ -1,7 +1,9 @@
 # 嗨,这里是CQUThesis!
+
 [![CTAN release](https://img.shields.io/ctan/v/cquthesis.svg?label=CTAN)](https://www.ctan.org/pkg/cquthesis)
 [![GitHub release](https://img.shields.io/github/release/nanmu42/cquthesis.svg?label=Github)](https://github.com/nanmu42/CQUThesis/releases/latest)
-[![GitHub commits](https://img.shields.io/github/commits-since/nanmu42/CQUThesis/v1.16.svg)](https://github.com/nanmu42/CQUThesis/commits/master)
+[![GitHub commits](https://img.shields.io/github/commits-since/nanmu42/CQUThesis/v1.20.svg)](https://github.com/nanmu42/CQUThesis/commits/master)
+[![DOI](https://zenodo.org/badge/58866503.svg)](https://zenodo.org/badge/latestdoi/58866503)
 
 CQUThesis表示的是**C**hong**Q**ing **U**niversity **Thesis**.
 
@@ -10,6 +12,7 @@
 CQUThesis根据重庆大学《重庆大学本科设计(论文)撰写规范化要求(2007年修订版)》和《重庆大学博士、硕士论文撰写格式标准(2007年修订版)》编写,力求合规,简洁,易于实现,用户友好。
 
 # 模板特色
+
 * 支持重庆大学本科(文学、理工)、硕士(学术、专业)、博士的毕业论文格式;
 * 内置封面、目录、索引、授权书等论文部件,可按需自动生成;
 * 自动侦测文档页数,生成相应的单面打印/双面打印PDF文件;
@@ -20,6 +23,7 @@
 
 # 获取CQUThesis
 ## 下载
+
 版本	|	下载地址	|	描述
 ---	|	---		|	---
 开发版	|[点我下载](https://github.com/nanmu42/cquthesis/zipball/master)	|	推荐,最新的功能,最快的BugFix
@@ -29,6 +33,7 @@
 排版示例和用户文档随版本发布,如果需要单独下载,请参阅后文。
 
 ## 部署
+
 CQUThesis的安装十分便利。下载CQUThesis的.zip压缩包后请将整个文件夹解压出来,进入文件夹后:
 
 * Windows用户可以直接双击运行`makewin.bat`
@@ -40,7 +45,8 @@
 
 即可完成 CQUThesis 的安装和示例文档的编译。以上也是CQUThesis推荐的论文编译方式。
 
-## 编译方式
+## 高级编译
+
 CQUThesis提供了支持全平台的Makefile来完成论文编译,大部分编译工作基于`latexmk`,能够有效利用中间文件提高编译效率,实现一键编译。
 
 * Windows用户请在文件夹空白处按住Shift键再点击书鼠标右键,选择“在此处打开命令窗口”,运行下列命令:
@@ -52,6 +58,7 @@
 * Linux用户和Mac用户可打开 Makefile 文件查看相关用法。
 
 ## 更新
+
 CQUThesis的升级很方便,下载最新的开发版,将zip文件中的`cquthesis.dtx`和`cquthesis.ins`覆盖掉工作文件夹中的相应文件后:
 
 * Windows用户请在文件夹空白处按住Shift键再点击书鼠标右键,选择“在此处打开命令窗口”,运行下列命令:
@@ -68,29 +75,36 @@
 
 
 #  文档 
+
 文档涵盖了CQUThesis的使用方法、注意事项、实现方式,推荐阅读以快速上手:
 
-	文档 | 描述
-	--- | ---
- 排版示例 |	请编译`main.tex`获得
- 用户文档 |	随模板发布,也可[点我下载](https://github.com/nanmu42/CQUThesis/raw/master/cquthesis.pdf)
+文档 | 描述
+--- | ---
+排版示例 |	请编译`main.tex`获得
+用户文档 |	随模板发布,也可[点我下载](https://github.com/nanmu42/CQUThesis/raw/master/cquthesis.pdf)
  
  此外,如果您需要向导师或学院征求使用TeX进行论文排版的理解和肯定,[重庆大学TeX用户组](http://jq.qq.com/?_wv=1027&k=2HvYu95)为您提供[《关于推荐重庆大学开设TeX相关课程并推广其运用的提议》](https://github.com/CQUtug/TeXProposal),希望这份文档能帮到您。目前,我们正在学校范围内推动这一提案。
 
 # 提问和支持
+
 * [Github Issues](https://github.com/nanmu42/CQUThesis/issues)
 * 加入[重庆大学TeX用户组](http://jq.qq.com/?_wv=1027&k=2HvYu95)寻求支持
 
 # 用户协议
+
 1. 本模板按照[LaTeX Project Public License](https://latex-project.org/lppl/lppl-1-3.txt)发布,协议版本号为1.3或以后的任何版本(随你意)。本条款不适用于重庆大学LaTeX模板工具箱(CQUThesis Toolkit);
 1. 截止本文档编译时,重庆大学教务处和研究生院只提供了毕业论文写作指南,没有提供官方模板,也没有授权或认证任何第三方模板为官方模板。本模板是按照写作指南的参考实现,模板作者自当尽力,但不保证审查老师不提意见。在开始使用前,您同意,任何由于本模板而引起的论文格式审查问题与本模板作者无关。
 
 # About CQUThesis
+
 CQUThesis stands for Chongqing University Thesis Template for LaTeX, bearing the ability to support bachelor, master, doctor dissertations with grace and speed.
 
 # 致谢 / Acknowledgements
+
 这个模板是站在巨人肩膀上的成果,感谢LaTeX 2e计划,感谢[CTeX社区](https://github.com/CTeX-org/ctex-kit)提供的中文解决方案,感谢薛瑞尼副教授的[先驱之作](https://github.com/xueruini/thuthesis),感谢[中国科学技术大学TeX用户组](https://github.com/ustctug/gbt-7714-2015)。向你们致以真诚的问候和感激!
 
+特别感谢参与CQUThesis的开发和维护的诸位[**直接贡献者**](https://github.com/nanmu42/CQUThesis/blob/master/CONTRIBUTORS.md),向你们致以真诚的敬意和感激!
+
 世界因你们更美好。
 
 The author would like to acknowledge these contributors for their efforts and, essentially, beautiful mind:
@@ -98,12 +112,17 @@
 * [The CTeX Community](https://github.com/CTeX-org/ctex-kit)
 * [XUE, Ruini](https://github.com/xueruini/thuthesis)
 * [USTC TeX User Group](https://github.com/ustctug/gbt-7714-2015)
+* [Chongqing University Opensource Mirror](https://github.com/cqumirror)
+* [CQU Mirror Site Dev. Task Force](https://github.com/cqumirror)
+* [Chongqing University Lan-Union for Computer and Network](http://lanunion.cqu.edu.cn/)
 
 # 论文写作规范
+
 - [重庆大学本科毕业设计(论文)撰写规范化要求(2007修订).pdf](https://github.com/nanmu42/CQUThesis/files/644308/2007.pdf)
 - [重庆大学博士、硕士学位论文撰写格式标准(2007修订).pdf](https://github.com/nanmu42/CQUThesis/files/644309/2007.pdf)
 
 # 关于CQUThesis Toolkit
+
 重庆大学LaTeX模板工具箱(CQUThesis Toolkit)是为了增强CQUThesis而提供的额外文件和程序,这些内容往往是对CQUThesis易用性或功能的增强,没有它们,CQUThesis仍然可以良好地独立运行。
 
 这些内容有着自己的授权方式和简单的用户协议,不会随本模板的CTAN版本发布,CQUThesis的Github源是这些内容唯一的官方源,程序的更新和修正都会在这里进行。

Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/README.md	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/README.md	2017-06-05 23:13:51 UTC (rev 44476)
@@ -1,7 +1,7 @@
 # About CQUThesis
 [![CTAN release](https://img.shields.io/ctan/v/cquthesis.svg?label=CTAN)](https://www.ctan.org/pkg/cquthesis)
 [![GitHub release](https://img.shields.io/github/release/nanmu42/cquthesis.svg?label=Github)](https://github.com/nanmu42/CQUThesis/releases/latest)
-[![GitHub commits](https://img.shields.io/github/commits-since/nanmu42/CQUThesis/v1.16.svg)](https://github.com/nanmu42/CQUThesis/commits/master)
+[![GitHub commits](https://img.shields.io/github/commits-since/nanmu42/CQUThesis/v1.20.svg)](https://github.com/nanmu42/CQUThesis/commits/master)
 
 **CQUThesis** stands for Chongqing University Thesis Template for LaTeX, bearing the ability to support bachelor, master, doctor dissertations with grace and speed.
 

Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/contents/ack.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/contents/ack.tex	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/contents/ack.tex	2017-06-05 23:13:51 UTC (rev 44476)
@@ -1,5 +1,8 @@
 \chapter{致\hskip\ccwd{}谢}
-% \chapterstar{}命令用于生成不编号的\chapter,这个命令提供目录和页眉内容的支持
-这个模板是站在巨人肩膀上的成果,感谢\LaTeXe{}计划,感谢CTeX开发组提供的中文解决方案,感谢薛瑞尼副教授(Github: xueruini/ThuThesis),感谢WeiJianWen同学(Github: weijianwen/SJTUThesis),感谢中国科学技术大学TeX用户组(Github: ustctug/gbt-7714-2015)。向你们致以真诚的问候和感激!
 
-世界因你们更美好。
+% 这里用盲审环境包裹致谢,在开启盲审开关时,环境内部的内容不予渲染。
+\begin{secretizeEnv}
+	这个模板是站在巨人肩膀上的成果,感谢\LaTeXe{}计划,感谢CTeX开发组提供的中文解决方案,感谢薛瑞尼副教授(Github: xueruini/ThuThesis),感谢WeiJianWen同学(Github: weijianwen/SJTUThesis),感谢中国科学技术大学TeX用户组(Github: ustctug/gbt-7714-2015)。向你们致以真诚的问候和感激!
+	
+	世界因你们更美好。
+\end{secretizeEnv}

Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex	2017-06-05 23:13:51 UTC (rev 44476)
@@ -1,14 +1,17 @@
 \chapter{附\hskip\ccwd{}录}
 \section{作者在攻读博士学位期间发表和拟发表论文目录}
-\subsection{测试第三级目录2}
-\subsubsection{四级目录1}
-水陆草木之花,可爱者甚蕃。晋陶渊明独爱菊。自李唐来,世人盛爱牡丹。予独爱莲之出淤泥而不染,濯清涟而不妖,中通外直,不蔓不枝,香远益清,亭亭净植,可远观而不可亵玩焉。
-\subsubsection{四级目录2}
-予谓菊,花之隐逸者也;牡丹,花之富贵者也;莲,花之君子者也。噫!菊之爱,陶后鲜有闻。莲之爱,同予者何人?牡丹之爱,宜乎众矣!
-\subsubsection{四级目录3}
-予谓菊,花之隐逸者也;牡丹,花之富贵者也;莲,花之君子者也。噫!菊之爱,陶后鲜有闻。莲之爱,同予者何人?牡丹之爱,宜乎众矣!
 
+下面是盲审标记\cs{secretize}的用法,记得去\textsf{main.tex}开启盲审开关看效果:
+
+\begin{enumerate}
+	\item 这是科研项目的名字 科研人员1,科研人员2,指导老师1,指导老师2,2017年5月30日
+	\item 这一条与上一条内容相同,但进行了盲审标记 \secretize{科研人员1},\secretize{科研人员2},\secretize{指导老师1},\secretize{指导老师2},2017年5月30日
+\end{enumerate}
+
 \section{作者在攻读博士学位期间参加的科研项目}
+
+下面是工具函数\cs{xuhao}的用例:
+
 \xuhaotype[1]
 \xuhao[1] \xuhao \xuhao \xuhao \xuhao \xuhao[1] \xuhao \xuhao \xuhao \xuhao
 
@@ -27,6 +30,14 @@
 \setxuhao[6]
 \xuhao[1] \xuhao \xuhao \xuhao \xuhao \xuhao[1] \xuhao \xuhao \xuhao \xuhao
 
+\subsection{测试第三级目录2}
+\subsubsection{四级目录1}
+水陆草木之花,可爱者甚蕃。晋陶渊明独爱菊。自李唐来,世人盛爱牡丹。予独爱莲之出淤泥而不染,濯清涟而不妖,中通外直,不蔓不枝,香远益清,亭亭净植,可远观而不可亵玩焉。
+\subsubsection{四级目录2}
+予谓菊,花之隐逸者也;牡丹,花之富贵者也;莲,花之君子者也。噫!菊之爱,陶后鲜有闻。莲之爱,同予者何人?牡丹之爱,宜乎众矣!
+\subsubsection{四级目录3}
+予谓菊,花之隐逸者也;牡丹,花之富贵者也;莲,花之君子者也。噫!菊之爱,陶后鲜有闻。莲之爱,同予者何人?牡丹之爱,宜乎众矣!
+
 \section{关于声明书和授权书}
 声明和授权部分支持扫描页替换,请在\pkg{main.tex}中设置。
 

Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex	2017-06-05 23:13:51 UTC (rev 44476)
@@ -11,17 +11,18 @@
   etitle = {To Use \LaTeX{} in the Typeseting of\\Graduating Work for CQU},
 % ===================
 % 作者部分的信息
+% \secretize{}为盲审标记点,在打开盲审开关时内容会自动被替换为***输出,盲审开关默认关闭
 % ===================
-  cauthor = 李振楠,	% 你的姓名,以下每项都以英文逗号结束
-  eauthor = Zhennan~Li,	% 姓名拼音,~代表不会断行的空格
-  studentid = 20128888,	% 仅本科生,学号
-  csupervisor = 孙麟~~教授,	% 导师的姓名
-  esupervisor = {Prof.~Lin Sun},	% 导师的姓名拼音
-  cassistsupervisor = {}, % 本科生可选,助理指导教师姓名,不用时请留空为{}
-  cextrasupervisor = {}, % 本科生可选,校外指导教师姓名,不用时请留空为{}
-  eassistsupervisor = {}, % 本科生可选,助理指导教师或/和校外指导教师姓名拼音,不用时请留空为{}
-  cpsupervisor = 丁小明~~工程师, % 仅专硕,兼职导师姓名
-  epsupervisor = Eng.~Xiaoming~Ding,	% 仅专硕,兼职导师姓名拼音
+  cauthor = \secretize{李振楠},	% 你的姓名,以下每项都以英文逗号结束
+  eauthor = \secretize{Zhennan~Li},	% 姓名拼音,~代表不会断行的空格
+  studentid = \secretize{20128888},	% 仅本科生,学号
+  csupervisor = \secretize{孙麟~~教授},	% 导师的姓名
+  esupervisor = \secretize{{Prof.~Lin Sun}},	% 导师的姓名拼音
+  cassistsupervisor = \secretize{}, % 本科生可选,助理指导教师姓名,不用时请留空为{}
+  cextrasupervisor = \secretize{}, % 本科生可选,校外指导教师姓名,不用时请留空为{}
+  eassistsupervisor = \secretize{}, % 本科生可选,助理指导教师或/和校外指导教师姓名拼音,不用时请留空为{}
+  cpsupervisor = \secretize{丁小明~~工程师}, % 仅专硕,兼职导师姓名
+  epsupervisor = \secretize{Eng.~Xiaoming~Ding},	% 仅专硕,兼职导师姓名拼音
   cclass = 工学,	% 博士生和学硕填学科门类,学硕填学科类型
   edgree = {Degree of Master of Enginnering},	% 专硕填Professional Degree,其他按实情填写
 % 提示:如果内容太长,可以用\zihao{}命令控制字号,作用范围:{}内

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

Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/dtx-style.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/dtx-style.sty	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/dtx-style.sty	2017-06-05 23:13:51 UTC (rev 44476)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2016-2016 by Zhennan Li <i at nanmu.me>
+%% Copyright (C) 2016-2017 by Zhennan Li <i at nanmu.me>
 %% This file 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

Deleted: trunk/Master/texmf-dist/doc/latex/cquthesis/figures/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/figures/README	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/figures/README	2017-06-05 23:13:51 UTC (rev 44476)
@@ -1,8 +0,0 @@
-Notice For CTAN
-
-The file "CQUbadge.pdf" is a vector graph in PDF format, which can be transformed loselessly to .eps file. Thus, it should be regarded as "Source File".
-
-The .eps version is deprecated due to its unreasonable file size(~1.2 MB).
-
-Zhennan Li
-Author of CQUThesis, LATEX Thesis Template for Chongqing University.
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/cquthesis/main.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cquthesis/main.tex	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/doc/latex/cquthesis/main.tex	2017-06-05 23:13:51 UTC (rev 44476)
@@ -3,16 +3,15 @@
 %%% 使用前请先阅读使用文档和用户协议,内有详细介绍。Happy Texing! :)
 %% =======================================================
 \documentclass%
-	[type=master, bilinguallist=apart,]{cquthesis}%
+	[type=doctor, bilinguallist=apart,]{cquthesis}%
 % 可用选项:
 % type=[bachelor|master|doctor],      % 必选,毕业论文类型,以下项目不填时为默认
 % liberalformat,                      % 可选,仅适用本科生,使用文学类论文标题格式,默认未打开
 % proffesionalmaster=[true|false],    % 可选,仅适用研究生,是(true)否(false)专业硕士,默认为否
 % printmode=[oneside|twoside|auto],	  % 可选,论文打印方式,默认采用auto按页数要求自动判定
-% openany,|openright,                 % 可选,双面打印时每章的第一页仅右页开启,默认左右页开启(openany)
-% bilinguallist=[off|combined|apart]  % 可选,图录表录等分别按双语题注混编(combined),分开编录(apart),默认关(off)
-% seriftoc,	                          % 可选,目录中的不同级别采用不同的字号和字体,适用于三级标题很多的情况
-% continuoustoc,                      % 可选,目录和索引不会自动新开一页,适用于索引内容较少时
+% openany,|openright,                 % 可选,双面打印时每章的第一页仅右页开启,默认右页开启(openright)
+% bilinguallist=[off|combined|apart], % 可选,图录表录等分别按双语题注混编(combined),分开编录(apart),默认关(off)
+% blindtrail,                         % 可选,盲审模式,开启后封面姓名和致谢部分会隐藏,详情请参阅用户文档,默认关
 % draft,                              % 写作期间可选,不渲染图片,关闭外围功能,加快预览速度,默认未开启
 
 % 请在cquthesis.sty文件中定义其他会用到的宏包和自己的变量

Modified: trunk/Master/texmf-dist/source/latex/cquthesis/cquthesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/cquthesis/cquthesis.dtx	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/source/latex/cquthesis/cquthesis.dtx	2017-06-05 23:13:51 UTC (rev 44476)
@@ -16,7 +16,7 @@
 %
 % \iffalse
 %<*driver>
-\ProvidesFile{cquthesis.dtx}[2016/12/07 v1.16 Chongqing University Thesis Template]
+\ProvidesFile{cquthesis.dtx}[2017/05/30 v1.20 Chongqing University Thesis Template]
 \documentclass{ltxdoc}
 \usepackage{dtx-style}
 
@@ -30,7 +30,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{1852}
+% \CheckSum{1893}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -84,7 +84,11 @@
 % \changes{v1.00}{2016/06/17}{最后一些小修补,今年的毕设工作完全结束了。目前本科方面的格式审查没有问题,研究生和博士生哪边还没有数据。}
 % \changes{v1.00}{2016/06/17}{版本号格式从vX.Y.Z改为vX.YZ,更简洁一些。}
 % \changes{v1.10}{2016/06/21}{增加了CQUThesis的开发工具Makefile和makewin.bat,现在它对\LaTeX 中高阶用户和开发者更加友好,文档也相应更新了。}
-% \changes{v1.14}{2016/08/18}{改进了makewin.bat,默认的thesis选项加入了自动判定,如果dtx没有解包,程序会自动解包。这也就是说,新手可以在几乎所有情况下放心地通过双击makewin.bat来完成编译了。}
+% \changes{v1.14}{2016/08/18}{改进了\file{makewin.bat},默认的thesis选项加入了自动判定,如果dtx没有解包,程序会自动解包。这也就是说,新手可以在几乎所有情况下放心地通过双击makewin.bat来完成编译了。}
+% \changes{v1.20}{2017/05/30}{新增选项blankleft,可选目录和章节右开时空白的左页是否让页眉页脚空白。}
+% \changes{v1.20}{2017/05/30}{调整了几个可选项的默认值,现在,openright默认开启。}
+% \changes{v1.20}{2017/05/30}{新功能:盲审模式,由开关blindtrail和\cs{secretize}宏以及\env{secretizeEnv}环境构成。}
+% \changes{v1.20}{2017/05/30}{再次改进了\file{makewin.bat},现在,Windows用户以管理员身份运行\file{makewin.bat}时不再会遭遇路径错误了。此外,\file{makewin.bat}有中英文两个版本了。}
 %
 % \def\indexname{代码索引}
 % \def\glossaryname{更新记录}
@@ -350,8 +354,11 @@
 %
 % \DescribeOption{openany}
 % \DescribeOption{openright}
-% 正规出版物的章节出现在奇数页,也就是右手边的页面,这就是 \option{openright},在这种情况下,如果前一章的最后一页也是奇数,那么模板会自动生成一个纯粹的空白页以保证新章节右开。这个选项适合页数较多的论文,您可根据实际情况和个人喜好选择是否开启。默认值\option{openany},本选项在单页打印时自动失效。
+% 正规出版物的章节出现在奇数页,也就是右手边的页面,这就是 \option{openright},在这种情况下,如果前一章的最后一页也是奇数,那么模板会自动生成一个空白页以保证新章节右开。这个选项适合页数较多的论文,您可根据实际情况和个人喜好选择是否开启。默认值\option{openright},本选项在单页打印时自动失效。
 %
+% \DescribeOption{blankleft}
+% 开启此项,并且在 \option{openright}开启的情况下,模板生成的空白页纯粹空白,不含页眉页脚,本选项默认关闭。
+%
 % \DescribeOption{seriftoc}
 % 开启此项,目录中的不同级别会采用不同的字号和字体,这是按照学校word样例的实现。但是,蹊跷的是,样例里的这些做法在官方文件里却没有体现,而且一二级标题字号差别太大,个人观点有碍美观,所以这里列为可选项,适用于三级标题很多的情况。本选项默认关闭。
 %
@@ -361,6 +368,14 @@
 % \DescribeOption{abstractopenright}
 % 开启此项,双页打印模式时中英文摘要右开,这算是开发中的一个彩蛋。本选项默认关闭。
 %
+% \DescribeOption{blindtrail}
+% 盲审模式开关,盲审模式由宏\cs{secretize}和环境\env{secretizeEnv}构成,在盲审模式开启时:
+% \begin{itemize}
+%		\item 宏\cs{secretize}内的内容会被三个星号***替代;
+%		\item 环境\env{secretizeEnv}的内容会输出为一片空白。
+% \end{itemize}
+% \cquthesis 默认为封面作者及导师姓名配置宏\cs{secretize},为致谢的内容部分配置环境\env{secretize},如果您有更多需求,可以自行配置。
+%
 % \DescribeOption{draft}
 % 草稿模式,推荐在写作时开启。这个模式下,\LaTeX 不会加载图片,不会渲染文档内超链接,部分宏包会跳过一些工作以降低编译难度,结合\cs{includeonly}命令可以大大提高预览速度,例如:
 %
@@ -760,7 +775,7 @@
 %<cls>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<cls>\ProvidesClass{cquthesis}
 %<cfg>\ProvidesFile{cquthesis.cfg}
-%<cls|cfg>[2016/12/07 v1.16 Chongqing University Thesis Template]
+%<cls|cfg>[2017/05/30 v1.20 Chongqing University Thesis Template]
 %    \end{macrocode}
 % 定义一些开发常量:
 %    \begin{macrocode}
@@ -767,7 +782,7 @@
 %<*cls>
 \hyphenation{Cqu-Thesis}
 \newcommand{\cquthesis}{\textsc{CquThesis}}
-\def\version{1.16}
+\def\version{1.20}
 %</cls>
 %    \end{macrocode}
 % \file{cquthesis.cfg}中,涉及文档部件的部分常量:
@@ -819,13 +834,21 @@
 %    \end{macrocode}
 % 每个章首页是否右开
 %    \begin{macrocode}
-\DeclareBoolOption[true]{openany}
+\DeclareBoolOption[false]{openany}
 \DeclareComplementaryOption{openright}{openany}
 %    \end{macrocode}
+% 右开时空白的左页是否让页眉页脚空白
+%    \begin{macrocode}
+\DeclareBoolOption[false]{blankleft}
+%    \end{macrocode}
 % 双页模式下英文摘要页右开
 %    \begin{macrocode}
 \DeclareBoolOption[false]{abstractopenright}
 %    \end{macrocode}
+% 盲审模式开关
+%    \begin{macrocode}
+\DeclareBoolOption[false]{blindtrail}
+%    \end{macrocode}
 % 论文是单面打印还是双面打印(默认:自动,手动模式一般不用)
 %    \begin{macrocode}
 \newif\if at onesideprint
@@ -1025,20 +1048,20 @@
 % \subsection{页面类设置}
 % \subsubsection{页面功能}
 % \begin{macro}{\cleardoublepage}
-% 首页右开的时候,全空的左页不留页眉页脚
+% 首页右开的时候,全空的左页不留页眉页脚,这个功能受blankleft开关影响
 %    \begin{macrocode}
 \let\cqu at cleardoublepage\cleardoublepage
 \renewcommand{\cleardoublepage}{%
-	\clearpage{\pagestyle{style at empty}\cqu at cleardoublepage}
+	\clearpage{\ifcqu at blankleft\pagestyle{style at empty}\fi\cqu at cleardoublepage}
 }%\cleardoublepage
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\cqu at addblankpage}
-% 用来在强制完成空页工作,注意这里的pagestyle调整范围在花括号之内
+% 用来在强制完成空页工作,注意这里的pagestyle调整范围在花括号之内,这个功能受blankleft开关影响
 %    \begin{macrocode}
 \newcommand\cqu at addblankpage{%
 	\afterpage{%
-		{\null\pagestyle{style at empty}\clearpage}}}
+		{\null\ifcqu at blankleft\pagestyle{style at empty}\fi\clearpage}}}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1080,12 +1103,13 @@
 %
 % \subsubsection{页面设置}
 % 定义页面,页眉页脚,先建立页面环境,完成分页再决定单双面打印
+% \changes{v1.20}{2017/05/30}{页眉页脚高度以及垂直间距向Word版本靠拢。}
 %    \begin{macrocode}
 \RequirePackage{geometry}
 \geometry{
 	a4paper, ignoreall, nomarginpar,
-	inner=25mm, outer=25mm, top=30mm, bottom=25mm,
-	bindingoffset=10mm, head=16mm, headsep=5mm, foot=15mm, footnotesep=5mm}
+	inner=25mm, outer=25mm, top=30mm, bottom=28mm,
+	bindingoffset=10mm, head=16mm, headsep=11mm, foot=12mm, footnotesep=5mm}
 %    \end{macrocode}
 %
 % \subsubsection{单双页打印的自动判定}
@@ -1497,11 +1521,13 @@
 % 定制表格和插图的题注样式,这里注意\pkg{caption}宏包在设置表格的\option{position}为\option{top}时,\option{aboveskip}和\option{belowskip}的定义会相互调换,即\option{top}时反义,\option{bottom}时字面义。
 % \changes{v1.12}{2016/07/06}{题注的字体设置对中英文都进行了适配。}
 % \changes{v1.16}{2016/12/07}{正文中的题注的名称和序号不再加粗,同时优化了题注和插图(插表)的垂直距离。}
+% \changes{v1.20}{2017/05/30}{现在,题注有多行时,最后一行会进行居中处理。}
 %    \begin{macrocode}
 \def\cqu at tabular{\zihao{5}\@tabular}
 \DeclareCaptionLabelFormat{cqu}{{\zihao{5}\rmfamily\songti #1~#2}}
-\DeclareCaptionLabelSeparator{cqu}{\hspace{\ccwd}}
+\DeclareCaptionLabelSeparator{cqu}{\hspace{0.5\ccwd}}
 \DeclareCaptionFont{cqu}{\zihao{5}\rmfamily\songti}
+\captionsetup{justification=centerlast}
 \captionsetup{labelformat=cqu,labelsep=cqu,font=cqu}
 \captionsetup[table]{position=top,belowskip=6bp,aboveskip=0bp}
 \captionsetup[figure]{position=bottom,belowskip=0bp,aboveskip=6bp}
@@ -1700,6 +1726,35 @@
 % \end{macro}
 % \end{macro}
 %
+% \subsection{盲审模式}
+% 
+% \begin{macro}{\secretize}
+% 定义盲审模式工具宏\cs{secretize}:
+%    \begin{macrocode}
+\newcommand{\secretize}[1]{%
+	\ifcqu at blindtrail
+		{***}
+	\else
+		{#1}
+	\fi
+}
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{secretizeEnv}
+% 定义盲审模式工具环境\env{secretizeEnv}:
+%    \begin{macrocode}
+\newcommand{\cqu@@secretizeenv}[1]{\long\gdef\cqu at secretizeenv{#1}}
+\newenvironment{secretizeEnv}{\Collect at Body\cqu@@secretizeenv}{%
+	\ifcqu at blindtrail
+		\relax
+	\else
+		\cqu at secretizeenv
+	\fi
+}
+%    \end{macrocode}
+% \end{environment}
+%
 % \subsection{封面绘制}
 % \subsubsection{信息录入}
 % \begin{macro}{\cqu at def@term}
@@ -2095,7 +2150,7 @@
 			\def\cqu at studentEN{Ph.D. Candidate}
 			\def\cqu at supervisorCN{指导教师}
 			\def\cqu at supervisorEN{Supervised by{ }}
-			\def\cqu at majorCN{学科专业}
+			\def\cqu at majorCN{专业}
 			\def\cqu at majorclassCN{学科门类}
 			\def\cqu at majorEN{Specialty}
 			\def\cqu at universitynameCN{重庆大学}
@@ -2220,6 +2275,7 @@
 % 目录和索引标题居中,包含\cs{fixhead}
 % \changes{v0.9.0}{2016/05/16}{把目录加到了PDF书签中。}
 % \changes{v1.12}{2016/07/06}{现在,目录、图录、表录、公式表的英文字体也采用了无衬线字。}
+% \changes{v1.20}{2017/05/30}{现在,目录中的章节层级也有了尾随圆点,并且,圆点的间距更近了。}
 %    \begin{macrocode}
 %<*cls>
 \renewcommand{\cfttoctitlefont}{%
@@ -2233,13 +2289,19 @@
 \renewcommand{\cftafterlottitle}{\hfill}
 \renewcommand{\cftafterequtitle}{\hfill}
 \renewcommand{\cftafterequENtitle}{\hfill}
+\renewcommand{\cftdot}{…}
+\renewcommand{\cftdotsep}{0}
+\renewcommand{\cftchapdotsep}{\cftdotsep}
+\renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}
+\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
 %    \end{macrocode}
 %
 % 重写使用tocloft宏包情况下的目录和索引生成,每次生成新开一页
 %    \begin{macrocode}
+% \changes{v1.20}{2017/05/30}{除非openany选项打开,否则目录和索引现在会在双页模式进行右开。}
 \ifcqu at continuoustoc\relax\else
-	\renewcommand{\@cfttocstart}{\clearpage}
-	\renewcommand{\@cfttocfinish}{\clearpage}
+	\renewcommand{\@cfttocstart}{\cleardoublepage}
+	\renewcommand{\@cfttocfinish}{\cleardoublepage}
 \fi
 %    \end{macrocode}
 %

Added: trunk/Master/texmf-dist/source/latex/cquthesis/makewin-English.bat
===================================================================
--- trunk/Master/texmf-dist/source/latex/cquthesis/makewin-English.bat	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/cquthesis/makewin-English.bat	2017-06-05 23:13:51 UTC (rev 44476)
@@ -0,0 +1,139 @@
+ at echo off
+cd /d %~dp0 
+
+title CQUThesis Build Helper
+
+set flag=%1
+if %flag%x == x (
+  set flag=thesis
+)
+
+if %flag%x == thesisx (
+  call:thesis
+  goto :EOF
+)
+if %flag%x == thesisxx (
+  call:thesisx
+  goto :EOF
+)
+if %flag%x == docx (
+  call:extract
+  call:document
+  goto :EOF
+)
+if %flag%x == cleanx (
+  call:cleanaux
+  goto :EOF
+)
+if %flag%x == cleanpdfx (
+  call:cleanpdf
+  goto :EOF
+)
+if %flag%x == cleanallx (
+  call:cleanaux
+  call:cleanpdf
+  goto :EOF
+)
+if %flag%x == extractx (
+  call:extract
+  goto :EOF
+)
+if %flag%x == allx (
+  call:thesis
+  call:document
+  goto :EOF
+)
+if %flag%x == buildx (
+  call:extract
+  call:thesis
+  goto :EOF
+)
+if %flag%x == buildxx (
+  call:extract
+  call:thesis
+  call:document
+  goto :EOF
+)
+
+:help
+  echo *************************************************************
+  echo This is the Makefile script for CQUThesis on Windows.
+  echo For CQUThesis: https://github.com/nanmu42/CQUThesis
+  echo by Zhennan Li (C) 2016 under LPPL 1.3
+  echo The idea comes from Github Liam0205/sduthesis, Many thanks!
+  echo *************************************************************
+  echo *
+  echo USAGE:
+  echo        makewin [param]
+  echo param:
+  echo   help      Display this help text
+  echo   thesis    (default)Compile the thesis via latexmk
+  echo   thesisx   Compile the thesis via XeLaTeX(only if latexmk is not installed.)
+  echo   doc       Compile the documentation of CQUThesis
+  echo   clean     Clean all aux files
+  echo   cleanpdf  Clean all PDFs
+  echo   cleanall  Clean all aux files and all PDFs
+  echo   extract   Extract the Thesis Template from .dtx files.
+  echo   all       thesis + doc
+  echo   build     extract + thesis
+  echo   buildx    extract + thesis + doc
+  echo *
+  echo ***********************Happy TeXing**************************
+goto :EOF
+
+:checkfiles
+  IF NOT EXIST cquthesis.cls call:extract
+  IF NOT EXIST cquthesis.cfg call:extract
+goto :EOF
+
+:thesis
+  call:checkfiles
+  latexmk -xelatex main.tex
+goto :EOF
+
+:thesisx
+  call:checkfiles
+  xelatex main.tex
+  bibtex main.tex
+  xelatex main.tex
+  xelatex main.tex
+  xelatex main.tex
+goto :EOF
+
+:cleanaux
+  echo cleaning aux...
+  for %%i in (*.aux *.bbl *.equ *.glo *.gls *.hd *.idx *.ilg *.ind *.lof *.lot *.out *.blg *.log *.thm *.toc *.synctex.gz *.lofEN *.lotEN *.equEN) do (
+    del %%i
+  )
+  echo Done.
+goto :EOF
+
+:cleanpdf
+  echo cleaning pdf...
+  for %%i in (*.pdf) do (
+    del %%i
+  )
+  echo Done.
+goto :EOF
+
+:clean_all
+  call:cleanaux
+  call:cleanpdf
+goto :EOF
+
+:extract
+  echo extracting...
+  latex cquthesis.ins
+  echo *******CQUThesis has been extracted.********
+goto :EOF
+
+:document
+  echo building documents...
+  set cmode=-interaction=batchmode
+  xelatex cquthesis.dtx
+  makeindex -s gind.ist -o cquthesis.ind cquthesis.idx
+  makeindex -s gglo.ist -o cquthesis.gls cquthesis.glo
+  xelatex cquthesis.dtx
+  xelatex cquthesis.dtx
+  xelatex cquthesis.dtx
+goto :EOF


Property changes on: trunk/Master/texmf-dist/source/latex/cquthesis/makewin-English.bat
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/cquthesis/makewin.bat
===================================================================
--- trunk/Master/texmf-dist/source/latex/cquthesis/makewin.bat	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/source/latex/cquthesis/makewin.bat	2017-06-05 23:13:51 UTC (rev 44476)
@@ -1,136 +1,164 @@
- at echo off
-
-set flag=%1
-if %flag%x == x (
-  set flag=thesis
-)
-
-if %flag%x == thesisx (
-  call:thesis
-  goto:EOF
-)
-if %flag%x == thesisxx (
-  call:thesisx
-  goto:EOF
-)
-if %flag%x == docx (
-  call:extract
-  call:document
-  goto:EOF
-)
-if %flag%x == cleanx (
-  call:cleanaux
-  goto:EOF
-)
-if %flag%x == cleanpdfx (
-  call:cleanpdf
-  goto:EOF
-)
-if %flag%x == cleanallx (
-  call:cleanaux
-  call:cleanpdf
-  goto:EOF
-)
-if %flag%x == extractx (
-  call:extract
-  goto:EOF
-)
-if %flag%x == allx (
-  call:thesis
-  call:document
-  goto:EOF
-)
-if %flag%x == buildx (
-  call:extract
-  call:thesis
-  goto:EOF
-)
-if %flag%x == buildxx (
-  call:extract
-  call:thesis
-  call:document
-  goto:EOF
-)
-
-:help
-  echo *************************************************************
-  echo This is the Makefile script for CQUThesis on Windows.
-  echo For CQUThesis: https://github.com/nanmu42/CQUThesis
-  echo by Zhennan Li (C) 2016 under LPPL 1.3
-  echo The idea comes from Github Liam0205/sduthesis, Many thanks!
-  echo *************************************************************
-  echo *
-  echo USAGE:
-  echo        makewin [param]
-  echo param:
-  echo   help      Display this help text
-  echo   thesis    (default)Compile the thesis via latexmk
-  echo   thesisx   Compile the thesis via XeLaTeX(only if latexmk is not installed.)
-  echo   doc       Compile the documentation of CQUThesis
-  echo   clean     Clean all aux files
-  echo   cleanpdf  Clean all PDFs
-  echo   cleanall  Clean all aux files and all PDFs
-  echo   extract   Extract the Thesis Template from .dtx files.
-  echo   all       thesis + doc
-  echo   build     extract + thesis
-  echo   buildx    extract + thesis + doc
-  echo *
-  echo ***********************Happy TeXing**************************
-goto:EOF
-
-:checkfiles
-  IF NOT EXIST cquthesis.cls call:extract
-  IF NOT EXIST cquthesis.cfg call:extract
-goto:EOF
-
-:thesis
-  call:checkfiles
-  latexmk -xelatex main.tex
-goto:EOF
-
-:thesisx
-  call:checkfiles
-  xelatex main.tex
-  bibtex main.tex
-  xelatex main.tex
-  xelatex main.tex
-  xelatex main.tex
-goto:EOF
-
-:cleanaux
-  echo clean aux...
-  for %%i in (*.aux *.bbl *.equ *.glo *.gls *.hd *.idx *.ilg *.ind *.lof *.lot *.out *.blg *.log *.thm *.toc *.synctex.gz *.lofEN *.lotEN *.equEN) do (
-    del %%i
-  )
-  echo Done.
-goto:EOF
-
-:cleanpdf
-  echo clean pdf...
-  for %%i in (*.pdf) do (
-    del %%i
-  )
-  echo Done.
-goto:EOF
-
-:clean_all
-  call:cleanaux
-  call:cleanpdf
-goto:EOF
-
-:extract
-  echo extracting...
-  latex cquthesis.ins
-  echo *******CQUThesis has been extracted.********
-goto:EOF
-
-:document
-  echo building documents...
-  set cmode=-interaction=batchmode
-  xelatex cquthesis.dtx
-  makeindex -s gind.ist -o cquthesis.ind cquthesis.idx
-  makeindex -s gglo.ist -o cquthesis.gls cquthesis.glo
-  xelatex cquthesis.dtx
-  xelatex cquthesis.dtx
-  xelatex cquthesis.dtx
-goto:EOF
+ at echo off
+
+rem \xB1\xDC\xC3\xE2\xD4ڹ\xDC\xC0\xEDԱ\xC9\xED\xB7\xDD\xCFµ\xC4·\xBE\xB6\xCE\xCA\xCC\xE2
+cd /d %~dp0 
+
+title CQUThesis\xD7Զ\xAF\xBB\xAF\xB1\xE0\xD2\xEB\xB3\xCC\xD0\xF2
+
+set flag=%1
+if %flag%x == x (
+  set flag=thesis
+)
+
+if %flag%x == thesisx (
+  call:thesis
+  goto :EOF
+)
+if %flag%x == thesisxx (
+  call:thesisx
+  goto :EOF
+)
+if %flag%x == docx (
+  call:extract
+  call:document
+  goto :EOF
+)
+if %flag%x == cleanx (
+  call:cleanaux
+  goto :EOF
+)
+if %flag%x == cleanpdfx (
+  call:cleanpdf
+  goto :EOF
+)
+if %flag%x == cleanallx (
+  call:cleanaux
+  call:cleanpdf
+  goto :EOF
+)
+if %flag%x == extractx (
+  call:extract
+  goto :EOF
+)
+if %flag%x == allx (
+  call:thesis
+  call:document
+  goto :EOF
+)
+if %flag%x == buildx (
+  call:extract
+  call:thesis
+  goto :EOF
+)
+if %flag%x == buildxx (
+  call:extract
+  call:thesis
+  call:document
+  goto :EOF
+)
+
+:help
+  echo *************************************************************
+  echo CQUThesis\xD7Զ\xAF\xBB\xAF\xB1\xE0\xD2\xEB\xB3\xCC\xD0\xF2\xA3\xA8Windows\xA3\xA9
+  echo \xD6\xD8\xC7\xEC\xB4\xF3ѧ\xB1\xCFҵ\xC9\xE8\xBC\xC6LaTeXģ\xB0壺 https://github.com/nanmu42/CQUThesis
+  echo (C) 2016-2017 \xC0\xEE\xD5\xF1\xE9\xAA \xD2\xC0\xBE\xDDLPPL 1.3Э\xD2鿪Դ
+  echo \xB1\xBE\xB3\xCC\xD0\xF2\xB5\xC4\xC1\xE9\xB8\xD0\xC0\xB4Դ\xA3\xBAGithub\xA3\xBALiam0205/sduthesis\xA3\xAC\xD4ڴ\xCB\xD6\xC2л\xA1\xA3
+  echo *************************************************************
+  echo *
+  echo \xC3\xFC\xC1\xEE\xD3÷\xA8\xA3\xBA
+  echo        makewin [\xB2\xCE\xCA\xFD]
+  echo \xB2\xCE\xCA\xFD\xA3\xBA
+  echo   help      չʾ\xB1\xBE\xB0\xEF\xD6\xFA\xD0\xC5Ϣ
+  echo   thesis    ͨ\xB9\xFDlatexmk\xD6\xC7\xC4ܣ\xAC\xBF\xEC\xCBٵر\xE0\xD2\xEB\xC2\xDB\xCEģ\xA8˫\xBB\xF7\xBB\xF2\xCE޲\xCE\xCA\xFDʱĬ\xC8\xCF\xD4\xCB\xD0У\xA9
+  echo   thesisx   \xBD\xF8\xD0\xD0һ\xB4\xCE\xCD\xEA\xD5\xFB\xB5\xC4\xC2\xDB\xCEı\xE0\xD2루\xC8\xE7\xB9\xFB\xC4\xE3\xB5\xC4ϵͳ\xC9\xCFû\xB0\xB2װlatexmk\xBE\xCD\xD3\xC3\xD5\xE2һ\xCF\xB7\xF1\xD4\xF2\xCDƼ\xF6\xD3\xC3\xC9\xCF\xC3\xE6\xB5ģ\xA9
+  echo   doc       \xB1\xE0\xD2\xEBCQUThesis\xD3û\xA7\xCEĵ\xB5
+  echo   clean     \xC7\xE5\xC0\xED\xCB\xF9\xD3\xD0.aux\xCEļ\xFE
+  echo   cleanpdf  \xC7\xE5\xC0\xED\xCB\xF9\xD3\xD0.pdf\xCEļ\xFE
+  echo   cleanall  \xC7\xE5\xC0\xED\xCB\xF9\xD3\xD0.aux\xCEļ\xFE\xD2Լ\xB0.pdf\xCEļ\xFE
+  echo   extract   \xB4\xD3.dtx\xCEļ\xFE\xD6\xD0\xCC\xE1ȡģ\xB0\xE5
+  echo   all       thesis + doc
+  echo   build     extract + thesis
+  echo   buildx    extract + thesis + doc
+  echo *
+  echo ***********************Happy TeXing**************************
+  echo ************************д\xD7\xF7\xD3\xE4\xBF죡***************************
+goto :EOF
+
+:checkfiles
+  IF NOT EXIST cquthesis.cls call:extract
+  IF NOT EXIST cquthesis.cfg call:extract
+goto :EOF
+
+:thesis
+  call:checkfiles
+  echo \xC7\xEBȷ\xC8\xCF\xC4\xFA\xB5\xC4ϵͳ\xD2\xD1\xD5\xFDȷ\xC5\xE4\xD6\xC3latexmk...
+  echo ʹ\xD3\xC3latexmk\xD6\xC7\xC4ܱ\xE0\xD2\xEB\xC2\xDB\xCE\xC4\xD6\xD0...
+  latexmk -xelatex main.tex
+  echo *                                       *
+  echo *********̫\xB0\xF4\xC1ˣ\xA1\xC2\xDB\xCEı\xE0\xD2\xEB\xCD\xEA\xB3ɣ\xA1**********
+  echo *                                       *
+  goto pauseIfDoubleClicked
+
+:thesisx
+  call:checkfiles
+  echo \xC2\xDB\xCEı\xE0\xD2\xEB\xD6\xD0......
+  xelatex main.tex
+  bibtex main.tex
+  xelatex main.tex
+  xelatex main.tex
+  xelatex main.tex
+  echo *                                                    *
+  echo ***************̫\xB0\xF4\xC1ˣ\xA1\xC2\xDB\xCEı\xE0\xD2\xEB\xCD\xEA\xB3ɣ\xA1*****************
+  echo \xCC\xE1ʾ\xA3\xBA\xB1\xBE\xB7\xBD\xB0\xB8\xCBٶȽ\xCF\xC2\xFD\xA3\xAC\xCDƼ\xF6ʹ\xD3\xC3makewin thesis\xBD\xF8\xD0б\xE0\xD2롣
+  echo *                                                    *
+goto :EOF
+
+:cleanaux
+  echo \xC7\xE5\xC0\xED\xCB\xF9\xD3\xD0.aux\xCEļ\xFE\xD6\xD0...
+  for %%i in (*.aux *.bbl *.equ *.glo *.gls *.hd *.idx *.ilg *.ind *.lof *.lot *.out *.blg *.log *.thm *.toc *.synctex.gz *.lofEN *.lotEN *.equEN) do (
+    del %%i
+  )
+  echo .aux\xCEļ\xFE\xC7\xE5\xC0\xED\xCD\xEA\xB3ɡ\xA3
+goto :EOF
+
+:cleanpdf
+  echo \xC7\xE5\xC0\xED\xCB\xF9\xD3\xD0.pdf\xCEļ\xFE\xD6\xD0...
+  for %%i in (*.pdf) do (
+    del %%i
+  )
+  echo .pdf\xCEļ\xFE\xC7\xE5\xC0\xED\xCD\xEA\xB3ɡ\xA3
+goto :EOF
+
+:clean_all
+  call:cleanaux
+  call:cleanpdf
+goto :EOF
+
+:extract
+  echo \xD5\xFD\xD4\xDA\xCC\xE1ȡCQUThesisģ\xB0\xE5\xCEļ\xFE...
+  latex cquthesis.ins
+  echo *                             *
+  echo *******ģ\xB0\xE5\xCEļ\xFE\xCC\xE1ȡ\xCD\xEA\xB3\xC9********
+  echo *                             *
+goto :EOF
+
+:document
+  echo \xB1\xE0\xD2\xEBCQUThesis\xD3û\xA7\xCEĵ\xB5\xD6\xD0...
+  set cmode=-interaction=batchmode
+  xelatex cquthesis.dtx
+  makeindex -s gind.ist -o cquthesis.ind cquthesis.idx
+  makeindex -s gglo.ist -o cquthesis.gls cquthesis.glo
+  xelatex cquthesis.dtx
+  xelatex cquthesis.dtx
+  xelatex cquthesis.dtx
+  echo *                             *
+  echo *******\xD3û\xA7\xCEĵ\xB5\xB1\xE0\xD2\xEB\xCD\xEA\xB3\xC9********
+  echo *                             *
+goto :EOF
+
+:pauseIfDoubleClicked
+  setlocal enabledelayedexpansion
+  set testl=%cmdcmdline:"=%
+  set testr=!testl:%~nx0=!
+  if not "%testl%" == "%testr%" pause                           *
+goto :EOF

Modified: trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cfg	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cfg	2017-06-05 23:13:51 UTC (rev 44476)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2016-2016 by Zhennan Li <i at nanmu.me>
+%% Copyright (C) 2016-2017 by Zhennan Li <i at nanmu.me>
 %% This file 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
@@ -22,7 +22,7 @@
 %% This is the configuration file of the cquthesis package with LaTeX2e.
 %% 
 \ProvidesFile{cquthesis.cfg}
-[2016/12/07 v1.16 Chongqing University Thesis Template]
+[2017/05/30 v1.20 Chongqing University Thesis Template]
 \def\cqueqshortname {式}
 \def\cqu at denotation@name {主要符号对照表}
 \def\shorttablename {表}
@@ -246,7 +246,7 @@
 \def\cqu at studentEN{Ph.D. Candidate}
 \def\cqu at supervisorCN{指导教师}
 \def\cqu at supervisorEN{Supervised by{ }}
-\def\cqu at majorCN{学科专业}
+\def\cqu at majorCN{专业}
 \def\cqu at majorclassCN{学科门类}
 \def\cqu at majorEN{Specialty}
 \def\cqu at universitynameCN{重庆大学}

Modified: trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cls	2017-06-05 23:13:12 UTC (rev 44475)
+++ trunk/Master/texmf-dist/tex/latex/cquthesis/cquthesis.cls	2017-06-05 23:13:51 UTC (rev 44476)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2016-2016 by Zhennan Li <i at nanmu.me>
+%% Copyright (C) 2016-2017 by Zhennan Li <i at nanmu.me>
 %% This file 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
@@ -21,10 +21,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{cquthesis}
-[2016/12/07 v1.16 Chongqing University Thesis Template]
+[2017/05/30 v1.20 Chongqing University Thesis Template]
 \hyphenation{Cqu-Thesis}
 \newcommand{\cquthesis}{\textsc{CquThesis}}
-\def\version{1.16}
+\def\version{1.20}
 \RequirePackage{kvoptions}
 \SetupKeyvalOptions{
 family=cqu,
@@ -39,9 +39,11 @@
 \DeclareBoolOption{liberalformat}
 \DeclareBoolOption[true]{academic}
 \DeclareComplementaryOption{proffesionalmaster}{academic}
-\DeclareBoolOption[true]{openany}
+\DeclareBoolOption[false]{openany}
 \DeclareComplementaryOption{openright}{openany}
+\DeclareBoolOption[false]{blankleft}
 \DeclareBoolOption[false]{abstractopenright}
+\DeclareBoolOption[false]{blindtrail}
 \newif\if at onesideprint
 \newif\if at twosideprint
 \newif\if at autoprint
@@ -160,11 +162,11 @@
 \fi
 \let\cqu at cleardoublepage\cleardoublepage
 \renewcommand{\cleardoublepage}{%
-\clearpage{\pagestyle{style at empty}\cqu at cleardoublepage}
+\clearpage{\ifcqu at blankleft\pagestyle{style at empty}\fi\cqu at cleardoublepage}
 }%\cleardoublepage
 \newcommand\cqu at addblankpage{%
 \afterpage{%
-{\null\pagestyle{style at empty}\clearpage}}}
+{\null\ifcqu at blankleft\pagestyle{style at empty}\fi\clearpage}}}
 \newif\if at backmatter
 \renewcommand{\frontmatter}{%
 \@backmatterfalse
@@ -192,8 +194,8 @@
 \RequirePackage{geometry}
 \geometry{
 a4paper, ignoreall, nomarginpar,
-inner=25mm, outer=25mm, top=30mm, bottom=25mm,
-bindingoffset=10mm, head=16mm, headsep=5mm, foot=15mm, footnotesep=5mm}
+inner=25mm, outer=25mm, top=30mm, bottom=28mm,
+bindingoffset=10mm, head=16mm, headsep=11mm, foot=12mm, footnotesep=5mm}
 \RequirePackage{totcount}
 \regtotcounter[auxfile=maxpage.aux]{page}
 \if at autoprint
@@ -326,8 +328,9 @@
 }
 \def\cqu at tabular{\zihao{5}\@tabular}
 \DeclareCaptionLabelFormat{cqu}{{\zihao{5}\rmfamily\songti #1~#2}}
-\DeclareCaptionLabelSeparator{cqu}{\hspace{\ccwd}}
+\DeclareCaptionLabelSeparator{cqu}{\hspace{0.5\ccwd}}
 \DeclareCaptionFont{cqu}{\zihao{5}\rmfamily\songti}
+\captionsetup{justification=centerlast}
 \captionsetup{labelformat=cqu,labelsep=cqu,font=cqu}
 \captionsetup[table]{position=top,belowskip=6bp,aboveskip=0bp}
 \captionsetup[figure]{position=bottom,belowskip=0bp,aboveskip=6bp}
@@ -452,6 +455,21 @@
 \let\rownumtype\xuhaotype
 \let\setxuhao\xuhaotype
 \let\rownumseparator\xuhaoseparator
+\newcommand{\secretize}[1]{%
+\ifcqu at blindtrail
+{***}
+\else
+{#1}
+\fi
+}
+\newcommand{\cqu@@secretizeenv}[1]{\long\gdef\cqu at secretizeenv{#1}}
+\newenvironment{secretizeEnv}{\Collect at Body\cqu@@secretizeenv}{%
+\ifcqu at blindtrail
+\relax
+\else
+\cqu at secretizeenv
+\fi
+}
 \def\cqu at def@term #1{%
 \define at key{cqu}{#1}{\csname #1\endcsname{##1}}
 \expandafter\gdef\csname #1\endcsname##1{%
@@ -751,9 +769,14 @@
 \renewcommand{\cftafterlottitle}{\hfill}
 \renewcommand{\cftafterequtitle}{\hfill}
 \renewcommand{\cftafterequENtitle}{\hfill}
+\renewcommand{\cftdot}{…}
+\renewcommand{\cftdotsep}{0}
+\renewcommand{\cftchapdotsep}{\cftdotsep}
+\renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}
+\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
 \ifcqu at continuoustoc\relax\else
-\renewcommand{\@cfttocstart}{\clearpage}
-\renewcommand{\@cfttocfinish}{\clearpage}
+\renewcommand{\@cfttocstart}{\cleardoublepage}
+\renewcommand{\@cfttocfinish}{\cleardoublepage}
 \fi
 \newcommand{\chapterstar}[1]{%
 \chapter*{#1}%



More information about the tex-live-commits mailing list