iThesis Knowledge Base
  • Home
  • Knowledge Base
  • Questions & Answers

Upload Latex file ที่มีภาษาไทย

Upload Latex file ที่มีภาษาไทย

0
ss 2 Rep. 7 years ago

ผมเขียนเล่ม thesis เป็นภาษาอังกฤษโดยใช้ Latex เพราะว่ามีสมการคณิตศาสตร์จำนวนเยอะมาก
โดยเล่มของจุฬาจะมีส่วนของภาษาไทยอยู่ด้วย ซึ่งการใช้ภาษาไทยใน Latex จะใช้ XeLatex แทนที่จะใช้ pdfLatex อย่างที่ระบบ ithesis ใช้

ผมสามารถรัน latex file ได้ปกติในเครื่อง โดยใช้ XeLatex
แต่พอ upload and compile ไปในระบบแล้ว Latex error log แจ้งมาว่า

——————————————————————————————————————————————

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2016/03/31>
Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/base/<wbr />article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/base/<wbr />size12.clo))
!  Undefined control sequence.
l.4 \XeTeXlinebreaklocale
                          "th"

!  LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...                                              
                                                  
l.4 \XeTeXlinebreaklocale "
                           th"
!  Undefined control sequence.
l.9 \XeTeXlinebreakskip
                        = 0pt plus 0pt
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/fontspec/<wbr />fontspec.sty
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/l3kernel/<wbr />expl3.sty
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/l3kernel/<wbr />expl3-code.tex)
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/l3kernel/<wbr />l3pdfmode.def))
(/usr/local/texlive/2015/<wbr />texmf-dist/tex/latex/<wbr />l3packages/xparse/xparse.sty)

! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<wbr />!!!!!!!!!!!!!!!!!
! 
!  Fatal fontspec error: "cannot-use-pdftex"
!  
!  The fontspec package requires either XeTeX or LuaTeX.
!  
!  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 .
! ..............................<wbr />.................  
                                                  
l.28 \msg_fatal:nn {fontspec} {cannot-use-pdftex}
                                                 
 ) )
(see the transcript file for additional information)
No pages of output.Transcript written on main.log.
------------------------------<wbr />------------------------------<wbr />---------------------------

ซึ่งผมเดาว่าน่าจะเป็นจากที่<wbr />ระบบใช้ pdfLatex ในการ compile ครับ
ไม่ทราบว่ามีวิธีแก้ปัญหานี้<wbr />ไหมครับ
ขอบคุณครับ
iThesis answered 7 years ago

    1 answer

    • Active
    • Voted
    • Newest
    • Oldest
    1
    iThesis 800 Rep. 7 years Ago

    ปัจจุบันโปรแกรมในส่วนของการ upload latex นั้นมีการตั้งค่าโดยการระบุ engine (pdflatex) สำหรับการ compile ไฟล์ latex ที่นิสิตนักศึกษาได้ดำเนินการ upload เข้าสู่ระบบ โดยในไฟล์ latex ของนิสิตนักศึกษานั้นอาจมีองค์ประกอบของ package บางตัวที่เป็นข้อจำกัดของระบบทำให้ไม่สามารถ upload ได้ค่ะ

    ซึ่งในส่วนนี้เป็นข้อจำกัดของระบบ ต้องใช้ระยะเวลาในการพิจารณาแก้ไข
    ขออภัยในความไม่สะดวกด้วยนะคะ

      Please Login or Sign up.
      Connect with:
      Facebook Google
      ×

      Login

      Follow question

      Question stats

      • Active7 years Ago
      • Views5165 times
      • Answers1 answer
      • Followers2 followers
      Question and answer is powered by AnsPress
      
            

      Tag Cloud

      .net framework Abstract Add-in caption complete thesis Electronic Form Electronics form EndNote error Insert caption ISI/Scopus page number PowerBI print proposal publication regenerate template report data Request for support save as proposal save to cloud setting style Submission document template add-in Template setting thesis Thesis form Thesis Revision web portal Your Profile การกรอกข้อมูลการติดต่อ การตั้งค่าเลขหน้า การติดตั้ง การติดตั้ง Add-in การอนุมัติของอาจารย์ที่ปรึกษาหลัก วิทยานิพนธ์ฉบับสมบูรณ์ สารบัญ สารบัญภาพ สารบัญหลัก เครื่องมือทั่วไป เมนู Committee & Examiner เมนู Manage Advisor/Examiner เมนู Service Settings เลขหน้า

      Contact

      Commission on Higher Education 328 Rd., Ayutthaya, Phayathai, Bangkok 10400.
      Log In
      Connect with:
      Facebook Google


      Office of the Higher Education Commission.