texlive[54768] Master/texmf-dist: resumecls (16apr20)
commits+karl at tug.org
commits+karl at tug.org
Thu Apr 16 23:00:35 CEST 2020
Revision: 54768
http://tug.org/svn/texlive?view=revision&revision=54768
Author: karl
Date: 2020-04-16 23:00:35 +0200 (Thu, 16 Apr 2020)
Log Message:
-----------
resumecls (16apr20)
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/resumecls.dtx
trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins
trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls
Added Paths:
-----------
trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex
trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/xelatex/resumecls/Makefile
trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk
trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk
Deleted: trunk/Master/texmf-dist/doc/xelatex/resumecls/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/Makefile 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/Makefile 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,56 +0,0 @@
-# +-----------------------------------------------------------------------------
-# | File: Makefile
-# | Author: huxuan
-# | E-mail: i(at)huxuan.org
-# | Created: 2012-12-18
-# | Last modified: 2013-03-17
-# | Description:
-# | Makefile for resumecls
-# |
-# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
-# +-----------------------------------------------------------------------------
-
-PACKAGE=resumecls
-
-.PHONY: all cls doc clean distclean
-
-all: doc
-
-# cls
-
-cls: $(PACKAGE).cls
-
-$(PACKAGE).cls: $(PACKAGE).ins $(PACKAGE).dtx
- latex $(PACKAGE).ins
-
-# doc
-
-doc: $(PACKAGE).pdf
-
-$(PACKAGE).pdf: $(PACKAGE).cls
- 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 $(PACKAGE).dtx
-
-# clean & distclean
-
-clean:
- - at rm -f \
- *~ \
- *.aux \
- *.bbl \
- *.blg \
- *.dvi \
- *.glo \
- *.gls \
- *.idx \
- *.ilg \
- *.ind \
- *.log \
- *.out
-
-distclean: clean
- - at rm -f \
- *.cls
Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/README.md 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,19 +1,28 @@
-# resumecls / [CTAN mirror](http://www.ctan.org/pkg/resumecls)
+# resumecls
-A LaTeX cls to typeset resume both in English and Chinese
+A LaTeX document class to typeset a resume or cv both in English and Chinese with more ease and flexibility.
-# Usage / How to get it
+## Installation
-- [`resumecls`](http://www.ctan.org/pkg/resumecls) has already been included in [CTAN](http://www.ctan.org/) Mirror.
-- To get the cls file you only need to update local CTAN Packages.
-- For how to use it you can refer to [`resumecls-example`](https://github.com/huxuan/resumecls-example) repo.
+Since [`resumecls`](http://www.ctan.org/pkg/resumecls) is included in the CTAN.
+You can install it by any package managers.
-## Manual Compile
+Take `tlgmr` as example,
-To get the cls file and document manually, you can make it either by Makefile or LaTeX command
+```shell
+tlmgr install resumecls
+```
-### Compile by Makefile (Recommended if your os supported)
+## Usage / Examples
+please refer to [`resumecls-example`](https://github.com/huxuan/resumecls-example).
+
+## Compile manually
+
+To get the document class file and document manually, you can compile via Makefile or LaTeX commands.
+
+### Compile by Makefile
+
#### Get resumecls.cls
```shell
make cls
@@ -24,19 +33,17 @@
make doc
```
-#### Clean
-Clean all generated files except for cls and pdf
+#### Clean intermediate generated files
```shell
make clean
```
-#### DistClean
-Clean all generated files
+#### Clean for distribution
```shell
make distclean
```
-### Compile by LaTeX command
+### Compile by LaTeX commands
#### 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-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile 2020-04-16 21:00:35 UTC (rev 54768)
@@ -3,17 +3,19 @@
# | Author: huxuan
# | E-mail: i(at)huxuan.org
# | Created: 2012-12-18
-# | Last modified: 2013-03-16
+# | Last modified: 2020-04-16
# | Description:
# | Makefile for resumecls examples
# |
-# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+# | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved.
# +-----------------------------------------------------------------------------
-include config.mk
-
.PHONY: resume resume-zh resume-en clean depclean
+RESUME=resume
+RESUMEZH=resume-zh
+RESUMEEN=resume-en
+
# resume
resume: resume-zh resume-en
Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/README.md 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,11 +1,10 @@
# resumecls-example
-Examples to typeset resume in both Chinese and English by using resumecls
+Examples to typeset resume both in Chinese and English with resumecls.
## Preview
-- [resume-en.pdf](https://github.com/huxuan/resumecls-example/blob/master/resume-en.pdf?raw=true)
-- [resume-zh.pdf](https://github.com/huxuan/resumecls-example/blob/master/resume-zh.pdf?raw=true)
+An online version for preview is available on [overleaf](https://www.overleaf.com/read/yrtmzwhtzwtz).
## Workflow
@@ -12,8 +11,8 @@
```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)
+# Modify resume-en.tex resume-en.tex resume.bib (bib is optional).
+# Compile via Makefile or LaTeX command (More info below).
```
## Compile
@@ -37,6 +36,6 @@
Notes:
-- To get English version, replace <resume> with 'resume-en'
-- To get Chinese version, replace <resume> with 'resume-zh'
-- If no bib info is needed, the first two steps can be passed
+- To get the English version, replace `<resume>` with 'resume-en'.
+- To get the Chinese version, replace `<resume>` with 'resume-zh'.
+- If no bib info is needed, the first two steps can be skipped.
Deleted: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,15 +0,0 @@
-# +-----------------------------------------------------------------------------
-# | File: config
-# | Author: huxuan
-# | E-mail: i(at)huxuan.org
-# | Created: 2012-12-18
-# | Last modified: 2013-03-16
-# | Description:
-# | Configuration for Makefile
-# |
-# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
-# +-----------------------------------------------------------------------------
-
-RESUME=resume
-RESUMEZH=resume-zh
-RESUMEEN=resume-en
Deleted: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,15 +0,0 @@
-# +-----------------------------------------------------------------------------
-# | File: config
-# | Author: huxuan
-# | E-mail: i(at)huxuan.org
-# | Created: 2012-12-18
-# | Last modified: 2013-03-11
-# | Description:
-# | Configuration for Makefile
-# |
-# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
-# +-----------------------------------------------------------------------------
-
-RESUME=resume
-RESUMEZH=resume-zh
-RESUMEEN=resume-en
Added: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex 2020-04-16 21:00:35 UTC (rev 54768)
@@ -0,0 +1,15 @@
+% !Mode:: "TeX:UTF-8"
+% +-----------------------------------------------------------------------------
+% | File: resume-common.tex
+% | Author: huxuan
+% | E-mail: i(at)huxuan.org
+% | Created: 2020-04-16
+% | Last modified: 2020-04-16
+% | Description:
+% | Common information to typeset resume with resumecls
+% |
+% | Copyright (c) 2020-2020 by huxuan. All rights reserved.
+% +-----------------------------------------------------------------------------
+\mobile{+XX XXX XXXX XXXX}
+\mail{i at example.com}
+\homepage{http://example.com}
Property changes on: trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
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-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex 2020-04-16 21:00:35 UTC (rev 54768)
@@ -4,99 +4,88 @@
% | Author: huxuan
% | E-mail: i(at)huxuan.org
% | Created: 2012-12-18
-% | Last modified: 2013-03-16
+% | Last modified: 2020-04-16
% | Description:
% | A English Resume Example in LaTeX based on resumecls
% |
-% | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+% | Copyright (c) 2012-2020 by huxuan. All rights reserved.
% +-----------------------------------------------------------------------------
\documentclass[color]{resumecls}
-\ctexset{today=old}
+\include{resume-common}
\name{Name}
-\organization{unit, school or organization}
-\address{address, zip code}
-\mobile{+1 XXX XXXX XXXX}
-\mail{i at example.com}
-\homepage{http://example.com}
+\organization{School or Organization}
+\address{Address, Zip Code}
\leftfooter{Last Modified: \today}
\rightfooter{\url{http://example.com/resume-en.pdf}}
+\ctexset{today=old}
+
\begin{document}
-
\begin{table}
-
\maketitle
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Experience (Compacted version)}
+\entry{0em}{Xlr}{{\bfseries Organization} \quad Department & Position & Time Period}
+\entry{2em}{X}{%
+ Description1 \\
+ Description2 \\
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Education}
-\entry{2em}{Xrp{8em}}{%
- \heiti{School} & City & Time Period \\
+\entry{0em}{Xrr}{{\bfseries School} & City & Time Period}
+\entry{2em}{lXX}{%
+ Degree1 & College1 & Major1 \\
+ Degree2 & College2 & Major2 \\
}
-\entry{4em}{lXX}{%
- Degree & College of XXX & Major in XX \\
-}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Research Experience}
-\entry{2em}{Xp{8em}}{%
- \heiti{Insitute} & Time Period \\
+\entry{0em}{Xr}{{\bfseries Insitute} & Time Period}
+\entry{2em}{X}{Lab \quad Position}
+\entry{4em}{X}{%
+ Description \\
+ bibtex can be used here, like \cite{label} \\
}
-\entry{4em}{X}{Lab \quad Position}
-\entry{6em}{X}{%
- Research Fields and Specific Content \\
- Publication (You can also use bibtex, like \cite{label}, see end of doc) \\
-}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Working Experience}
-\entry{2em}{Xp{8em}}{%
- \heiti{Unit} & Time Period \\
+\entry{0em}{Xr}{{\bfseries Organization} & Time Period}
+\entry{2em}{X}{Department \quad Position}
+\entry{4em}{X}{%
+ Description \\
}
-\entry{4em}{X}{Department \quad Position}
-\entry{6em}{X}{%
- Specific Issues Responsible for \\
- Specific Content of Your Work \\
-}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{School Experience}
-\entry{2em}{Xp{8em}}{%
- Experience 1 & Time Period \\
- Experience 2 & Time Period \\
+\entry{0em}{Xr}{%
+ Experience1 & Time Period \\
+ Experience2 & Time Period \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Awards}
-\entry{2em}{Xr}{%
- Award 1 & Time \\
- Award 2 & Time \\
+\entry{0em}{Xr}{%
+ Award1 & Time \\
+ Award2 & Time \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Professional Skill}
-\entry{2em}{lX}{%
+\entry{0em}{lX}{%
Proficient in & XXX \\
Experienced in & XXX \\
Familiar with & XXX \\
Use & XXX \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Other listings, such as hobby, network profile and so on}
-\entry{2em}{lX}{%
- Label 1 & Content 1 \\
- Label 2 & Content 2 \\
+\entry{0em}{lX}{%
+ Label1 & Content1 \\
+ Label2 & Content2 \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% If there is no publications, just comment this part.
\heading{Appendix: Publications}
\vspace{-6em}
\bibliography{resume}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,102 +1,91 @@
% !Mode:: "TeX:UTF-8"
% +-----------------------------------------------------------------------------
-% | File: resume-zh
+% | File: resume-zh.tex
% | Author: huxuan
% | E-mail: i(at)huxuan.org
% | Created: 2012-12-18
-% | Last modified: 2013-03-16
+% | Last modified: 2020-04-16
% | Description:
% | A Chinese Resume Example in LaTeX based on resumecls
% |
-% | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+% | Copyright (c) 2012-2020 by huxuan. All rights reserved.
% +-----------------------------------------------------------------------------
\documentclass[color]{resumecls}
-\ctexset{today=small}
+\include{resume-common}
\name{姓名}
\organization{单位、学校或组织}
\address{地址,邮编}
-\mobile{+86 XXX XXXX XXXX}
-\mail{i at example.com}
-\homepage{http://example.com}
\leftfooter{最后更新: \today}
\rightfooter{\url{http://example.com/resume-zh.pdf}}
+\ctexset{today=small}
+
\begin{document}
-
\begin{table}
-
\maketitle
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{经历(紧凑版)}
+\entry{0em}{Xlr}{{\bfseries 组织} \quad 部门 & 职位 & 起止时间}
+\entry{2em}{X}{%
+ 描述1 \\
+ 描述2 \\
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{教育经历}
-\entry{2em}{Xrp{8em}}{%
- \heiti{学校} & 城市 & 起止时间 \\
+\entry{0em}{Xrr}{{\bfseries 学校} & 城市 & 起止时间}
+\entry{2em}{lXX}{%
+ 学位1 & 学院1 & 专业1 \\
+ 学位2 & 学院2 & 专业2 \\
}
-\entry{4em}{lXX}{%
- 学位 & XX学院 & XX专业 \\
-}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{科研经历}
-\entry{2em}{Xp{8em}}{%
- \heiti{地点} & 起止时间 \\
+\entry{0em}{Xr}{{\bfseries 地点} & 起止时间}
+\entry{2em}{X}{实验室 \quad 职位}
+\entry{4em}{X}{%
+ 描述 \\
+ 这里可以使用bibtex,如\cite{label} \\
}
-\entry{4em}{X}{实验室名称 \quad 职位}
-\entry{6em}{X}{%
- 研究方向和具体内容 \\
- 发表成果(亦可使用bibtex,像这样\cite{label},见文档最后注释内容) \\
-}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{工作经历}
-\entry{2em}{Xp{8em}}{%
- \heiti{单位名称} & 起止时间 \\
+\entry{0em}{Xr}{{\bfseries 组织} & 起止时间}
+\entry{2em}{X}{部门 \quad 职位}
+\entry{4em}{X}{%
+ 描述 \\
}
-\entry{4em}{X}{部门 \quad 职位}
-\entry{6em}{X}{%
- 负责的具体事项 \\
- 工作的具体内容 \\
-}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{校园经历}
-\entry{2em}{Xp{8em}}{%
+\entry{0em}{Xr}{%
经历1 & 起止时间 \\
经历2 & 起止时间 \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{获得荣誉}
-\entry{2em}{Xr}{%
+\entry{0em}{Xr}{%
荣誉1 & 颁发时间 \\
荣誉2 & 颁发时间 \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{专业技能}
-\entry{2em}{lX}{%
+\entry{0em}{lX}{%
精通 & XXX \\
熟悉 & XXX \\
掌握 & XXX \\
使用 & XXX \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{其他列举事项-如个人爱好,网络资料等}
-\entry{2em}{lX}{%
+\entry{0em}{lX}{%
标签1 & 标签对应内容 \\
标签2 & 标签对应内容 \\
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 如果不需要发表成果,注释这一段即可
\heading{附:发表成果}
\vspace{-6em}
\bibliography{resume}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{table}
\end{document}
Modified: trunk/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile (rev 0)
+++ trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile 2020-04-16 21:00:35 UTC (rev 54768)
@@ -0,0 +1,63 @@
+# +-----------------------------------------------------------------------------
+# | File: Makefile
+# | Author: huxuan
+# | E-mail: i(at)huxuan.org
+# | Created: 2012-12-18
+# | Last modified: 2020-04-16
+# | Description:
+# | Makefile for resumecls
+# |
+# | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved.
+# +-----------------------------------------------------------------------------
+
+PACKAGE=resumecls
+
+.PHONY: all cls doc clean distclean dist
+
+all: doc
+
+# cls
+
+cls: $(PACKAGE).cls
+
+$(PACKAGE).cls: $(PACKAGE).ins $(PACKAGE).dtx
+ latex $(PACKAGE).ins
+
+# doc
+
+doc: $(PACKAGE).pdf
+
+$(PACKAGE).pdf: $(PACKAGE).cls
+ 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 $(PACKAGE).dtx
+
+# clean & distclean
+
+clean:
+ - at rm -f \
+ *~ \
+ *.aux \
+ *.bbl \
+ *.blg \
+ *.dvi \
+ *.glo \
+ *.gls \
+ *.idx \
+ *.ilg \
+ *.ind \
+ *.log \
+ *.out
+
+distclean: clean
+ - at rm -f \
+ *.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 .
Property changes on: trunk/Master/texmf-dist/source/xelatex/resumecls/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% resumecls.dtx
-% Copyright (C) 2012-2015 by huxuan <i at huxuan.org>
+% Copyright (C) 2012-2020 by huxuan <i at huxuan.org>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -24,10 +24,10 @@
%<*driver>
\ProvidesFile{\jobname.dtx}
%</driver>
-%<class>\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\ProvidesClass{resumecls}
%<*class>
- [2015/09/21 v0.3.2 Welcome, contributors]
+ [2020/04/16 v0.4.0 Hello 2020]
%</class>
%
%<*driver>
@@ -81,7 +81,7 @@
%</driver>
% \fi
%
-% \CheckSum{124}
+% \CheckSum{123}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -109,6 +109,7 @@
% \changes{v0.3}{2013/06/17}{Long time no see, resumecls}
% \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}
%
% \GetFileInfo{\jobname.dtx}
%
@@ -135,23 +136,23 @@
% \maketitle
%
% \begin{abstract}
-% \resumecls is a \LaTeX cls making typeseting a resume or cv in both English
-% and Chinese more easily.
+% \resumecls is a document class to typeset a resume or cv both in English and
+% Chinese with more ease and flexibility.
% \end{abstract}
%
% \section{Introduction}
%
-% There do exist many resume cls already. But from my experience, most of them
-% are too complicated or lack of flexibility.
+% There do exist many resume document classes already. But from my experience,
+% most of them are a little bit complicated or lack of flexibility.
%
% \resumecls make all contents consists of heading/entry based on tabularx.
-% You can easily design the style and many recommended ones are also listed
-% in example files.
+% You can easily design the style and some recommended patterns are also listed
+% in the example.
%
-% What's more, \resumecls already has ctex package imported which means it
-% support Chinese natively. The example-zh.tex and example-en.tex is almost
-% the same (in \LaTeX{} code, not the content). You need no more work
-% to make your resume both in English and Chinese.
+% What's more, \resumecls has CTeX intergated which means it support Chinese
+% natively. The example tex files for both English and Chinese are almost the
+% same except for the actual content. You can just focus on the content and
+% have your resume both in English and Chinese with no more work.
%
% \section{Usage}
%
@@ -159,7 +160,7 @@
% The heading part for each section.
%
% \DescribeMacro{\entry}
-% All contents except for heading.
+% All entry-like contents except for the heading.
%
% \DescribeMacro{\name}
% Your Name.
@@ -168,22 +169,22 @@
% Your unit, shcool or organization.
%
% \DescribeMacro{\address}
-% Your address and zip code.
+% Your address and possibily with zip code.
%
% \DescribeMacro{\mobile}
% Your phone number.
%
% \DescribeMacro{\mail}
-% Your mail address.
+% Your email address.
%
% \DescribeMacro{\homepage}
% Your homepage.
%
% \DescribeMacro{\leftfooter}
-% The content you want to put at left footer. Feel free to leave it blank.
+% The content you want to put at left footer. Feel free to leave it empty.
%
% \DescribeMacro{\rightrfooter}
-% The content you want to put at right footer. Feel free to leave it blank.
+% The content you want to put at right footer. Feel free to leave it empty.
%
% \StopEventually{\PrintChanges\PrintIndex}
%
@@ -197,9 +198,9 @@
%
% \subsection{Import article class}
% \begin{macrocode}
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}}
\ProcessOptions\relax
-\LoadClass[a4paper,12pt]{article}
+\LoadClass[a4paper,12pt]{ctexart}
% \end{macrocode}
%
% \subsection{Import packages}
@@ -206,7 +207,6 @@
% \begin{macrocode}
\RequirePackage[top=.5in,bottom=.5in,left=.5in,right=.5in]{geometry}
\RequirePackage[xetex,unicode]{hyperref}
-\RequirePackage[noindent]{ctex}
\RequirePackage{tabularx}
\RequirePackage{color}
\RequirePackage{fancyhdr}
@@ -324,9 +324,9 @@
% \begin{macrocode}
\renewcommand{\maketitle}{%
\entry{0em}{Xr}{%
- \bfseries\zihao{4}\rclsname & \rclsmobile \\
- \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\
- \rclsaddress & \url{\rclshomepage} \\
+ \bfseries\zihao{4}\rclsname & \rclsmobile \\
+ \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\
+ \rclsaddress & \url{\rclshomepage} \\
}
}
% \end{macrocode}
@@ -351,30 +351,16 @@
%
% \subsubsection{Font settings}
%
-% Cause we recommend use Xe\LaTeX{} to compile, so you can easily setting
-% the font to whatever you like only if it exists on you computer.
-% Just add something like following code before |\begin{document}|.
+% Since we use Xe\LaTeX{} and CTeX, everything should be fine with no extra
+% configuration. But if you dedicated to, you can change the font as you like
+% only if Xe\LaTeX{} or CTeX supported.
%
-% \iffalse
-%<*lst>
-% \fi
-\begin{lstlisting}
-\setmainfont{Times New Roman}
-\setCJKmainfont[BoldFont=(*黑体*)]{(*宋体*)}
-\end{lstlisting}
-% \iffalse
-%</lst>
-% \fi
-%
% \subsubsection{Multiple pages}
%
-% Currently, \resumecls doesn't support multiple pages very well. Before
-% showing the method for customization I want you relize that only one page
-% for resume is enough. \resumecls use |\begin{table}| and |\end{table}| to
-% enclose all contents so that the whole resume will be limited in one page.
-% But if you really want to have multiple pages, you can set multiple table
-% environments in your tex file and judge the place for new page yourself.
-% the code within document environment for two pages resume will looks like:
+% 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:
%
% \iffalse
%<*lst>
@@ -394,9 +380,8 @@
%
% \section{Contributors}
%
-% \begin{itemize}
-% \item \href{https://github.com/idear1203}{IDEAR <idear1203 at github>}
-% \end{itemize}
+% Please refer to
+% \href{https://github.com/huxuan/resumecls/graphs/contributors}{Contributors}.
%
% \Finale
\endinput
Modified: trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins 2020-04-16 21:00:35 UTC (rev 54768)
@@ -1,5 +1,5 @@
%% resumecls.ins
-%% Copyright (C) 2012-2015 by huxuan <i at huxuan.org>
+%% Copyright (C) 2012-2020 by huxuan <i at huxuan.org>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -25,7 +25,7 @@
This is a generated file.
-Copyright (C) 2012-2015 by huxuan <i at huxuan.org>
+Copyright (C) 2012-2020 by huxuan <i at huxuan.org>
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/tex/xelatex/resumecls/resumecls.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls 2020-04-16 21:00:13 UTC (rev 54767)
+++ trunk/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls 2020-04-16 21:00:35 UTC (rev 54768)
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2012-2015 by huxuan <i at huxuan.org>
+%% Copyright (C) 2012-2020 by huxuan <i at huxuan.org>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -26,17 +26,16 @@
%% and the derived file resumecls.cls.
%%
-\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{resumecls}
- [2015/09/21 v0.3.2 Welcome, contributors]
+ [2020/04/16 v0.4.0 Hello 2020]
\newif\ifrclscolor\rclscolorfalse
\DeclareOption{color}{\rclscolortrue}
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}}
\ProcessOptions\relax
-\LoadClass[a4paper,12pt]{article}
+\LoadClass[a4paper,12pt]{ctexart}
\RequirePackage[top=.5in,bottom=.5in,left=.5in,right=.5in]{geometry}
\RequirePackage[xetex,unicode]{hyperref}
-\RequirePackage[noindent]{ctex}
\RequirePackage{tabularx}
\RequirePackage{color}
\RequirePackage{fancyhdr}
@@ -79,9 +78,9 @@
}
\renewcommand{\maketitle}{%
\entry{0em}{Xr}{%
- \bfseries\zihao{4}\rclsname & \rclsmobile \\
- \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\
- \rclsaddress & \url{\rclshomepage} \\
+ \bfseries\zihao{4}\rclsname & \rclsmobile \\
+ \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\
+ \rclsaddress & \url{\rclshomepage} \\
}
}
\pagestyle{fancy}
More information about the tex-live-commits
mailing list.