From 7c7be827c2068be528056c5f516ed9f14f35883e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Jun 2015 21:21:16 +0000 Subject: resumecls (16jun15) git-svn-id: svn://tug.org/texlive/trunk@37570 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/resumecls/README | 53 --------------------- Master/texmf-dist/doc/xelatex/resumecls/README.md | 53 +++++++++++++++++++++ .../doc/xelatex/resumecls/example/Makefile | 4 +- .../doc/xelatex/resumecls/example/resume-en.pdf | Bin 25335 -> 25253 bytes .../doc/xelatex/resumecls/example/resume-en.tex | 25 +++++----- .../doc/xelatex/resumecls/example/resume-zh.pdf | Bin 55175 -> 55228 bytes .../doc/xelatex/resumecls/example/resume-zh.tex | 25 +++++----- .../texmf-dist/doc/xelatex/resumecls/resumecls.pdf | Bin 73667 -> 71848 bytes 8 files changed, 83 insertions(+), 77 deletions(-) delete mode 100644 Master/texmf-dist/doc/xelatex/resumecls/README create mode 100644 Master/texmf-dist/doc/xelatex/resumecls/README.md (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/xelatex/resumecls/README b/Master/texmf-dist/doc/xelatex/resumecls/README deleted file mode 100644 index 1a38bc3d83a..00000000000 --- a/Master/texmf-dist/doc/xelatex/resumecls/README +++ /dev/null @@ -1,53 +0,0 @@ -# resumecls / [CTAN mirror](http://www.ctan.org/pkg/resumecls) - -A LaTeX cls to typeset resume both in English and Chinese - -# Usage / How to get it - -- [`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. - -## Mnaual Compile - -To get the cls file and document manually, you can make it either by Makefile or LaTeX command - -### Compile by Makefile (Recommended if your os supported) - -#### Get resumecls.cls -```shell -make cls -``` - -#### Get resumecls.pdf -```shell -make doc -``` - -#### Clean -Clean all generated files except for cls and pdf -```shell -make clean -``` - -#### DistClean -Clean all generated files -```shell -make distclean -``` - -### Compile by LaTeX command - -#### Get resumecls.cls -```shell -latex resumecls.ins -``` - -#### Get resumecls.pdf -```shell -xelatex resumecls.dtx -makeindex -s gind.ist -o resumecls.ind resumecls.idx -makeindex -s gglo.ist -o resumecls.gls resumecls.glo -xelatex resumecls.dtx -xelatex resumecls.dtx -``` diff --git a/Master/texmf-dist/doc/xelatex/resumecls/README.md b/Master/texmf-dist/doc/xelatex/resumecls/README.md new file mode 100644 index 00000000000..f9f39c8da4e --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/resumecls/README.md @@ -0,0 +1,53 @@ +# resumecls / [CTAN mirror](http://www.ctan.org/pkg/resumecls) + +A LaTeX cls to typeset resume both in English and Chinese + +# Usage / How to get it + +- [`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. + +## Manual Compile + +To get the cls file and document manually, you can make it either by Makefile or LaTeX command + +### Compile by Makefile (Recommended if your os supported) + +#### Get resumecls.cls +```shell +make cls +``` + +#### Get resumecls.pdf +```shell +make doc +``` + +#### Clean +Clean all generated files except for cls and pdf +```shell +make clean +``` + +#### DistClean +Clean all generated files +```shell +make distclean +``` + +### Compile by LaTeX command + +#### Get resumecls.cls +```shell +latex resumecls.ins +``` + +#### Get resumecls.pdf +```shell +xelatex resumecls.dtx +makeindex -s gind.ist -o resumecls.ind resumecls.idx +makeindex -s gglo.ist -o resumecls.gls resumecls.glo +xelatex resumecls.dtx +xelatex resumecls.dtx +``` diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile b/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile index 110a0491b77..d64ce858012 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile @@ -26,7 +26,7 @@ $(RESUMEZH).pdf: $(RESUMEZH).tex $(RESUMEZH).bbl xelatex $(RESUMEZH).tex xelatex $(RESUMEZH).tex -$(RESUMEZH).bbl: +$(RESUMEZH).bbl: $(RESUME).bib xelatex $(RESUMEZH).tex -bibtex $(RESUMEZH) @@ -38,7 +38,7 @@ $(RESUMEEN).pdf: $(RESUMEEN).tex $(RESUMEEN).bbl xelatex $(RESUMEEN).tex xelatex $(RESUMEEN).tex -$(RESUMEEN).bbl: +$(RESUMEEN).bbl: $(RESUME).bib xelatex $(RESUMEEN).tex -bibtex $(RESUMEEN) 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 c4bc9a473c6..e8ff0ad83d6 100644 Binary files a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf and b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf 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 7cf84171879..d370f3e2a39 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex @@ -13,13 +13,16 @@ \documentclass[en,color]{resumecls} +\CTEXoptions[today=old] + \name{Name} \organization{unit, school or organization} \address{address, zip code} \mobile{+1 XXX XXXX XXXX} \mail{i@example.com} \homepage{http://example.com} -\resumeurl{http://example.com/resume-en.pdf} +\leftfooter{Last Modified: \today} +\rightfooter{\url{http://example.com/resume-en.pdf}} \begin{document} @@ -29,52 +32,52 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Education} -\entry{2em}{Xrp{8em}}{ +\entry{2em}{Xrp{8em}}{% \heiti{School} & City & Time Period \\ } -\entry{4em}{lXX}{ +\entry{4em}{lXX}{% Degree & College of XXX & Major in XX \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Research Experience} -\entry{2em}{Xp{8em}}{ +\entry{2em}{Xp{8em}}{% \heiti{Insitute} & Time Period \\ } \entry{4em}{X}{Lab \quad Position} -\entry{6em}{X}{ +\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}}{ +\entry{2em}{Xp{8em}}{% \heiti{Unit} & Time Period \\ } \entry{4em}{X}{Department \quad Position} -\entry{6em}{X}{ +\entry{6em}{X}{% Specific Issues Responsible for \\ Specific Content of Your Work \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{School Experience} -\entry{2em}{Xp{8em}}{ +\entry{2em}{Xp{8em}}{% Experience 1 & Time Period \\ Experience 2 & Time Period \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Awards} -\entry{2em}{Xr}{ +\entry{2em}{Xr}{% Award 1 & Time \\ Award 2 & Time \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Professional Skill} -\entry{2em}{lX}{ +\entry{2em}{lX}{% Proficient in & XXX \\ Experienced in & XXX \\ Familiar with & XXX \\ @@ -83,7 +86,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Other listings, such as hobby, network profile and so on} -\entry{2em}{lX}{ +\entry{2em}{lX}{% Label 1 & Content 1 \\ Label 2 & Content 2 \\ } 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 5021100af5f..e34db07be02 100644 Binary files a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf and b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf 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 f63d5320407..194d48b76c6 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex @@ -13,13 +13,16 @@ \documentclass[zh,color]{resumecls} +\CTEXoptions[today=small] + \name{姓名} \organization{单位、学校或组织} \address{地址,邮编} \mobile{+86 XXX XXXX XXXX} \mail{i@example.com} \homepage{http://example.com} -\resumeurl{http://example.com/resume-zh.pdf} +\leftfooter{最后更新: \today} +\rightfooter{\url{http://example.com/resume-zh.pdf}} \begin{document} @@ -29,52 +32,52 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{教育经历} -\entry{2em}{Xrp{8em}}{ +\entry{2em}{Xrp{8em}}{% \heiti{学校} & 城市 & 起止时间 \\ } -\entry{4em}{lXX}{ +\entry{4em}{lXX}{% 学位 & XX学院 & XX专业 \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{科研经历} -\entry{2em}{Xp{8em}}{ +\entry{2em}{Xp{8em}}{% \heiti{地点} & 起止时间 \\ } \entry{4em}{X}{实验室名称 \quad 职位} -\entry{6em}{X}{ +\entry{6em}{X}{% 研究方向和具体内容 \\ 发表成果(亦可使用bibtex,像这样\cite{label},见文档最后注释内容) \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{工作经历} -\entry{2em}{Xp{8em}}{ +\entry{2em}{Xp{8em}}{% \heiti{单位名称} & 起止时间 \\ } \entry{4em}{X}{部门 \quad 职位} -\entry{6em}{X}{ +\entry{6em}{X}{% 负责的具体事项 \\ 工作的具体内容 \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{校园经历} -\entry{2em}{Xp{8em}}{ +\entry{2em}{Xp{8em}}{% 经历1 & 起止时间 \\ 经历2 & 起止时间 \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{获得荣誉} -\entry{2em}{Xr}{ +\entry{2em}{Xr}{% 荣誉1 & 颁发时间 \\ 荣誉2 & 颁发时间 \\ } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{专业技能} -\entry{2em}{lX}{ +\entry{2em}{lX}{% 精通 & XXX \\ 熟悉 & XXX \\ 掌握 & XXX \\ @@ -83,7 +86,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{其他列举事项-如个人爱好,网络资料等} -\entry{2em}{lX}{ +\entry{2em}{lX}{% 标签1 & 标签对应内容 \\ 标签2 & 标签对应内容 \\ } diff --git a/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf b/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf index 5452bedcacf..5415ac9e0fc 100644 Binary files a/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf and b/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf differ -- cgit v1.2.3