texlive[54815] Master/texmf-dist: resumecls (20apr20)

commits+karl at tug.org commits+karl at tug.org
Mon Apr 20 23:11:32 CEST 2020


Revision: 54815
          http://tug.org/svn/texlive?view=revision&revision=54815
Author:   karl
Date:     2020-04-20 23:11:31 +0200 (Mon, 20 Apr 2020)
Log Message:
-----------
resumecls (20apr20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md
    trunk/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile
    trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md
    trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf
    trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex
    trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf
    trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex
    trunk/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf
    trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile
    trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx
    trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md	2020-04-20 21:11:31 UTC (rev 54815)
@@ -2,8 +2,14 @@
 
 A LaTeX document class to typeset a resume or cv both in English and Chinese with more ease and flexibility.
 
-## Installation
+## Online Preview & Edit (with Overleaf Template)
 
+An overleaf template is available [here](https://www.overleaf.com/latex/templates/resumecls-example/xncvhkjgyjvf) for preview.
+
+You can also edit it directly on the overleaf.
+
+## Installation (for Offline Usage)
+
 Since [`resumecls`](http://www.ctan.org/pkg/resumecls) is included in the CTAN.
 You can install it by any package managers.
 
@@ -17,11 +23,11 @@
 
 please refer to [`resumecls-example`](https://github.com/huxuan/resumecls-example).
 
-## Compile manually
+## Offline Compile
 
 To get the document class file and document manually, you can compile via Makefile or LaTeX commands.
 
-### Compile by Makefile
+### Makefile
 
 #### Get resumecls.cls
 ```shell
@@ -43,7 +49,7 @@
 make distclean
 ```
 
-### Compile by LaTeX commands
+### LaTeX
 
 #### Get resumecls.cls
 ```shell

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile	2020-04-20 21:11:31 UTC (rev 54815)
@@ -3,7 +3,7 @@
 # | Author: huxuan
 # | E-mail: i(at)huxuan.org
 # | Created: 2012-12-18
-# | Last modified: 2020-04-16
+# | Last modified: 2020-04-20
 # | Description:
 # |     Makefile for resumecls examples
 # |
@@ -10,7 +10,7 @@
 # | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved.
 # +-----------------------------------------------------------------------------
 
-.PHONY: resume resume-zh resume-en clean depclean
+.PHONY: resume resume-zh resume-en dist clean distclean
 
 RESUME=resume
 RESUMEZH=resume-zh
@@ -44,8 +44,10 @@
 	xelatex $(RESUMEEN).tex
 	-bibtex $(RESUMEEN)
 
-# clean & depclean
+# dist & clean
 
+dist: distclean resume
+
 clean:
 	- at rm -f \
 		*~ \
@@ -55,6 +57,6 @@
 		*.log \
 		*.out
 
-depclean: clean
+distclean: clean
 	- at rm -f \
 		*.pdf

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md	2020-04-20 21:11:31 UTC (rev 54815)
@@ -1,21 +1,23 @@
 # resumecls-example
 
-Examples to typeset resume both in Chinese and English with resumecls.
+Examples to typeset resume both in Chinese and English with [resumecls](https://ctan.org/pkg/resumecls).
 
-## Preview
+## Online Preview & Edit (with Overleaf Template)
 
-An online version for preview is available on [overleaf](https://www.overleaf.com/read/yrtmzwhtzwtz).
+An overleaf template is available [here](https://www.overleaf.com/latex/templates/resumecls-example/xncvhkjgyjvf) for preview.
 
-## Workflow
+You can also edit it directly on the overleaf.
 
+## Offline Usage
+
 ```shell
 git clone git://github.com/huxuan/resumecls-example.git
 cd resumecls-example
 # Modify resume-en.tex resume-en.tex resume.bib (bib is optional).
-# Compile via Makefile or LaTeX command (More info below).
+# Compile via Makefile or LaTeX commands (More info below).
 ```
 
-## Compile
+## Offline Compile
 
 ### Makefile
 

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex	2020-04-20 21:11:31 UTC (rev 54815)
@@ -4,7 +4,7 @@
 % | Author: huxuan
 % | E-mail: i(at)huxuan.org
 % | Created: 2012-12-18
-% | Last modified: 2020-04-16
+% | Last modified: 2020-04-20
 % | Description:
 % |     A English Resume Example in LaTeX based on resumecls
 % |
@@ -27,7 +27,7 @@
 \begin{table}
 \maketitle
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\heading{Experience (Compacted version)}
+\heading{Experience (Compact Version)}
 \entry{0em}{Xlr}{{\bfseries Organization} \quad Department & Position & Time Period}
 \entry{2em}{X}{%
     Description1 \\
@@ -83,9 +83,19 @@
 }
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % If there is no publications, just comment this part.
-\heading{Appendix: Publications}
+\heading{Publications}
 \vspace{-6em}
 \bibliography{resume}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Sample for two or more pages.
 \end{table}
+\clearpage
+\begin{table}
+\heading{Heading for Page 2}
+\entry{0em}{X}{
+    Each page is enclosed inside a table environment. \\
+    \verb|\clearpage| between the tables will lead to a new page. \\
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{table}
 \end{document}

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex	2020-04-20 21:11:31 UTC (rev 54815)
@@ -4,7 +4,7 @@
 % | Author: huxuan
 % | E-mail: i(at)huxuan.org
 % | Created: 2012-12-18
-% | Last modified: 2020-04-16
+% | Last modified: 2020-04-20
 % | Description:
 % |     A Chinese Resume Example in LaTeX based on resumecls
 % |
@@ -82,10 +82,20 @@
     标签2 & 标签对应内容 \\
 }
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% 如果不需要发表成果,注释这一段即可
-\heading{附:发表成果}
+% 如果不需要发表成果,注释这一段即可。
+\heading{发表成果}
 \vspace{-6em}
 \bibliography{resume}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% 两页或者多页的示例。
 \end{table}
+\clearpage
+\begin{table}
+\heading{第二页小标题}
+\entry{0em}{X}{
+    每个页面都包含在一个 table 环境中。 \\
+    表格之间的 \verb|\clearpage| 会新建一个页面。 \\
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{table}
 \end{document}

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

Modified: trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile	2020-04-20 21:11:31 UTC (rev 54815)
@@ -3,7 +3,7 @@
 # | Author: huxuan
 # | E-mail: i(at)huxuan.org
 # | Created: 2012-12-18
-# | Last modified: 2020-04-16
+# | Last modified: 2020-04-20
 # | Description:
 # |     Makefile for resumecls
 # |
@@ -12,7 +12,7 @@
 
 PACKAGE=resumecls
 
-.PHONY: all cls doc clean distclean dist
+.PHONY: all cls doc dist clean distclean
 
 all: doc
 
@@ -34,8 +34,14 @@
 	xelatex $(PACKAGE).dtx
 	xelatex $(PACKAGE).dtx
 
-# clean & distclean
+# dist & clean
 
+dist: distclean cls doc
+	mv $(PACKAGE).cls example/
+	cd example && make dist
+	cd .. && find $(PACKAGE) -name '*.pdf' | tar zcvf $(PACKAGE).tar.gz \
+		-T - --exclude-vcs --exclude-vcs-ignores $(PACKAGE)
+
 clean:
 	- at rm -f \
 		*~ \
@@ -56,8 +62,3 @@
 		*.cls \
 		*.pdf \
 		*.tar.gz
-
-dist: distclean cls doc
-	touch $(PACKAGE).tar.gz
-	tar zcvf $(PACKAGE).tar.gz *.pdf --exclude=$(PACKAGE).tar.gz \
-		--exclude-vcs --exclude-vcs-ignores  .

Modified: trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx	2020-04-20 21:11:31 UTC (rev 54815)
@@ -27,7 +27,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}
 %<class>\ProvidesClass{resumecls}
 %<*class>
-    [2020/04/16 v0.4.0 Hello 2020]
+    [2020/04/20 v0.4.1 Minor fix with enhanced examples]
 %</class>
 %
 %<*driver>
@@ -110,6 +110,7 @@
 % \changes{v0.3.1}{2015/09/20}{Compatible with TeXLive 2015 now}
 % \changes{v0.3.2}{2015/09/21}{Welcome, contributors}
 % \changes{v0.4.0}{2020/04/16}{Hello 2020}
+% \changes{v0.4.1}{2020/04/20}{Minor fix with enhanced examples}
 %
 % \GetFileInfo{\jobname.dtx}
 %
@@ -359,8 +360,8 @@
 %
 % Since the document generated from \resumecls is just a bunch of tables, it is
 % prettey straightfoward to enclose the contents in multiple table environments
-% and use |\newpage| to split them into multiple pages. A minimal example looks
-% like the following:
+% and use |\clearpage| to split them into multiple pages. A minimal example
+% looks like the following:
 %
 % \iffalse
 %<*lst>
@@ -369,7 +370,7 @@
 \begin{table}
 Contents for Page 1
 \end{table}
-\newpage
+\clearpage
 \begin{table}
 Contents for Page 2
 \end{table}

Modified: trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls	2020-04-20 21:11:13 UTC (rev 54814)
+++ trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls	2020-04-20 21:11:31 UTC (rev 54815)
@@ -28,7 +28,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{resumecls}
-    [2020/04/16 v0.4.0 Hello 2020]
+    [2020/04/20 v0.4.1 Minor fix with enhanced examples]
 \newif\ifrclscolor\rclscolorfalse
 \DeclareOption{color}{\rclscolortrue}
 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}}



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