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

Compiling error with Latex on Win7 #2

Closed
mrmiywj opened this issue Dec 14, 2015 · 4 comments
Closed

Compiling error with Latex on Win7 #2

mrmiywj opened this issue Dec 14, 2015 · 4 comments

Comments

@mrmiywj
Copy link

mrmiywj commented Dec 14, 2015

Error log:
Command Line: latex.exe --src --interaction=errorstopmode --synctex=1 "resume.tex"
Startup Folder: G:\resume-master

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(G:\resume-master\resume.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for loaded.
(G:\resume-master\resume.cls
Document Class: resume 2015/05/25 An elegant Résumé class
(D:\CTEX\MiKTeX\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(D:\CTEX\MiKTeX\tex\latex\base\size11.clo))
(D:\CTEX\MiKTeX\tex\latex\xltxtra\xltxtra.sty
(D:\CTEX\MiKTeX\tex\generic\oberdiek\ifluatex.sty)
(D:\CTEX\MiKTeX\tex\generic\ifxetex\ifxetex.sty)
!


  • XeTeX is required to compile this document.
  • Sorry!
    *******************************************.
    \RequireXeTeX ...**
    *****************************}
    \endgroup \fi
    l.26 \RequireXeTeX

?
(D:\CTEX\MiKTeX\tex\latex\fontspec\fontspec.sty
(D:\CTEX\MiKTeX\tex\latex\l3kernel\expl3.sty
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3names.sty
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3bootstrap.sty))
(D:\CTEX\MiKTeX\tex\latex\misc\etex.sty)
(D:\CTEX\MiKTeX\tex\latex\graphics\color.sty
(D:\CTEX\MiKTeX\tex\latex\00miktex\color.cfg)
(D:\CTEX\MiKTeX\tex\latex\graphics\dvips.def)
(D:\CTEX\MiKTeX\tex\latex\graphics\dvipsnam.def))
(D:\CTEX\MiKTeX\tex\latex\graphics\graphics.sty
(D:\CTEX\MiKTeX\tex\latex\graphics\trig.sty)
(D:\CTEX\MiKTeX\tex\latex\00miktex\graphics.cfg))
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3basics.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3expan.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3tl.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3seq.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3int.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3quark.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3prg.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3clist.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3token.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3prop.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3msg.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3file.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3skip.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3keys.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3fp.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3box.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3coffins.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3color.sty)
(D:\CTEX\MiKTeX\tex\latex\l3kernel\l3luatex.sty))
(D:\CTEX\MiKTeX\tex\latex\l3packages\xparse\xparse.sty)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Fatal fontspec error: "cannot-use-pdftex"
!
! The fontspec package requires either XeTeX or LuaTeX to function.
!
! You must change your typesetting engine to, e.g., "xelatex" or "lualatex"
! instead of plain "latex" or "pdflatex".
!
! See the fontspec documentation for further information.
!
! For immediate help type H .
!...............................................

l.38 }

?
) ) ) )
No pages of output.
Transcript written on resume.log.

gbk2uni, version 0.22, initially implemented by cxterm and ZLB in Jan. 2003
enhanced by hooklee in Mar. 2003.
please visit www.ctex.org and www.chinatex.org for more information.
gbk2uni resume.out is finished!


LaTeX Compilation Report (Pages: 0)

Errors: 2 Warnings: 0 Bad Boxes: 0


@billryan
Copy link
Owner

Please use XeLaTeX.
An error RequireXeTeX.

@mrmiywj
Copy link
Author

mrmiywj commented Dec 14, 2015

Command Line: xetex.exe --interaction=errorstopmode --synctex=1 "resume.tex"
Startup Folder: G:\resume-master

