Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update resumecls.dtx #4

Merged
merged 1 commit into from
Sep 20, 2015
Merged

update resumecls.dtx #4

merged 1 commit into from
Sep 20, 2015

Conversation

idear1203
Copy link
Contributor

texlive2015的ctex根据用户操作系统选择字体。无需指定adobefonts。否则在mac下编译出错,信息如下:

*************************************************
* xeCJK warning: "no-CJKfamily"
*
* It seems that you have not declare a CJKfamily.
* If you want to use xeCJK in the right way, you should use
*
* `\setCJKmainfont[...]{...}'
*
* in the preamble to declare the default CJKfamily.
*
*************************************************

LaTeX Warning: Unused global option(s):
    [en].

No file resume-en.aux.
(/usr/local/texlive/2015/texmf-dist/tex/latex/tipa/t3cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))

Package hyperref Warning: Rerun to get /PageLabels entry.

ABD: EverySelectfont initializing macros
(/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmtt.fd)
Underfull \hbox (badness 10000) in paragraph at lines 31--32

! Undefined control sequence.
<inserted text> {@{\hspace {2em}}Xrp{8em}} \heiti
                                                  {School} & City & Time Per...
l.37 }

?

@huxuan
Copy link
Owner

huxuan commented Sep 19, 2015

Hi @idear1203, thanks for your attention. I do admit that the adobefonts is not necessary, but I am a little curious about the log you provided, it's said that \heiti is an undefined control sequence, I don't think this is related to adobefonts parameter. Can you help me to confirm whether this error is fixed with adobefonts removed?

@idear1203
Copy link
Contributor Author

Hi @huxuan ,

after removing adobefonts parameter, my compilation get successful.

My compilation was successful using texLive 2014, but it failed after updating texLive to the latest version.

Do you remember someone contacting you several days earlier through weibo? He's my classmate. Now he has also solved the same problem using my solution.

Here are some clues:

Contents in the same folder of version 2014 and 2015 are different:

2014:

$ pwd
/usr/local/texlive/2014/texmf-dist/tex/latex/ctex/fontset
$ ls
ctex-cjk-adobefonts.def   ctex-cjk-winfonts.def     ctex-xecjk-adobefonts.def ctex-xecjk-winfonts.def

2015:

$ pwd
/usr/local/texlive/2015/texmf-dist/tex/latex/ctex/fontset
$ ls
ctex-fontset-adobe.def      ctex-fontset-mac.def        ctex-fontset-windowsnew.def
ctex-fontset-fandol.def     ctex-fontset-ubuntu.def     ctex-fontset-windowsold.def
ctex-fontset-founder.def    ctex-fontset-windows.def

Notice there is a file named ctex-fontset-adobe.def. I do think there should exist a way that you can choose adobefonts. Luckily, I find it in the official document. However, this is not recommended according to official document.

As here says, you can manually choose adobe fonts in this way:

\RequirePackage[noindent, fontset=adobe]{ctex}

instead of

\RequirePackage[noindent, adobefonts]{ctex}

I try it out, and get successful compilation. That means I'm able to generate resume-zh.pdf.

Then I find the real answer here. The option adobefonts is out of date.

@huxuan
Copy link
Owner

huxuan commented Sep 20, 2015

Great thanks for you detailed explanation. I will update ctan package as soon as possible.

huxuan added a commit that referenced this pull request Sep 20, 2015
Remove redundant `adobefonts` parameter. Thanks @idear1203.
@huxuan huxuan merged commit 78e5f2e into huxuan:master Sep 20, 2015
@huxuan
Copy link
Owner

huxuan commented Sep 21, 2015

Just for update: http://ctan.org/pkg/resumecls
Wish you won't mind I have list your name and github link in the document. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants