texlive[53891] Master/texmf-dist: thucoursework (23feb20)
commits+karl at tug.org
commits+karl at tug.org
Mon Feb 24 15:30:44 CET 2020
Revision: 53891
http://tug.org/svn/texlive?view=revision&revision=53891
Author: karl
Date: 2020-02-24 15:30:44 +0100 (Mon, 24 Feb 2020)
Log Message:
-----------
thucoursework (23feb20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/thucoursework/README.md
trunk/Master/texmf-dist/doc/latex/thucoursework/dtx-style.sty
trunk/Master/texmf-dist/doc/latex/thucoursework/iihw.pdf
trunk/Master/texmf-dist/doc/latex/thucoursework/iihw.tex
trunk/Master/texmf-dist/doc/latex/thucoursework/ithw.pdf
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
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/thucoursework/pdf_normal.pdf
trunk/Master/texmf-dist/source/latex/thucoursework/Makefile
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/thucoursework/Makefile
trunk/Master/texmf-dist/doc/latex/thucoursework/thucoursework.hd
Deleted: trunk/Master/texmf-dist/doc/latex/thucoursework/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thucoursework/Makefile 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/doc/latex/thucoursework/Makefile 2020-02-24 14:30:44 UTC (rev 53891)
@@ -1,71 +0,0 @@
-# Makefile for thucoursework
-
-# Compiling method: xelatex/pdflatex
-PACKAGE = thucoursework
-INSTALL_PACKAGE = install-tl-unx.tar.gz
-INSTALL_DIR = ./install-texlive
-# automatic configuration of mirror
-REMOTE_INSTALLER_URL = http://mirror.ctan.org/systems/texlive/tlnet
-# Set opts for latexmk if you use it
-LATEXMKOPTS = -xelatex -halt-on-error -interaction=nonstopmode
-
-
-.PHONY: doc all archive pre_install_dep install_dep after_install_dep clean test
-
-all: after_install_dep iihw.pdf ithw.pdf
-
-pre_install_dep: $(INSTALL_PACKAGE)
-
-after_install_dep: install_dep
- # tricky, to make variable assignment in recipe, and to execute shell command and assign the print result to a variable.
- $(eval PLATFORM1=`$(INSTALL_DIR)/install-tl --print-platform`)
- $(eval PLATFORM2=$(shell echo $(PLATFORM1)))
- $(eval PLATFORM3=$(shell pwd))
- $(eval export PATH :=$(PLATFORM3)/texlive/bin/$(PLATFORM2):$(PATH))
- echo $$PATH
- # to make tlmgr work, we need perl
- tlmgr install xkeyval matlab-prettifier caption doublestroke xcolor listings l3kernel l3packages ms ulem fontspec environ trimspaces booktabs moreenum mathtools oberdiek enumitem fmtcount etoolbox latex-bin
-install_dep: pre_install_dep
- mkdir -p $(INSTALL_DIR)
- tar -zxvf $(INSTALL_PACKAGE) -C $(INSTALL_DIR) --strip-components 1
- $(INSTALL_DIR)/install-tl -profile tl.profile
-
-$(INSTALL_PACKAGE):
- wget $(REMOTE_INSTALLER_URL)/$(INSTALL_PACKAGE)
-
-clean:
- rm -fr $(INSTALL_DIR)
- rm -f *.idx *.ilg *.glo *.gls *.hd *.ind *.log *.out *.synctex.gz *.toc *.aux
-
-iihw.pdf: iihw.tex after_install_dep
- pdflatex iihw.tex
-
-ithw.pdf: ithw.tex after_install_dep
- xelatex ithw.tex
-
-archive:
- # make tar.gz which is submitted to ctan.org
- # first copy the necessary files to the dist dir
- cp README.md iihw.pdf ithw.pdf iihw.tex ithw.tex matlabscript.m pdf_normal.eps thucoursework.dtx thucoursework.pdf Makefile thucoursework/
- # then tar it
- COPYFILE_DISABLE=1 tar -zcvf thucoursework.tar.gz thucoursework/
-doc : $(PACKAGE).pdf
-
-$(PACKAGE).pdf : $(PACKAGE).dtx
- #latexmk $(LATEXXMKOPTS) $(PACKAGE).dtx
- xelatex $(PACKAGE).dtx
- makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
- makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
- xelatex $(PACKAGE).dtx
- xelatex -synctex=1 $(PACKAGE).dtx
-
-test:
- # first clear out root texlive bin dir
- $(eval export PATH := /bin:/usr/bin)
- echo $$PATH
- $(eval PLATFORM1=`$(INSTALL_DIR)/install-tl --print-platform`)
- $(eval PLATFORM2=$(shell echo $(PLATFORM1)))
- $(eval PLATFORM3=$(shell pwd))
- $(eval export PATH := $(PLATFORM3)/texlive/bin/$(PLATFORM2):$(PATH))
- echo $$PATH
- tlmgr --version
Modified: trunk/Master/texmf-dist/doc/latex/thucoursework/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thucoursework/README.md 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/doc/latex/thucoursework/README.md 2020-02-24 14:30:44 UTC (rev 53891)
@@ -1,5 +1,6 @@
# THU coursework Template
-[![Build Status](https://www.travis-ci.org/zhaofeng-shu33/THU-coursework-template.svg?branch=master)](https://www.travis-ci.org/zhaofeng-shu33/THU-coursework-template)
+[![Build Status](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template.svg?branch=master)](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template)
+
LaTeX package for students in Tsinghua University to write coursework more efficiently, also can be used by students from other university.
Notice that the package itself does not import ctex package, to use it with Chinese writing, see example file `ithw.tex` for detail.
@@ -39,9 +40,9 @@
## Contributors
- TA xiangxiangxu revised this template, zhaofeng-shu33 made it a latex package.
+ [Xiangxiang Xu](https://xiangxiangxu.com/) revised this template, zhaofeng-shu33 made it a latex package.
## License
- see [LICENSE.md](LICENSE.md) for detail.
+ This project is licensed by The LaTeX Project Public License.
Modified: trunk/Master/texmf-dist/doc/latex/thucoursework/dtx-style.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thucoursework/dtx-style.sty 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/doc/latex/thucoursework/dtx-style.sty 2020-02-24 14:30:44 UTC (rev 53891)
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2018 by zhaofeng-shu33 <616545598 at qq.com>
+%% Copyright (C) 2020 by zhaofeng-shu33 <616545598 at qq.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
Modified: trunk/Master/texmf-dist/doc/latex/thucoursework/iihw.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/thucoursework/iihw.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thucoursework/iihw.tex 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/doc/latex/thucoursework/iihw.tex 2020-02-24 14:30:44 UTC (rev 53891)
@@ -9,7 +9,6 @@
\usepackage{moreenum}
\usepackage{mathtools}
\usepackage{url}
-\usepackage[outdir=./]{epstopdf}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{booktabs} % toprule
@@ -36,7 +35,7 @@
\rule{\textwidth}{1pt}
\begin{itemize}
\item {\bf Acknowledgments: \/}
- This template takes some materials from course CSE 547/Stat 548 of Washington University: \small{\url{https://courses.cs.washington.edu/courses/cse547/17sp/index.html}}.
+ This template takes some materials from course CSE 547/Stat 548, University of Washington: \small{\url{https://courses.cs.washington.edu/courses/cse547/17sp/index.html}}.
If you refer to other materials in your homework, please list here.
\item {\bf Collaborators: \/}
@@ -120,7 +119,7 @@
\item You may need to add figure and source codes in your homework. Figure \ref{fig:1} is an example that compares the empirical distribution (histogram) and probability density function of the Gaussian random variable.
\begin{figure}[htbp]
\centering
- \includegraphics[width = 0.8\textwidth]{pdf_normal.eps}
+ \includegraphics[width = 0.8\textwidth]{pdf_normal.pdf}
\caption{Gaussian PDF and histogram of samples}
\label{fig:1}
\end{figure}
Modified: trunk/Master/texmf-dist/doc/latex/thucoursework/ithw.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/doc/latex/thucoursework/pdf_normal.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/thucoursework/pdf_normal.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thucoursework/pdf_normal.pdf 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/doc/latex/thucoursework/pdf_normal.pdf 2020-02-24 14:30:44 UTC (rev 53891)
Property changes on: trunk/Master/texmf-dist/doc/latex/thucoursework/pdf_normal.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/thucoursework/thucoursework.hd
===================================================================
Modified: trunk/Master/texmf-dist/doc/latex/thucoursework/thucoursework.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/source/latex/thucoursework/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/latex/thucoursework/Makefile (rev 0)
+++ trunk/Master/texmf-dist/source/latex/thucoursework/Makefile 2020-02-24 14:30:44 UTC (rev 53891)
@@ -0,0 +1,71 @@
+# Makefile for thucoursework
+
+# Compiling method: xelatex/pdflatex
+PACKAGE = thucoursework
+INSTALL_PACKAGE = install-tl-unx.tar.gz
+INSTALL_DIR = ./install-texlive
+# automatic configuration of mirror
+REMOTE_INSTALLER_URL = http://mirror.ctan.org/systems/texlive/tlnet
+# Set opts for latexmk if you use it
+LATEXMKOPTS = -xelatex -halt-on-error -interaction=nonstopmode
+
+
+.PHONY: doc all archive pre_install_dep install_dep after_install_dep clean test
+
+all: after_install_dep iihw.pdf ithw.pdf
+
+pre_install_dep: $(INSTALL_PACKAGE)
+
+after_install_dep: install_dep
+ # tricky, to make variable assignment in recipe, and to execute shell command and assign the print result to a variable.
+ $(eval PLATFORM1=`$(INSTALL_DIR)/install-tl --print-platform`)
+ $(eval PLATFORM2=$(shell echo $(PLATFORM1)))
+ $(eval PLATFORM3=$(shell pwd))
+ $(eval export PATH :=$(PLATFORM3)/texlive/bin/$(PLATFORM2):$(PATH))
+ echo $$PATH
+ # to make tlmgr work, we need perl
+ tlmgr install xkeyval matlab-prettifier caption doublestroke xcolor listings l3kernel l3packages ms ulem fontspec environ trimspaces booktabs moreenum mathtools oberdiek enumitem fmtcount etoolbox latex-bin alphalph
+install_dep: pre_install_dep
+ mkdir -p $(INSTALL_DIR)
+ tar -zxvf $(INSTALL_PACKAGE) -C $(INSTALL_DIR) --strip-components 1
+ $(INSTALL_DIR)/install-tl -profile tl.profile
+
+$(INSTALL_PACKAGE):
+ wget $(REMOTE_INSTALLER_URL)/$(INSTALL_PACKAGE)
+
+clean:
+ rm -fr $(INSTALL_DIR)
+ rm -f *.idx *.ilg *.glo *.gls *.hd *.ind *.log *.out *.synctex.gz *.toc *.aux
+
+iihw.pdf: iihw.tex after_install_dep
+ pdflatex iihw.tex
+
+ithw.pdf: ithw.tex after_install_dep
+ xelatex ithw.tex
+
+archive:
+ # make tar.gz which is submitted to ctan.org
+ # first copy the necessary files to the dist dir
+ cp README.md iihw.pdf ithw.pdf iihw.tex ithw.tex matlabscript.m pdf_normal.pdf thucoursework.dtx thucoursework.pdf Makefile thucoursework/
+ # then tar it
+ COPYFILE_DISABLE=1 tar -zcvf thucoursework.tar.gz thucoursework/
+doc : $(PACKAGE).pdf
+
+$(PACKAGE).pdf : $(PACKAGE).dtx
+ #latexmk $(LATEXXMKOPTS) $(PACKAGE).dtx
+ xelatex $(PACKAGE).dtx
+ makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
+ makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
+ xelatex $(PACKAGE).dtx
+ xelatex -synctex=1 $(PACKAGE).dtx
+
+test:
+ # first clear out root texlive bin dir
+ $(eval export PATH := /bin:/usr/bin)
+ echo $$PATH
+ $(eval PLATFORM1=`$(INSTALL_DIR)/install-tl --print-platform`)
+ $(eval PLATFORM2=$(shell echo $(PLATFORM1)))
+ $(eval PLATFORM3=$(shell pwd))
+ $(eval export PATH := $(PLATFORM3)/texlive/bin/$(PLATFORM2):$(PATH))
+ echo $$PATH
+ tlmgr --version
Property changes on: trunk/Master/texmf-dist/source/latex/thucoursework/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/source/latex/thucoursework/thucoursework.dtx 2020-02-24 14:30:44 UTC (rev 53891)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2018 by zhaofeng-shu33 <616545598 at qq.com>
+% Copyright (C) 2020 by zhaofeng-shu33 <616545598 at qq.com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -56,7 +56,7 @@
\endgroup
%</internal>
%<*driver>
-\ProvidesFile{thucoursework.dtx}[2018/05/20 2.5 Tsinghua University Coursework Template]
+\ProvidesFile{thucoursework.dtx}[2020/02/23 2.5.1 Tsinghua University Coursework Template]
\documentclass{ltxdoc}
\usepackage{dtx-style}
@@ -389,6 +389,7 @@
% 感谢师兄徐祥祥的最初的作业模板设计, \textsc{Thu}\-\textsc{Thesis} 宏包的文档源码。
% \changes{v2.4}{2018/04/09}{[\zhaofeng] finish the chinese pdf manual}
% \changes{v2.5}{2018/05/20}{[\zhaofeng] make documentation more compact by including \texttt{dtx-style.sty} in the \texttt{dtx} file itself.}
+% \changes{v2.5.1}{2020/02/23}{[\zhaofeng] remove dtx-style source code from manual}
% \StopEventually{\PrintChanges\PrintIndex}
% \clearpage
%
@@ -400,7 +401,7 @@
%<*sty>
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{iidef}
-[2018/04/09 2.4 Tsinghua University Coursework Template]
+[2020/02/23 2.5.1 Tsinghua University Coursework Template]
% \end{macrocode}
% \subsection{装载宏包}
% \label{sec:loadpackage}
@@ -561,6 +562,7 @@
%%************************************************************************************
%</sty>
% \end{macrocode}
+% \iffalse
% \begin{macrocode}
%<*dtx-style>
\ProvidesPackage{dtx-style}
@@ -674,6 +676,7 @@
\endinput
%</dtx-style>
% \end{macrocode}
+% \fi
% \Finale
%
\endinput
Modified: trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty 2020-02-24 14:30:18 UTC (rev 53890)
+++ trunk/Master/texmf-dist/tex/latex/thucoursework/iidef.sty 2020-02-24 14:30:44 UTC (rev 53891)
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2018 by zhaofeng-shu33 <616545598 at qq.com>
+%% Copyright (C) 2020 by zhaofeng-shu33 <616545598 at qq.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -24,7 +24,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{iidef}
-[2018/04/09 2.4 Tsinghua University Coursework Template]
+[2020/02/23 2.5.1 Tsinghua University Coursework Template]
%% configuration of nested enumerate env
\RequirePackage{enumitem}
%% set hwcount key-value option
More information about the tex-live-commits
mailing list.