summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-20 21:11:31 +0000
committerKarl Berry <karl@freefriends.org>2020-04-20 21:11:31 +0000
commitf84b6e8b6b238868bbf4cdaa80c02d90b8928555 (patch)
tree8bcfdef8a20452f2da7625fc35a3e08bb00eb9d6 /Master
parenta67c9f6385f3bc709a9b1083aba37ac2b0e64e6b (diff)
resumecls (20apr20)
git-svn-id: svn://tug.org/texlive/trunk@54815 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/README.md14
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/example/Makefile10
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/example/README.md14
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdfbin24081 -> 25042 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex16
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdfbin61067 -> 68834 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex16
-rw-r--r--Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdfbin67113 -> 66700 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/resumecls/Makefile17
-rw-r--r--Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx9
-rw-r--r--Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls2
11 files changed, 65 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/README.md b/Master/texmf-dist/doc/xelatex/resumecls/README.md
index 16be555bfb5..7fb713493e7 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/README.md
+++ b/Master/texmf-dist/doc/xelatex/resumecls/README.md
@@ -2,7 +2,13 @@
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 @@ tlmgr install resumecls
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 clean
make distclean
```
-### Compile by LaTeX commands
+### LaTeX
#### Get resumecls.cls
```shell
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile b/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile
index 01be9090da4..4c49977fddd 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile
+++ b/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile
@@ -3,14 +3,14 @@
# | 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
# |
# | 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,7 +44,9 @@ $(RESUMEEN).bbl: $(RESUME).bib
xelatex $(RESUMEEN).tex
-bibtex $(RESUMEEN)
-# clean & depclean
+# dist & clean
+
+dist: distclean resume
clean:
-@rm -f \
@@ -55,6 +57,6 @@ clean:
*.log \
*.out
-depclean: clean
+distclean: clean
-@rm -f \
*.pdf
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/README.md b/Master/texmf-dist/doc/xelatex/resumecls/example/README.md
index 07c17e5b173..4531a5933c2 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/example/README.md
+++ b/Master/texmf-dist/doc/xelatex/resumecls/example/README.md
@@ -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
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf
index 6df6d32a8a9..115519030fa 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf
+++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex
index 899fa8cb0cd..e14b37ee1ef 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex
+++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex
@@ -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}
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf
index d492d9efaa1..676da72ba0d 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf
+++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex
index b778648bc31..cc272e2c561 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex
+++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex
@@ -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}
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf b/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf
index 6d9adc5753d..85cd70b4f20 100644
--- a/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf
+++ b/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/resumecls/Makefile b/Master/texmf-dist/source/xelatex/resumecls/Makefile
index 00d76be301d..dff99d44cd9 100644
--- a/Master/texmf-dist/source/xelatex/resumecls/Makefile
+++ b/Master/texmf-dist/source/xelatex/resumecls/Makefile
@@ -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,7 +34,13 @@ $(PACKAGE).pdf: $(PACKAGE).cls
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:
-@rm -f \
@@ -56,8 +62,3 @@ distclean: clean
*.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 .
diff --git a/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx b/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx
index a71405307af..e8ce58498bb 100644
--- a/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx
+++ b/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx
@@ -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}
diff --git a/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls b/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls
index 56d5a3a505e..85f14ce4138 100644
--- a/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls
+++ b/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls
@@ -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}}