From ab0f0949de94da73efd246324ac40f0b47a60688 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 18 Jun 2015 23:15:28 +0000 Subject: pkuthss (18jun15) git-svn-id: svn://tug.org/texlive/trunk@37599 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/pkuthss/example-gbk/Make.bat | 40 ------ .../doc/latex/pkuthss/example-gbk/Makefile | 43 ------ .../latex/pkuthss/example-gbk/chap/abstract.tex | 13 -- .../latex/pkuthss/example-gbk/chap/acknowledge.tex | 8 -- .../doc/latex/pkuthss/example-gbk/chap/chap1.tex | 8 -- .../latex/pkuthss/example-gbk/chap/conclusion.tex | 8 -- .../latex/pkuthss/example-gbk/chap/copyright.tex | 44 ------- .../doc/latex/pkuthss/example-gbk/chap/encl1.tex | 8 -- .../pkuthss/example-gbk/chap/introduction.tex | 8 -- .../latex/pkuthss/example-gbk/chap/originauth.tex | 86 ------------ .../doc/latex/pkuthss/example-gbk/thesis.bib | 20 --- .../doc/latex/pkuthss/example-gbk/thesis.tex | 146 --------------------- 12 files changed, 432 deletions(-) delete mode 100755 Master/texmf-dist/doc/latex/pkuthss/example-gbk/Make.bat delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/Makefile delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/abstract.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/acknowledge.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/chap1.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/conclusion.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/copyright.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/encl1.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/introduction.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/originauth.tex delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.bib delete mode 100644 Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex (limited to 'Master/texmf-dist/doc/latex/pkuthss/example-gbk') diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/Make.bat b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/Make.bat deleted file mode 100755 index a32a482514d..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/Make.bat +++ /dev/null @@ -1,40 +0,0 @@ -@echo off - -@rem vim:ts=4:sw=4 -@rem -@rem Copyright (c) 2008-2009 solvethis -@rem Copyright (c) 2010-2012 Casper Ti. Vector -@rem Public domain. - -set JOBNAME=thesis -@rem 这个变量的值可以为 latex 或 pdflatex。 -set LATEX=latex -@rem 如果无法使用 biber,可以改为“bibtex”。 -set BIBTEX=biber -l zh__pinyin -set DVIPDF=dvipdfmx - -if "%LATEX%"=="latex" (set DODVIPDF=%DVIPDF% %JOBNAME% -) else (set DODVIPDF=echo No need to run %DVIPDF%.) -if "%1"=="" goto doc -if "%1"=="doc" goto doc -if "%1"=="clear" (goto clear) else (goto usage) - -:doc -%LATEX% %JOBNAME% -%BIBTEX% %JOBNAME% -%LATEX% %JOBNAME% -%LATEX% %JOBNAME% -%DODVIPDF% -goto end - -:clear -del *.aux *.bbl *.bcf *.blg *.dvi *.lof *.log *.lot *.run.xml *.toc *.out -del missfont.log chap\*.aux -goto end - -:usage -echo %0 [doc] [clear] -goto end - -:end - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/Makefile b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/Makefile deleted file mode 100644 index 27cd5e3ade5..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# vim:ts=4:sw=4 -# -# Copyright (c) 2008-2009 solvethis -# Copyright (c) 2010-2012 Casper Ti. Vector -# Public domain. - -# 被编译的主文件的文件名,不包括扩展名。 -JOBNAME = thesis -# 这个变量的值可以为 latex、pdflatex 或 xelatex。 -LATEX = latex -# 如果无法使用 biber,可以改为“bibtex”。 -BIBTEX = biber -l zh__pinyin -DVIPDF = dvipdfmx - -# 如果用 LaTeX 编译,则使用 dvipdfmx 将 dvi 转成 pdf。 -ifeq ($(LATEX), latex) - DODVIPDF = $(DVIPDF) $(JOBNAME) -endif - -# 区分是 Windows 环境还是类 UNIX 环境。 -# 如果是后者,则 GNU make 将可以检测到已经定义 PATH 环境变量。 -ifdef PATH - MAKE = make - RM = rm -f -else - MAKE = mingw32-make - RM = del -endif - -doc: - $(LATEX) $(JOBNAME) - $(BIBTEX) $(JOBNAME) - $(LATEX) $(JOBNAME) - $(LATEX) $(JOBNAME) - $(DODVIPDF) - -clean: - $(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \ - {missfont,texput}.log chap/*.aux - -distclean: clean - $(RM) $(JOBNAME).pdf - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/abstract.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/abstract.tex deleted file mode 100644 index 4a40f3e415e..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/abstract.tex +++ /dev/null @@ -1,13 +0,0 @@ -% vim:ts=4:sw=4 -% Copyright (c) 2014 Casper Ti. Vector -% Public domain. - -\begin{cabstract} - % 中文测试文字。 - \pkuthssffaq -\end{cabstract} - -\begin{eabstract} - Test of the English abstract. -\end{eabstract} - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/acknowledge.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/acknowledge.tex deleted file mode 100644 index 3c41379b7e8..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/acknowledge.tex +++ /dev/null @@ -1,8 +0,0 @@ -% vim:ts=4:sw=4 -% Copyright (c) 2014 Casper Ti. Vector -% Public domain. - -\chapter{致谢} -% 中文测试文字。 -\pkuthssffaq - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/chap1.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/chap1.tex deleted file mode 100644 index 326698b75c1..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/chap1.tex +++ /dev/null @@ -1,8 +0,0 @@ -% vim:ts=4:sw=4 -% Copyright (c) 2014 Casper Ti. Vector -% Public domain. - -\chapter{章节} -% 中文测试文字。 -\pkuthssffaq - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/conclusion.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/conclusion.tex deleted file mode 100644 index 0394566970d..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/conclusion.tex +++ /dev/null @@ -1,8 +0,0 @@ -% vim:ts=4:sw=4 -% Copyright (c) 2014 Casper Ti. Vector -% Public domain. - -\specialchap{结论} -% 中文测试文字。 -\pkuthssffaq - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/copyright.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/copyright.tex deleted file mode 100644 index 4b1a7923dcf..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/copyright.tex +++ /dev/null @@ -1,44 +0,0 @@ -% vim:ts=4:sw=4 -% -% Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2015 Casper Ti. Vector -% All rights reserved. -% -% Redistribution and use in source and binary forms, with or without -% modification, are permitted provided that the following conditions are -% met: -% -% * Redistributions of source code must retain the above copyright notice, -% this list of conditions and the following disclaimer. -% * Redistributions in binary form must reproduce the above copyright -% notice, this list of conditions and the following disclaimer in the -% documentation and/or other materials provided with the distribution. -% * Neither the name of Peking University nor the names of its contributors -% may be used to endorse or promote products derived from this software -% without specific prior written permission. -% -% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR -% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -\chapter*{版权声明} -\thispagestyle{empty} - -任何收存和保管本论文各种版本的单位和个人, -未经本论文作者同意,不得将本论文转借他人, -亦不得随意复制、抄录、拍照或以任何方式传播。 -否则一旦引起有碍作者著作权之问题,将可能承担法律责任。 - -% 若需排版二维码,请将二维码图片重命名为“barcode”, -% 转为合适的图片格式,并放在当前目录下,然后去掉下面 3 行的注释。 -%\vfill\noindent -%\includegraphics[height = 5em]{barcode} - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/encl1.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/encl1.tex deleted file mode 100644 index a28631e9057..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/encl1.tex +++ /dev/null @@ -1,8 +0,0 @@ -% vim:ts=4:sw=4 -% Copyright (c) 2014 Casper Ti. Vector -% Public domain. - -\chapter{附件} -% 中文测试文字。 -\pkuthssffaq - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/introduction.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/introduction.tex deleted file mode 100644 index 5e448d3b897..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/introduction.tex +++ /dev/null @@ -1,8 +0,0 @@ -% vim:ts=4:sw=4 -% Copyright (c) 2014 Casper Ti. Vector -% Public domain. - -\specialchap{序言} -% 中文测试文字。 -\pkuthssffaq - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/originauth.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/originauth.tex deleted file mode 100644 index a41e5944e3e..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/chap/originauth.tex +++ /dev/null @@ -1,86 +0,0 @@ -% vim:ts=4:sw=4 -% -% Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2015 Casper Ti. Vector -% All rights reserved. -% -% Redistribution and use in source and binary forms, with or without -% modification, are permitted provided that the following conditions are -% met: -% -% * Redistributions of source code must retain the above copyright notice, -% this list of conditions and the following disclaimer. -% * Redistributions in binary form must reproduce the above copyright -% notice, this list of conditions and the following disclaimer in the -% documentation and/or other materials provided with the distribution. -% * Neither the name of Peking University nor the names of its contributors -% may be used to endorse or promote products derived from this software -% without specific prior written permission. -% -% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR -% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -% 原创性声明和使用授权说明页不需要装订到论文中,故不显示页码。 -\cleardoublepage\thispagestyle{empty} -{ - \vspace*{\fill}\linespread{1.5}\selectfont - \centerline{\bfseries\zihao{-2}北京大学学位论文原创性声明和使用授权说明} - - \vskip 4em - \centerline{\bfseries\zihao{-3}原创性声明} - \vskip 1em - - 本人郑重声明: - 所呈交的学位论文,是本人在导师的指导下,独立进行研究工作所取得的成果。 - 除文中已经注明引用的内容外, - 本论文不含任何其他个人或集体已经发表或撰写过的作品或成果。 - 对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。 - 本声明的法律结果由本人承担。 - \vskip 1em - \rightline - {% - 论文作者签名:\hspace{5em}% - 日期:\hspace{2em}年\hspace{2em}月\hspace{2em}日% - } - - \vskip 4em - \centerline{\bfseries\zihao{-3}学位论文使用授权说明} - \centerline{\zihao{5}(必须装订在提交学校图书馆的印刷本)} - \vskip 1em - - 本人完全了解北京大学关于收集、保存、使用学位论文的规定,即: - \begin{itemize} - \item 按照学校要求提交学位论文的印刷本和电子版本; - \item 学校有权保存学位论文的印刷本和电子版, - 并提供目录检索与阅览服务,在校园网上提供服务; - \item 学校可以采用影印、缩印、数字化或其它复制手段保存论文; - \item 因某种特殊原因需要延迟发布学位论文电子版, - 授权学校在 $\square$\nobreakspace{}一年 / % - $\square$\nobreakspace{}两年 / % - $\square$\nobreakspace{}三年以后在校园网上全文发布。 - \end{itemize} - \centerline{(保密论文在解密后遵守此规定)} - \vskip 1em - \rightline - {% - 论文作者签名:\hspace{5em}导师签名:\hspace{5em}% - 日期:\hspace{2em}年\hspace{2em}月\hspace{2em}日% - } - - % 若需排版二维码,请将二维码图片重命名为“barcode”, - % 转为合适的图片格式,并放在当前目录下,然后去掉下面 2 行的注释。 - %\vskip 4em \noindent - %\includegraphics[height = 5em]{barcode} - - \vspace*{\fill}\par -} - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.bib b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.bib deleted file mode 100644 index c8b9ea2dbef..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.bib +++ /dev/null @@ -1,20 +0,0 @@ -% vim:ts=4:sw=4 - -@article{test-en, - author = {Author}, - title = {Title}, - type = {J}, - journal = {Journal}, - date = {2014-04-01}, - language = {english}, -} - -@article{test-zh, - author = {作者}, - title = {标题}, - type = {J}, - journal = {期刊}, - date = {2014-04-01}, - language = {chinese}, -} - diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex deleted file mode 100644 index 25826ce5f2e..00000000000 --- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex +++ /dev/null @@ -1,146 +0,0 @@ -% vim:ts=4:sw=4 -% -% Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2015 Casper Ti. Vector -% Public domain. -% -% 使用前请先仔细阅读 pkuthss 和 biblatex-caspervector 的文档, -% 特别是其中的 FAQ 部分和用红色强调的部分。 -% 两者可在终端/命令提示符中用 -% texdoc pkuthss -% texdoc biblatex-caspervector -% 调出。 - -% 采用了自定义的(包括大小写不同于原文件的)字体文件名, -% 并改动 ctex.cfg 等配置文件的用户请自行加入 nofonts 选项; -% 其它用户不用加入 nofonts 选项,加入之后反而会产生错误。 -% -% 图书馆要求电子版论文的目录必须为黑色, -% 且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印, -% 【因此最终打印和提交论文前,请将“colorlinks”改为“nocolorlinks”。】 -\documentclass[GBK, colorlinks]{pkuthss} - -% 使用 biblatex 排版参考文献,并规定其格式。 -% -% 如果无法使用 biber,可以把“backend = biber”改为“backend = bibtex”, -% 并改用 bibtex 产生参考文献,详见 pkuthss 的文档。 -% 使用 biber 时,请去掉所有的 sorting 选项,否则会出错。 -% -% 默认按照引用顺序排序(“sorting = none”),详见 biblatex-caspervector 的文档 -% (因为是默认设置所以其实不用写,不过出于完备性的考虑仍然在这里列出)。 -% 若需要按照英文文献在前,中文文献在后排序,请设置“sorting = ecnty”; -% 若需要按照中文文献在前,英文文献在后排序,请设置“sorting = centy”。 -\usepackage[backend = biber, style = caspervector, gbk, sorting = none]{biblatex} -% 提供近似于学校所要求的 Times New Roman / Arial 的字体。 -\usepackage[defaultsups]{newtxtext} -\usepackage{newtxmath} -% 产生 originauth.tex 里的 \square。 -\usepackage{amssymb} - -% 按学校要求设定参考文献列表中的条目之内及之间的距离。 -\setlength{\bibitemsep}{3bp} -% 对于 linespread 值的计算过程有兴趣的同学可以参考 pkuthss-extra.sty。 -\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont} - -% 设定文档的基本信息。 -\pkuthssinfo{ - cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis}, - ctitle = {测试文档}, etitle = {Test Document}, - cauthor = {某某}, - eauthor = {Test}, - studentid = {0123456789}, - date = {某年某月}, - school = {某某学院}, - cmajor = {某某专业}, emajor = {Some Major}, - direction = {某某方向}, - cmentor = {某某教授}, ementor = {Prof.\ Somebody}, - ckeywords = {其一,其二}, ekeywords = {First, Second} -} -% 导入参考文献数据库(注意不要省略“.bib”)。 -\addbibresource{thesis.bib} - -% 普通用户可删除此段。 -\usepackage{color} -\def\pkuthssffaq{% - \emph{\textcolor{red}{pkuthss 文档模版最常见问题:}} - - 在最终打印和提交论文之前, - 请将 pkuthss 文档类选项中的 % - \texttt{colorlinks} 改为 \texttt{nocolorlinks}, - 因为图书馆要求电子版论文的目录必须为黑色, - 且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印。 - - \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 - % 此后到下一 \pagestyle 命令之前不排版页眉或页脚。 - \pagestyle{empty} - - % 自动生成标题页。 - \maketitle - % 版权声明。 - \include{chap/copyright} - - % 此后到下一 \pagestyle 命令之前正常排版页眉和页脚。 - \cleardoublepage - \pagestyle{plain} - % 重置页码计数器,用大写罗马数字排版此部分页码。 - \setcounter{page}{0} - \pagenumbering{Roman} - - % 中英文摘要。 - \include{chap/abstract} - % 自动生成目录。 - \tableofcontents - - % 以下为正文部分,默认要进行章节编号。 - \mainmatter - % 序言。 - \include{chap/introduction} - % 各章节。 - \include{chap/chap1} - % 结论。 - \include{chap/conclusion} - - % 正文中的附录部分。 - \appendix - % 排版参考文献列表。 - \printbibliography[ - % 使“参考文献”出现在目录中;如果同时要使参考文献列表参与章节编号, - % 可将“bibintoc”改为“bibnumbered”。 - heading = bibintoc, - % 单独设定排序方案。此设定会局部覆盖之前的全局设置。 - % 注:只有同时使用 2.x 或之后版本的 biblatex 和相应兼容版本的 biber, - % 才能对每个 \printbibliography 命令采用不同的排序方案, - % 否则只能在导入 biblatex 宏包时就(全局)指定排序方案。 - % 在这样的情况下,请去掉所有的 sorting 选项,否则可能出错。 - sorting = ecnty - ] - % 各附录。 - \include{chap/encl1} - - % 以下为正文之后的部分,默认不进行章节编号。 - \backmatter - % 致谢。 - \include{chap/acknowledge} - - % 此后不排版页眉或页脚。 - \cleardoublepage - \pagestyle{empty} - - % 原创性声明和使用授权说明。 - \include{chap/originauth} -\end{document} - -- cgit v1.2.3