texlive[47628] Master/texmf-dist: fduthesis (6may18)

commits+karl at tug.org commits+karl at tug.org
Sun May 6 23:43:20 CEST 2018


Revision: 47628
          http://tug.org/svn/texlive?view=revision&revision=47628
Author:   karl
Date:     2018-05-06 23:43:19 +0200 (Sun, 06 May 2018)
Log Message:
-----------
fduthesis (6may18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/fduthesis/README.md
    trunk/Master/texmf-dist/doc/latex/fduthesis/fdulogo-example.tex
    trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-code.pdf
    trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-cover.tex
    trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.pdf
    trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex
    trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis.pdf
    trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis-doc.dtx
    trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.dtx
    trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.ins
    trunk/Master/texmf-dist/tex/latex/fduthesis/fdudoc.cls
    trunk/Master/texmf-dist/tex/latex/fduthesis/fdulogo.sty
    trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis-en.cls
    trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.cls
    trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.def

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem-new.pdf
    trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem.pdf
    trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-name.pdf

Modified: trunk/Master/texmf-dist/doc/latex/fduthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fduthesis/README.md	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/doc/latex/fduthesis/README.md	2018-05-06 21:43:19 UTC (rev 47628)
@@ -1,43 +1,53 @@
 The `fduthesis` Class
 =====================
 
-*LaTeX thesis template for Fudan University, v0.7a*
+*LaTeX thesis template for Fudan University, v0.7b*
 
 Overview
 --------
 
-`fduthesis` is a thesis template for Fudan University. This template
-is mostly written in LaTeX3, with a simple interface for users.
+This template supports doctoral or master dissertion and undergraduate
+thesis, both in Chinese or English. With the help of modern LaTeX
+technology, `fduthesis` aims to create a simple interface, a normative
+format, as well as a hackable class for the users.
 
-At present, only XeTeX, LuaTeX and [ApTeX](https://github.com/clerkma/ptex-ng)
-(experimental) are supported.
+At present, `fduthesis` only supports XeTeX and LuaTeX engines.
+Support for pdfTeX and [ApTeX](https://github.com/clerkma/ptex-ng) is
+still under development. `fduthesis` only allows UTF-8 encoding.
 
 The documentation can be found in
-[fduthesis.pdf](https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.pdf)
+[fduthesis.pdf](http://mirrors.ctan.org/macros/latex/contrib/fduthesis/fduthesis.pdf)
 (in Chinese) or
-[fduthesis-en.pdf](https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis-en.pdf)
+[fduthesis-en.pdf](http://mirrors.ctan.org/macros/latex/contrib/fduthesis/fduthesis-en.pdf)
 (in English).
 
+GitHub re­pos­i­tory: <https://github.com/Stone-Zeng/fduthesis>.
+
 Installation
 ------------
 
 To install `fduthesis`, you can use one of the following methods:
 
+- If you are running TeX Live, the simplest way is to run
+
+      tlmgr install fduthesis
+
 - Download
-  [fduthesis.tds.zip](https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.tds.zip)
-  from GitHub, extract it in the root of one of your TDS trees, and
+  [fduthesis.tds.zip](http://mirror.ctan.org/install/macros/latex/contrib/fduthesis.tds.zip)
+  from CTAN, extract it in the root of one of your TDS trees, and
   update the filename database.
 
-- Get the source (`fduthesis.zip`) from GitHub:
+- Get the source from GitHub:
 
       git clone https://github.com/Stone-Zeng/fduthesis.git
 
-  Run
+  Run `install-win.bat` (on Windows) or `install-linux.sh` (on Linux)
+  to generate the templates and configuration files. These files would
+  be found in a new-created `thesis` folder. You can enjoy `fduthesis`
+  here at once.
 
-      xetex fduthesis.dtx
-
-  to generate the templates and configuration files. Then move the
-  following files into a directory where LaTeX will find them (e.g.
+  For permanent installation, you may move the following files into a
+  directory where LaTeX will find them (e.g.
   `TEXMF/tex/latex/fduthesis/`):
 
   - `fduthesis.cls`
@@ -45,6 +55,9 @@
   - `fduthesis.def`
   - `fdudoc.cls`
   - `fdulogo.sty`
+  - `fudan-emblem.pdf`
+  - `fudan-emblem-new.pdf`
+  - `fudan-name.pdf`
 
   Do not forget to update the filename database afterwards.
 

Modified: trunk/Master/texmf-dist/doc/latex/fduthesis/fdulogo-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fduthesis/fdulogo-example.tex	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/doc/latex/fduthesis/fdulogo-example.tex	2018-05-06 21:43:19 UTC (rev 47628)
@@ -36,6 +36,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,

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

Modified: trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-cover.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-cover.tex	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-cover.tex	2018-05-06 21:43:19 UTC (rev 47628)
@@ -36,6 +36,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,

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

Modified: trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex	2018-05-06 21:43:19 UTC (rev 47628)
@@ -35,6 +35,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -71,7 +74,7 @@
   \textbf{The \textsf{fduthesis} Class \\
     \LaTeX{} Thesis Template for Fudan University}}}
 \author{Xiangdong Zeng}
-\date{\today \quad v0.7a%
+\date{\today \quad v0.7b%
   \thanks{\url{https://github.com/Stone-Zeng/fduthesis}.}}
 
 \begin{document}
@@ -172,10 +175,10 @@
 
 \subsubsection{Install manually}
 
-If you want to download the template from GitHub and install it
+If you want to download the template from CTAN and install it
 manually, the recommended way is to use the TDS ZIP file:
 \begin{itemize}
-  \item Download the \href{https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.tds.zip}%
+  \item Download the \href{http://mirror.ctan.org/install/macros/latex/contrib/fduthesis.tds.zip}%
     {TDS ZIP file} for \cls{fduthesis};
   \item Copy all the files in \file{fduthesis.tds.zip} into the
     local TDS directory of \TeX{} distribution.
@@ -203,6 +206,11 @@
     into \path{texmf-local/tex/latex/fduthesis/} under the local
     TDS tree of \TeX{} distribution. Then run \bashcmd{mktexlsr}
     to update the ls-R database.
+  \item When writing your thesis with \cls{fduthesis}, you need
+    to copy the file \file{fudan-name.pdf} (can be found in the
+    \file{testfiles/support} directory of the Git repository) to
+    your working directory, to make sure that the logo in the
+    cover can be displayed correctly.
 \end{itemize}
 
 \subsubsection{\cls{fduthesis} on the fly}
@@ -234,6 +242,9 @@
       for \cls{fduthesis}. Please do \emph{not} modify it. \\
     \file{fdudoc.cls}             & Document class for user guides. \\
     \file{fdulogo.sty}            & Fudan University's visual identity. \\
+    \file{fudan-emblem.pdf}       & University emblem. \\
+    \file{fudan-emblem-new.pdf}   & University emblem (revised version). \\
+    \file{fudan-name.pdf}         & Figure of university name. \\
     \file{README.md}              & The brief introduction. \\
     \file{fduthesis.pdf}          & User's guide in Chinese. \\
     \file{fduthesis-en.pdf}       & User's guide in English (this

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

Modified: trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis-doc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis-doc.dtx	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis-doc.dtx	2018-05-06 21:43:19 UTC (rev 47628)
@@ -96,22 +96,24 @@
 \RequirePackage[UTF8, heading, sub3section, fontset = none]{ctex}
 %    \end{macrocode}
 % 与 \pkg{hypdoc}(由 \cls{l3doc} 调用)冲突,导致脚注超链接
-% 无法正常跳转。临时禁用。
+% 无法正常跳转。暂时禁用。
 %    \begin{macrocode}
 % \RequirePackage[stable, bottom]{footmisc}
-\RequirePackage{graphicx}
-\RequirePackage{caption}
-\RequirePackage{geometry}
-\RequirePackage{listings}
-\RequirePackage{makecell}
-\RequirePackage[toc]{multitoc}
-\RequirePackage{siunitx}
-\RequirePackage{tabularx}
-\RequirePackage{threeparttable}
-\RequirePackage{unicode-math}
-\RequirePackage{xcolor}
-\RequirePackage{xcolor-material}
-\RequirePackage{zref-base}
+\RequirePackage{%
+  caption,
+  geometry,
+  graphicx,
+  listings,
+  makecell,
+  siunitx,
+  tabularx,
+  threeparttable,
+  unicode-math,
+  xcolor,
+  xcolor-material,
+  xunicode,
+  zref-base
+}
 %    \end{macrocode}
 %
 % \subsubsection{\env{macrocode} 环境}
@@ -129,12 +131,12 @@
 %    \end{macrocode}
 % 调整前后间距,禁止 \env{macrocode} 环境前的分页。
 %    \begin{macrocode}
-   \topsep \MacrocodeTopsep
-   \@beginparpenalty \predisplaypenalty
+  \topsep \MacrocodeTopsep
+  \@beginparpenalty \predisplaypenalty
 %    \end{macrocode}
 % 将列表前后的附加垂直空白设为 0。根据 \cls{ctxdoc} 修改。
 %    \begin{macrocode}
-   \partopsep \z at skip
+  \partopsep \z at skip
 %    \if at inlabel\leavevmode\fi
 %    \end{macrocode}
 % 构建 \env{trivlist} 环境,设置段间距为 0。
@@ -143,35 +145,35 @@
 % \tn{macro at font} 用来在不同模块见切换字体。本文档类不使用
 % \tn{AltMacroFont},因此这里改用 \tn{MacroFont} 代替。
 %    \begin{macrocode}
-   \trivlist \parskip \z@ \item[]%
+  \trivlist \parskip \z@ \item[]%
 %    \macro at font
-   \MacroFont
-   \leftskip\@totalleftmargin \advance\leftskip\MacroIndent
-   \rightskip\z@ \parindent\z@ \parfillskip\@flushglue
+  \MacroFont
+  \leftskip\@totalleftmargin \advance\leftskip\MacroIndent
+  \rightskip\z@ \parindent\z@ \parfillskip\@flushglue
 %    \end{macrocode}
 % 按照 \LaTeXe{} 中 \tn{verbatim} 环境中定义 \tn{par},使得空行
 % 可以原样输出,否则空行会被吃掉。
 %    \begin{macrocode}
-   \blank at linefalse \def\par{\ifblank at line
-                             \leavevmode\fi
-                             \blank at linetrue\@@par
-                             \penalty\interlinepenalty}
+  \blank at linefalse \def\par{\ifblank at line
+                            \leavevmode\fi
+                            \blank at linetrue\@@par
+                            \penalty\interlinepenalty}
 %    \end{macrocode}
 % \tn{obeylines} 将把回车符 |^^M| 变成 \tn{par}。
 % 接下来将所有特殊符号的类别码设为 12,即“其他”类。
 %    \begin{macrocode}
-   \obeylines
-   \let\do\do at noligs \verbatim at nolig@list
-   \let\do\@makeother \dospecials
+  \obeylines
+  \let\do\do at noligs \verbatim at nolig@list
+  \let\do\@makeother \dospecials
 %    \end{macrocode}
 % 相当于退出 |\begin{list}| 和 |\begin{minipage}|。
 %    \begin{macrocode}
-   \global\@newlistfalse
-   \global\@minipagefalse
+  \global\@newlistfalse
+  \global\@minipagefalse
 %    \end{macrocode}
 % 初始化交叉引用功能。
 %    \begin{macrocode}
-   \init at crossref}
+  \init at crossref}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1656,6 +1658,17 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}[int]{\@multitoc at starttoc,\@starttoc}
+% 目录分栏,相当于调用 \pkg{multitoc} 宏包。
+%    \begin{macrocode}
+\let\@multitoc at starttoc\@starttoc
+\renewcommand*\@starttoc[1]{%
+  \begin{multicols}{2}%
+    \@multitoc at starttoc{#1}%
+  \end{multicols}}
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}[int]{\@makefntext}
 % 调整脚注文本缩进。
 %    \begin{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.dtx	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.dtx	2018-05-06 21:43:19 UTC (rev 47628)
@@ -31,6 +31,9 @@
 %                                 fdulogo-example.tex,
 %                                 fduthesis-cover.tex,
 %                                 fduthesis-en.tex,
+%                                 fudan-emblem.pdf,
+%                                 fudan-emblem-new.pdf,
+%                                 fudan-name.pdf,
 %                                 fduthesis.pdf,
 %                                 fduthesis-en.pdf,
 %                                 fduthesis-code.pdf,
@@ -46,43 +49,53 @@
 The `fduthesis` Class
 =====================
 
-*LaTeX thesis template for Fudan University, v0.7a*
+*LaTeX thesis template for Fudan University, v0.7b*
 
 Overview
 --------
 
-`fduthesis` is a thesis template for Fudan University. This template
-is mostly written in LaTeX3, with a simple interface for users.
+This template supports doctoral or master dissertion and undergraduate
+thesis, both in Chinese or English. With the help of modern LaTeX
+technology, `fduthesis` aims to create a simple interface, a normative
+format, as well as a hackable class for the users.
 
-At present, only XeTeX, LuaTeX and [ApTeX](https://github.com/clerkma/ptex-ng)
-(experimental) are supported.
+At present, `fduthesis` only supports XeTeX and LuaTeX engines.
+Support for pdfTeX and [ApTeX](https://github.com/clerkma/ptex-ng) is
+still under development. `fduthesis` only allows UTF-8 encoding.
 
 The documentation can be found in
-[fduthesis.pdf](https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.pdf)
+[fduthesis.pdf](http://mirrors.ctan.org/macros/latex/contrib/fduthesis/fduthesis.pdf)
 (in Chinese) or
-[fduthesis-en.pdf](https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis-en.pdf)
+[fduthesis-en.pdf](http://mirrors.ctan.org/macros/latex/contrib/fduthesis/fduthesis-en.pdf)
 (in English).
 
+GitHub re­pos­i­tory: <https://github.com/Stone-Zeng/fduthesis>.
+
 Installation
 ------------
 
 To install `fduthesis`, you can use one of the following methods:
 
+- If you are running TeX Live, the simplest way is to run
+
+      tlmgr install fduthesis
+
 - Download
-  [fduthesis.tds.zip](https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.tds.zip)
-  from GitHub, extract it in the root of one of your TDS trees, and
+  [fduthesis.tds.zip](http://mirror.ctan.org/install/macros/latex/contrib/fduthesis.tds.zip)
+  from CTAN, extract it in the root of one of your TDS trees, and
   update the filename database.
 
-- Get the source (`fduthesis.zip`) from GitHub:
+- Get the source from GitHub:
 
       git clone https://github.com/Stone-Zeng/fduthesis.git
 
-  Run
+  Run `install-win.bat` (on Windows) or `install-linux.sh` (on Linux)
+  to generate the templates and configuration files. These files would
+  be found in a new-created `thesis` folder. You can enjoy `fduthesis`
+  here at once.
 
-      xetex fduthesis.dtx
-
-  to generate the templates and configuration files. Then move the
-  following files into a directory where LaTeX will find them (e.g.
+  For permanent installation, you may move the following files into a
+  directory where LaTeX will find them (e.g.
   `TEXMF/tex/latex/fduthesis/`):
 
   - `fduthesis.cls`
@@ -90,6 +103,9 @@
   - `fduthesis.def`
   - `fdudoc.cls`
   - `fdulogo.sty`
+  - `fudan-emblem.pdf`
+  - `fudan-emblem-new.pdf`
+  - `fudan-name.pdf`
 
   Do not forget to update the filename database afterwards.
 
@@ -157,6 +173,9 @@
                                     fdulogo-example.tex,
                                     fduthesis-cover.tex,
                                     fduthesis-en.tex,
+                                    fudan-emblem.pdf,
+                                    fudan-emblem-new.pdf,
+                                    fudan-name.pdf,
                                     fduthesis.pdf,
                                     fduthesis-en.pdf,
                                     fduthesis-code.pdf,
@@ -225,7 +244,7 @@
 %<class|class-en|doc|logo>\NeedsTeXFormat{LaTeX2e}
 %<class|class-en|doc|logo>\RequirePackage{expl3}
 %<*!(driver|install|ex-logo|cover)>
-%<!readme>\GetIdInfo $Id: fduthesis.dtx 0.7a 2018-04-09 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
+%<!readme>\GetIdInfo $Id: fduthesis.dtx 0.7b 2018-05-06 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
 %<class>  {Thesis template for Fudan University}
 %<class>\ProvidesExplClass{\ExplFileName}
 %<class-en>  {Thesis template for Fudan University (English version)}
@@ -286,6 +305,8 @@
 % \changes{v0.7}{2018/01/31}{不再需要 \file{fduthesis-user.def}。}
 % \changes{v0.7}{2018/03/04}{所有选项更改为用连字符隔开的形式。}
 % \changes{v0.7a}{2018/04/09}{更新文档,发布至 CTAN。}
+% \changes{v0.7b}{2018/04/29}{支持 \TeXLive{} 2018。}
+% \changes{v0.7b}{2018/05/06}{将校名、校徽图片添加至发行版。}
 %
 % \CheckSum{0}
 %
@@ -335,13 +356,13 @@
 %   \textbf{fduthesis: 复旦大学论文^^A
 %     \xpinyin[font=\sffamily]{模}{mu2}板}}}
 % \author{曾祥东}
-% \date{\today \quad v0.7a^^A
+% \date{\today \quad v0.7b^^A
 %   \thanks{\url{https://github.com/Stone-Zeng/fduthesis}.}}
 %^^A! \title{\textcolor{MaterialIndigo800}{%
 %^^A!   \textbf{The \textsf{fduthesis} Class \\
 %^^A!     \LaTeX{} Thesis Template for Fudan University}}}
 %^^A! \author{Xiangdong Zeng}
-%^^A! \date{\today \quad v0.7a%
+%^^A! \date{\today \quad v0.7b%
 %^^A!   \thanks{\url{https://github.com/Stone-Zeng/fduthesis}.}}
 %^^A!
 %^^A! \begin{document}
@@ -541,19 +562,19 @@
 %^^A! \subsubsection{Install manually}
 %^^A!
 %
-% 如果您需要从 GitHub 上自行下载并手动安装,较好的方法是使用 TDS
+% 如果您需要从 CTAN 上自行下载并手动安装,较好的方法是使用 TDS
 % 安装包:
 % \begin{itemize}
-%   \item 从 GitHub 上下载 \cls{fduthesis} 的
-%     \href{https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.tds.zip}{TDS 安装包};
+%   \item 从 CTAN 上下载 \cls{fduthesis} 的
+%     \href{http://mirror.ctan.org/install/macros/latex/contrib/fduthesis.tds.zip}{TDS 安装包};
 %   \item 按目录结构将 \file{fduthesis.tds.zip} 中的文件复制到 \TeX{}
 %     发行版的本地 TDS 根目录;
 %   \item 执行 \bashcmd{mktexlsr} 刷新文件名数据库以完成安装。
 % \end{itemize}
-%^^A! If you want to download the template from GitHub and install it
+%^^A! If you want to download the template from CTAN and install it
 %^^A! manually, the recommended way is to use the TDS ZIP file:
 %^^A! \begin{itemize}
-%^^A!   \item Download the \href{https://github.com/Stone-Zeng/fduthesis/releases/download/v0.7a/fduthesis.tds.zip}%
+%^^A!   \item Download the \href{http://mirror.ctan.org/install/macros/latex/contrib/fduthesis.tds.zip}%
 %^^A!     {TDS ZIP file} for \cls{fduthesis};
 %^^A!   \item Copy all the files in \file{fduthesis.tds.zip} into the
 %^^A!     local TDS directory of \TeX{} distribution.
@@ -579,6 +600,9 @@
 %     参数配置文件(\file{.def})复制到 \TeX{} 发行版本地 TDS 树
 %     的 \path{texmf-local/tex/latex/fduthesis/} 目录下,并执行
 %     \bashcmd{mktexlsr} 刷新文件名数据库,方可完成安装。
+%   \item 使用 \cls{fduthesis} 撰写论文时,您还需要从代码仓库下的
+%     \file{testfiles/support} 目录中复制 \file{fudan-name.pdf}
+%     文件至工作目录,以确保封面中的校名图片可以正确显示。
 % \end{itemize}
 %^^A! Although not recommended, you may generate the whole template
 %^^A! from source code as well:
@@ -602,6 +626,11 @@
 %^^A!     into \path{texmf-local/tex/latex/fduthesis/} under the local
 %^^A!     TDS tree of \TeX{} distribution. Then run \bashcmd{mktexlsr}
 %^^A!     to update the ls-R database.
+%^^A!   \item When writing your thesis with \cls{fduthesis}, you need
+%^^A!     to copy the file \file{fudan-name.pdf} (can be found in the
+%^^A!     \file{testfiles/support} directory of the Git repository) to
+%^^A!     your working directory, to make sure that the logo in the
+%^^A!     cover can be displayed correctly.
 %^^A! \end{itemize}
 %^^A!
 %
@@ -646,6 +675,9 @@
 %       \cls{fduthesis} 的初始参数,不建议您自行改动 \\
 %     \file{fdudoc.cls}             & 用户手册文档类 \\
 %     \file{fdulogo.sty}            & 复旦大学视觉识别系统 \\
+%     \file{fudan-emblem.pdf}       & 校徽 \\
+%     \file{fudan-emblem-new.pdf}   & 校徽(重修版) \\
+%     \file{fudan-name.pdf}         & 校名图片 \\
 %     \file{README.md}              & 简要自述 \\
 %     \ifdefined\FDUCODEDOC
 %       \file{fduthesis.pdf}        & 中文用户手册 \\
@@ -675,6 +707,9 @@
 %^^A!       for \cls{fduthesis}. Please do \emph{not} modify it. \\
 %^^A!     \file{fdudoc.cls}             & Document class for user guides. \\
 %^^A!     \file{fdulogo.sty}            & Fudan University's visual identity. \\
+%^^A!     \file{fudan-emblem.pdf}       & University emblem. \\
+%^^A!     \file{fudan-emblem-new.pdf}   & University emblem (revised version). \\
+%^^A!     \file{fudan-name.pdf}         & Figure of university name. \\
 %^^A!     \file{README.md}              & The brief introduction. \\
 %^^A!     \file{fduthesis.pdf}          & User's guide in Chinese. \\
 %^^A!     \file{fduthesis-en.pdf}       & User's guide in English (this

Modified: trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.ins	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/source/latex/fduthesis/fduthesis.ins	2018-05-06 21:43:19 UTC (rev 47628)
@@ -35,6 +35,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -77,6 +80,9 @@
                                     fdulogo-example.tex,
                                     fduthesis-cover.tex,
                                     fduthesis-en.tex,
+                                    fudan-emblem.pdf,
+                                    fudan-emblem-new.pdf,
+                                    fudan-name.pdf,
                                     fduthesis.pdf,
                                     fduthesis-en.pdf,
                                     fduthesis-code.pdf,

Modified: trunk/Master/texmf-dist/tex/latex/fduthesis/fdudoc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fdudoc.cls	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fdudoc.cls	2018-05-06 21:43:19 UTC (rev 47628)
@@ -36,6 +36,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -45,7 +48,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo $Id: fduthesis.dtx 0.7a 2018-04-09 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
+\GetIdInfo $Id: fduthesis.dtx 0.7b 2018-05-06 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
   {Documentation class for fduthesis}
 \ProvidesExplClass{fdudoc}
   {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
@@ -54,37 +57,39 @@
 \PassOptionsToPackage{log-declarations = false}{xparse}
 \LoadClass[a4paper, full]{l3doc}
 \RequirePackage[UTF8, heading, sub3section, fontset = none]{ctex}
-\RequirePackage{graphicx}
-\RequirePackage{caption}
-\RequirePackage{geometry}
-\RequirePackage{listings}
-\RequirePackage{makecell}
-\RequirePackage[toc]{multitoc}
-\RequirePackage{siunitx}
-\RequirePackage{tabularx}
-\RequirePackage{threeparttable}
-\RequirePackage{unicode-math}
-\RequirePackage{xcolor}
-\RequirePackage{xcolor-material}
-\RequirePackage{zref-base}
+\RequirePackage{%
+  caption,
+  geometry,
+  graphicx,
+  listings,
+  makecell,
+  siunitx,
+  tabularx,
+  threeparttable,
+  unicode-math,
+  xcolor,
+  xcolor-material,
+  xunicode,
+  zref-base
+}
 \def\macro at code{%
-   \topsep \MacrocodeTopsep
-   \@beginparpenalty \predisplaypenalty
-   \partopsep \z at skip
-   \trivlist \parskip \z@ \item[]%
-   \MacroFont
-   \leftskip\@totalleftmargin \advance\leftskip\MacroIndent
-   \rightskip\z@ \parindent\z@ \parfillskip\@flushglue
-   \blank at linefalse \def\par{\ifblank at line
-                             \leavevmode\fi
-                             \blank at linetrue\@@par
-                             \penalty\interlinepenalty}
-   \obeylines
-   \let\do\do at noligs \verbatim at nolig@list
-   \let\do\@makeother \dospecials
-   \global\@newlistfalse
-   \global\@minipagefalse
-   \init at crossref}
+  \topsep \MacrocodeTopsep
+  \@beginparpenalty \predisplaypenalty
+  \partopsep \z at skip
+  \trivlist \parskip \z@ \item[]%
+  \MacroFont
+  \leftskip\@totalleftmargin \advance\leftskip\MacroIndent
+  \rightskip\z@ \parindent\z@ \parfillskip\@flushglue
+  \blank at linefalse \def\par{\ifblank at line
+                            \leavevmode\fi
+                            \blank at linetrue\@@par
+                            \penalty\interlinepenalty}
+  \obeylines
+  \let\do\do at noligs \verbatim at nolig@list
+  \let\do\@makeother \dospecials
+  \global\@newlistfalse
+  \global\@minipagefalse
+  \init at crossref}
 \ExplSyntaxOn
 \tl_new:N \l__fdudoc_tmpa_tl
 \tl_new:N \l__fdudoc_tmpb_tl
@@ -824,6 +829,11 @@
   \let\path\meta
   \let\opt\@firstofone
   \let\kaishu\relax}
+\let\@multitoc at starttoc\@starttoc
+\renewcommand*\@starttoc[1]{%
+  \begin{multicols}{2}%
+    \@multitoc at starttoc{#1}%
+  \end{multicols}}
 \renewcommand\@makefntext[1]{\parindent 0em\noindent\@makefnmark~#1}
 \IndexPrologue{%
   \section{\indexname}%

Modified: trunk/Master/texmf-dist/tex/latex/fduthesis/fdulogo.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fdulogo.sty	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fdulogo.sty	2018-05-06 21:43:19 UTC (rev 47628)
@@ -36,6 +36,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -45,7 +48,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo $Id: fduthesis.dtx 0.7a 2018-04-09 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
+\GetIdInfo $Id: fduthesis.dtx 0.7b 2018-05-06 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
   {Fudan University's Visual Identity}
 \ProvidesExplPackage{fdulogo}
   {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}

Modified: trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis-en.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis-en.cls	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis-en.cls	2018-05-06 21:43:19 UTC (rev 47628)
@@ -35,6 +35,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -44,7 +47,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo $Id: fduthesis.dtx 0.7a 2018-04-09 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
+\GetIdInfo $Id: fduthesis.dtx 0.7b 2018-05-06 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
   {Thesis template for Fudan University (English version)}
 \ProvidesExplClass{\ExplFileName-en}
   {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}

Modified: trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.cls	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.cls	2018-05-06 21:43:19 UTC (rev 47628)
@@ -35,6 +35,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -44,7 +47,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo $Id: fduthesis.dtx 0.7a 2018-04-09 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
+\GetIdInfo $Id: fduthesis.dtx 0.7b 2018-05-06 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
   {Thesis template for Fudan University}
 \ProvidesExplClass{\ExplFileName}
   {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}

Modified: trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.def	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fduthesis.def	2018-05-06 21:43:19 UTC (rev 47628)
@@ -35,6 +35,9 @@
 %%                                     fdulogo-example.tex,
 %%                                     fduthesis-cover.tex,
 %%                                     fduthesis-en.tex,
+%%                                     fudan-emblem.pdf,
+%%                                     fudan-emblem-new.pdf,
+%%                                     fudan-name.pdf,
 %%                                     fduthesis.pdf,
 %%                                     fduthesis-en.pdf,
 %%                                     fduthesis-code.pdf,
@@ -42,7 +45,7 @@
 %%                                     latexmkrc-en,
 %%                                 and README.md.
 %% 
-\GetIdInfo $Id: fduthesis.dtx 0.7a 2018-04-09 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
+\GetIdInfo $Id: fduthesis.dtx 0.7b 2018-05-06 12:00:00Z Xiangdong Zeng <xdzeng96 at gmail.com> $
   {Definition file for fduthesis}
 \ProvidesExplFile{\ExplFileName.def}
   {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}

Added: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem-new.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem-new.pdf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem-new.pdf	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem-new.pdf	2018-05-06 21:43:19 UTC (rev 47628)

Property changes on: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem-new.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem.pdf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem.pdf	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem.pdf	2018-05-06 21:43:19 UTC (rev 47628)

Property changes on: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-emblem.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-name.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-name.pdf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-name.pdf	2018-05-06 17:39:48 UTC (rev 47627)
+++ trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-name.pdf	2018-05-06 21:43:19 UTC (rev 47628)

Property changes on: trunk/Master/texmf-dist/tex/latex/fduthesis/fudan-name.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property


More information about the tex-live-commits mailing list