This is XeTeX, Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9)
entering extended mode
(G:\resume-master\resume.tex
! Undefined control sequence.
l.3 \documentclass
{resume}
?
! Undefined control sequence.
l.7 \begin
{document}
?
! Undefined control sequence.
l.8 \pagenumbering
{gobble} % suppress displaying page number
?
! Undefined control sequence.
l.10 \name
{Bin Yuan}
?
! Undefined control sequence.
l.14 \contactInfo
{\href{mailto:my_address@yuanbin.me}{my_address@yuanbin.me...

?
! Undefined control sequence.
l.14 \contactInfo{\href
{mailto:my_address@yuanbin.me}{my_address@yuanbin.me...

?
! Missing $ inserted.

$

_
l.14 \contactInfo{\href{mailto:my_
address@yuanbin.me}{my_address@yuanbin.me...

?
! Extra }, or forgotten $.
l.14 ...ctInfo{\href{mailto:my_address@yuanbin.me}
{my_address@yuanbin.me}}{...

?
! Extra }, or forgotten $.
l.14 ...dress@yuanbin.me}{my_address@yuanbin.me}}
{(+86) 131-221-87xxx}{http...

?
! Missing $ inserted.

$

\par
l.17

?

Overfull \hbox (21.15553pt too wide) in paragraph at lines 14--17
[]\tenrm mailto:my$[]\teni ddress\tenrm @\teni yuanbin:me[][][]$ |
! Undefined control sequence.
l.18 \section
{\faGraduationCap\ Education}
?
! Undefined control sequence.
l.18 \section{\faGraduationCap
\ Education}
?
! Undefined control sequence.
l.19 \datedsubsection
{\textbf{Shanghai Jiao Tong University (SJTU)}, Shangha...

?
! Undefined control sequence.
l.19 \datedsubsection{\textbf
{Shanghai Jiao Tong University (SJTU)}, Shangha...

?
! Undefined control sequence.
l.20 \textit
{Master student} in Electronics Engineering (EE), expected March...

?
! Undefined control sequence.
l.21 \datedsubsection
{\textbf{Xidian University}, Shaanxi, China}{2009 -- 2013}

?
! Undefined control sequence.
l.21 \datedsubsection{\textbf
{Xidian University}, Shaanxi, China}{2009 -- 2013}

?
! Undefined control sequence.
l.22 \textit
{B.S.} in Electronics Engineering (EE)
?
! Undefined control sequence.
l.24 \section
{\faUsers\ Experience}
?
! Undefined control sequence.
l.24 \section{\faUsers
\ Experience}
?
! Undefined control sequence.
l.25 \datedsubsection
{\textbf{FLAG Inc.} California, America}{2012 -- Present}
?
! Undefined control sequence.
l.25 \datedsubsection{\textbf
{FLAG Inc.} California, America}{2012 -- Present}
?
! Undefined control sequence.
l.26 \role
{Summer Intern}{Manager: xxx}
?
! Undefined control sequence.
l.28 \begin
{itemize}
?
[1] )
(\end occurred inside a group at level 2)

simple group (level 2) entered at line 14 ({)

simple group (level 1) entered at line 14 ({)

bottom level

Output written on resume.pdf (1 page).
SyncTeX written on resume.synctex.gz.
Transcript written on resume.log.


XeTeX Compilation Report (Pages: 1)

Errors: 24 Warnings: 0 Bad Boxes: 1


1 similar comment
@mrmiywj
Copy link
Author

mrmiywj commented Dec 14, 2015

Command Line: xetex.exe --interaction=errorstopmode --synctex=1 "resume.tex"
Startup Folder: G:\resume-master

This is XeTeX, Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9)
entering extended mode
(G:\resume-master\resume.tex
! Undefined control sequence.
l.3 \documentclass
{resume}
?
! Undefined control sequence.
l.7 \begin
{document}
?
! Undefined control sequence.
l.8 \pagenumbering
{gobble} % suppress displaying page number
?
! Undefined control sequence.
l.10 \name
{Bin Yuan}
?
! Undefined control sequence.
l.14 \contactInfo
{\href{mailto:my_address@yuanbin.me}{my_address@yuanbin.me...

?
! Undefined control sequence.
l.14 \contactInfo{\href
{mailto:my_address@yuanbin.me}{my_address@yuanbin.me...

?
! Missing $ inserted.

$

_
l.14 \contactInfo{\href{mailto:my_
address@yuanbin.me}{my_address@yuanbin.me...

?
! Extra }, or forgotten $.
l.14 ...ctInfo{\href{mailto:my_address@yuanbin.me}
{my_address@yuanbin.me}}{...

?
! Extra }, or forgotten $.
l.14 ...dress@yuanbin.me}{my_address@yuanbin.me}}
{(+86) 131-221-87xxx}{http...

?
! Missing $ inserted.

$

\par
l.17

?

Overfull \hbox (21.15553pt too wide) in paragraph at lines 14--17
[]\tenrm mailto:my$[]\teni ddress\tenrm @\teni yuanbin:me[][][]$ |
! Undefined control sequence.
l.18 \section
{\faGraduationCap\ Education}
?
! Undefined control sequence.
l.18 \section{\faGraduationCap
\ Education}
?
! Undefined control sequence.
l.19 \datedsubsection
{\textbf{Shanghai Jiao Tong University (SJTU)}, Shangha...

?
! Undefined control sequence.
l.19 \datedsubsection{\textbf
{Shanghai Jiao Tong University (SJTU)}, Shangha...

?
! Undefined control sequence.
l.20 \textit
{Master student} in Electronics Engineering (EE), expected March...

?
! Undefined control sequence.
l.21 \datedsubsection
{\textbf{Xidian University}, Shaanxi, China}{2009 -- 2013}

?
! Undefined control sequence.
l.21 \datedsubsection{\textbf
{Xidian University}, Shaanxi, China}{2009 -- 2013}

?
! Undefined control sequence.
l.22 \textit
{B.S.} in Electronics Engineering (EE)
?
! Undefined control sequence.
l.24 \section
{\faUsers\ Experience}
?
! Undefined control sequence.
l.24 \section{\faUsers
\ Experience}
?
! Undefined control sequence.
l.25 \datedsubsection
{\textbf{FLAG Inc.} California, America}{2012 -- Present}
?
! Undefined control sequence.
l.25 \datedsubsection{\textbf
{FLAG Inc.} California, America}{2012 -- Present}
?
! Undefined control sequence.
l.26 \role
{Summer Intern}{Manager: xxx}
?
! Undefined control sequence.
l.28 \begin
{itemize}
?
[1] )
(\end occurred inside a group at level 2)

simple group (level 2) entered at line 14 ({)

simple group (level 1) entered at line 14 ({)

bottom level

Output written on resume.pdf (1 page).
SyncTeX written on resume.synctex.gz.
Transcript written on resume.log.


XeTeX Compilation Report (Pages: 1)

Errors: 24 Warnings: 0 Bad Boxes: 1


@billryan
Copy link
Owner

Fixed at bb8eb3f

crazydogen added a commit to crazydogen/resume that referenced this issue Sep 22, 2020
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

No branches or pull requests

2 participants