texlive[56435] Master: thucoursework (25sep20)

commits+karl at tug.org commits+karl at tug.org
Fri Sep 25 23:03:25 CEST 2020


Revision: 56435
          http://tug.org/svn/texlive?view=revision&revision=56435
Author:   karl
Date:     2020-09-25 23:03:25 +0200 (Fri, 25 Sep 2020)
Log Message:
-----------
thucoursework (25sep20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/thucoursework/thucoursework.pdf
    trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx
    trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty
    trunk/Master/tlpkg/libexec/ctan2tds

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

Modified: trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx	2020-09-25 20:58:16 UTC (rev 56434)
+++ trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx	2020-09-25 21:03:25 UTC (rev 56435)
@@ -56,7 +56,7 @@
 \endgroup
 %</internal>
 %<*driver>
-\ProvidesFile{thucoursework.dtx}[2020/02/23 2.5.1 Tsinghua University Coursework Template]
+\ProvidesFile{thucoursework.dtx}[2020/09/09 2.6 Tsinghua University Coursework Template]
 \documentclass{ltxdoc}
 \usepackage{dtx-style}
 
@@ -247,8 +247,8 @@
 % 按照优先级推荐提问的位置如下:
 %
 % \begin{itemize}
-% \item \href{http://github.com/zhaofeng-shu33/thucoursework/issues}{Github Issues}
-% \item \href{http://bbs.ctex.org/nForum/#!board/TeX}{ctex 论坛}
+% \item \href{https://github.com/zhaofeng-shu33/thucoursework/issues}{Github Issues}
+% \item \href{https://github.com/CTeX-org/forum/issues}{ctex 论坛}
 % \end{itemize}
 %
 % \subsection{示例文件}
@@ -396,17 +396,18 @@
 % \section{实现细节}
 %
 % \subsection{基本信息}
+% \changes{v2.0}{2018/03/22}{[\zhaofeng] Make it a latex package(.sty)}
 %    \begin{macrocode}
-% \changes{v2.0}{2018/03/22}{[\zhaofeng] Make it a latex package(.sty)}
 %<*sty>
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{iidef}
-[2020/02/23 2.5.1 Tsinghua University Coursework Template]
+[2020/09/09 2.6 Tsinghua University Coursework Template]
 %    \end{macrocode}
 % \subsection{装载宏包}
 % \label{sec:loadpackage}
 %
 % 引用的宏包和相应的定义。
+% \changes{v2.6}{2020/09/09}{[\zhaofeng] support \texttt{exam} document class}
 %    \begin{macrocode}
 %% configuration of nested enumerate env
 \RequirePackage{enumitem}
@@ -415,7 +416,8 @@
 %% required by macro DeclareMathOperator
 \RequirePackage{amsmath}
 %% Set up page headers using with fancyhdr
-\RequirePackage{fancyhdr}
+\@ifundefined{lhead}{\RequirePackage{fancyhdr}}
+{\def\@thulhead{thulhead}}
 %define the solution env with amsthm proof
 \RequirePackage{amsthm}
 %    \end{macrocode}
@@ -465,6 +467,7 @@
   \underline{\bf \@hwname\;\thehwcnt} \\
 \end{center}
 }
+\@ifundefined{@thulhead}{
 \fancypagestyle{runningpage}
 {
   \fancyhead[L]{\small\@coursename}
@@ -472,6 +475,7 @@
 }
 %% use runningpage style from second page on 
 \pagestyle{runningpage}
+}{}
 %% *********************************************************************************************
 %    \end{macrocode}
 %
@@ -509,6 +513,7 @@
 \def\@slname{Solution}
 \def\slname#1{\renewcommand\@slname{#1}}
 
+\@ifundefined{solution}{
 \newenvironment{solution}
 {
 \proof[\@slname]
@@ -518,6 +523,7 @@
 \renewcommand{\qedsymbol}{}
 \endproof
 }
+}{}
 %%******************************
 %    \end{macrocode}
 % \subsection{常用数学符号}

Modified: trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty	2020-09-25 20:58:16 UTC (rev 56434)
+++ trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty	2020-09-25 21:03:25 UTC (rev 56435)
@@ -24,7 +24,7 @@
 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{iidef}
-[2020/02/23 2.5.1 Tsinghua University Coursework Template]
+[2020/09/09 2.6 Tsinghua University Coursework Template]
 %% configuration of nested enumerate env
 \RequirePackage{enumitem}
 %% set hwcount key-value option
@@ -32,7 +32,8 @@
 %% required by macro DeclareMathOperator
 \RequirePackage{amsmath}
 %% Set up page headers using with fancyhdr
-\RequirePackage{fancyhdr}
+\@ifundefined{lhead}{\RequirePackage{fancyhdr}}
+{\def\@thulhead{thulhead}}
 \RequirePackage{amsthm}
 %% semester
 \def\@term{term}
@@ -67,6 +68,7 @@
   \underline{\bf \@hwname\;\thehwcnt} \\
 \end{center}
 }
+\@ifundefined{@thulhead}{
 \fancypagestyle{runningpage}
 {
   \fancyhead[L]{\small\@coursename}
@@ -74,6 +76,7 @@
 }
 %% use runningpage style from second page on
 \pagestyle{runningpage}
+}{}
 %% *********************************************************************************************
 %%name command macro
 %%*************************
@@ -98,6 +101,7 @@
 \def\@slname{Solution}
 \def\slname#1{\renewcommand\@slname{#1}}
 
+\@ifundefined{solution}{
 \newenvironment{solution}
 {
 \proof[\@slname]
@@ -107,6 +111,7 @@
 \renewcommand{\qedsymbol}{}
 \endproof
 }
+}{}
 %%******************************
 %%common math symbols go here
 %%*************************************************

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2020-09-25 20:58:16 UTC (rev 56434)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2020-09-25 21:03:25 UTC (rev 56435)
@@ -2921,7 +2921,7 @@
  'yathesis'	=> 'pdftex',
 );
 $standardinsrunner = "latex";
-$standardinsrunner_opt = "-interaction=nonstopmode";
+$standardinsrunner_opt = "";
 %specialinsrunner_opt = (); # not yet
 
 # We separate the (non)interaction option from the command name



More information about the tex-live-commits mailing list.