Re: [問題] 請問有推薦的安裝LATEX懶人包嗎?

看板LaTeX (論文排版)作者時間7年前 (2017/01/27 13:28), 7年前編輯推噓1(101)
留言2則, 2人參與, 最新討論串4/5 (看更多)
首先感謝各位熱心的回應 我衷心的感恩 <__> 我目前的進度安裝好了mitex 2.9 還有xecjk的pack 推 springman: 現在好像很好裝,miktex 一路安裝完,執行 texworks 01/24 09:42 → springman: 開自己一個 tex 的檔案,用 xelatex 測試看看,就知道 01/24 09:44 → springman: miktex 是否安裝成功,若成功再找自己喜歡的編輯程式來 01/24 09:45 → springman: 使用,像 Texmaker 或 texstudio 等。 S大說的texwork測試成功了 http://photo.xuite.net/efox/20031435/3.jpg
用的是下面的tex碼 \documentclass{article} \usepackage{fontspec} %加這個就可以設定字體 \usepackage{xeCJK} %讓中英文字體分開設置 \setCJKmainfont{標楷體} %設定中文為系統上的字型,而英文不去更動,使用原TeX字型 \XeTeXlinebreaklocale "zh" %這兩行一定要加,中文才能自動換行 \XeTeXlinebreakskip = 0pt plus 1pt %這兩行一定要加,中文才能自動換行 \title{我是標題標題標題} \author{我是作者} \date{} %不要日期 \begin{document} \maketitle 中文測試中文測試中文測試中文測試中文測試中文測試,中文測試中文測試,中文 測試中文測試中文測試中文測試中文測試中文測試,中文測試中文測試。中英文可以連打 。 English Test. 插入中文字,看看如何? This is a simple template for a XeLaTeX document using the article class, with the fontspec package to easily select fonts. \end{document} 成功了 也裝好了texmaker 但是這邊 編輯器的設定編碼utf-8 http://photo.xuite.net/efox/20031435/4.jpg
我打開設定卻是怎麼也找不到 http://photo.xuite.net/efox/20031435/2.jpg
之後用一樣的tex碼打在texmaker上也出現了錯誤碼 無法成功轉成pdf http://photo.xuite.net/efox/20031435/6.jpg
http://photo.xuite.net/efox/20031435/7.jpg
http://photo.xuite.net/efox/20031435/8.jpg
http://photo.xuite.net/efox/20031435/5.jpg
好像是說該裝xetex或luatex 但是我去mitex找了packagmanager的地方卻沒有這兩個軟體 下面是logLOG FILE : (感謝Marsden讓我知道該這樣問) 非常的長 不知道該如何找出解決之道 LOG FILE : This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit) (preloaded format=pdflatex 2017.1.23) 27 JAN 2017 12:54 entering extended mode **./3.tex (3.tex LaTeX2e <2016/03/31> patch level 3 Babel <3.9r> and hyphenation patterns for 75 language(s) loaded. ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo" File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.sty" ("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3.sty" Package: expl3 2016/11/21 v6760 L3 programming layer (loader) ("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3-code.tex" Package: expl3 2016/11/21 v6760 L3 programming layer (code) L3 Module: l3bootstrap 2016/06/13 v6596 L3 Bootstrap code L3 Module: l3names 2016/10/13 v6722 L3 Namespace for primitives L3 Module: l3basics 2016/09/01 v6696 L3 Basic definitions L3 Module: l3expan 2016/08/19 v6684 L3 Argument expansion L3 Module: l3tl 2016/08/19 v6692 L3 Token lists L3 Module: l3str 2016/08/19 v6692 L3 Strings L3 Module: l3seq 2016/08/19 v6685 L3 Sequences and stacks L3 Module: l3int 2016/09/07 v6700 L3 Integers \c_max_int=\count87 \l_tmpa_int=\count88 \l_tmpb_int=\count89 \g_tmpa_int=\count90 \g_tmpb_int=\count91 L3 Module: l3quark 2016/08/19 v6685 L3 Quarks L3 Module: l3prg 2016/08/18 v6679 L3 Control structures \g__prg_map_int=\count92 L3 Module: l3clist 2016/08/19 v6685 L3 Comma separated lists L3 Module: l3token 2016/09/01 v6695 L3 Experimental token manipulation L3 Module: l3prop 2016/08/19 v6685 L3 Property lists L3 Module: l3msg 2016/08/19 v6691 L3 Messages L3 Module: l3file 2016/08/19 v6685 L3 File and I/O operations \l_iow_line_count_int=\count93 \l__iow_target_count_int=\count94 \l__iow_current_line_int=\count95 \l__iow_current_word_int=\count96 \l__iow_current_indentation_int=\count97 L3 Module: l3skip 2016/08/19 v6692 L3 Dimensions and skips \c_zero_dim=\dimen103 \c_max_dim=\dimen104 \l_tmpa_dim=\dimen105 \l_tmpb_dim=\dimen106 \g_tmpa_dim=\dimen107 \g_tmpb_dim=\dimen108 \c_zero_skip=\skip43 \c_max_skip=\skip44 \l_tmpa_skip=\skip45 \l_tmpb_skip=\skip46 \g_tmpa_skip=\skip47 \g_tmpb_skip=\skip48 \c_zero_muskip=\muskip10 \c_max_muskip=\muskip11 \l_tmpa_muskip=\muskip12 \l_tmpb_muskip=\muskip13 \g_tmpa_muskip=\muskip14 \g_tmpb_muskip=\muskip15 L3 Module: l3keys 2016/09/21 v6711 L3 Key-value interfaces \l_keys_choice_int=\count98 L3 Module: l3fp 2016/11/21 v6761 L3 Floating points \c__fp_leading_shift_int=\count99 \c__fp_middle_shift_int=\count100 \c__fp_trailing_shift_int=\count101 \c__fp_big_leading_shift_int=\count102 \c__fp_big_middle_shift_int=\count103 \c__fp_big_trailing_shift_int=\count104 \c__fp_Bigg_leading_shift_int=\count105 \c__fp_Bigg_middle_shift_int=\count106 \c__fp_Bigg_trailing_shift_int=\count107 L3 Module: l3box 2016/08/19 v6685 L3 Experimental boxes \c_empty_box=\box26 \l_tmpa_box=\box27 \l_tmpb_box=\box28 \g_tmpa_box=\box29 \g_tmpb_box=\box30 L3 Module: l3coffins 2016/08/19 v6685 L3 Coffin code layer \l__coffin_internal_box=\box31 \l__coffin_internal_dim=\dimen109 \l__coffin_offset_x_dim=\dimen110 \l__coffin_offset_y_dim=\dimen111 \l__coffin_x_dim=\dimen112 \l__coffin_y_dim=\dimen113 \l__coffin_x_prime_dim=\dimen114 \l__coffin_y_prime_dim=\dimen115 \c_empty_coffin=\box32 \l__coffin_aligned_coffin=\box33 \l__coffin_aligned_internal_coffin=\box34 \l_tmpa_coffin=\box35 \l_tmpb_coffin=\box36 \l__coffin_display_coffin=\box37 \l__coffin_display_coord_coffin=\box38 \l__coffin_display_pole_coffin=\box39 \l__coffin_display_offset_dim=\dimen116 \l__coffin_display_x_dim=\dimen117 \l__coffin_display_y_dim=\dimen118 L3 Module: l3color 2016/06/13 v6596 L3 Experimental color support L3 Module: l3sys 2015/09/25 v6087 L3 Experimental system/runtime functions L3 Module: l3candidates 2016/08/19 v6688 L3 Experimental additions to l3kernel \l__box_top_dim=\dimen119 \l__box_bottom_dim=\dimen120 \l__box_left_dim=\dimen121 \l__box_right_dim=\dimen122 \l__box_top_new_dim=\dimen123 \l__box_bottom_new_dim=\dimen124 \l__box_left_new_dim=\dimen125 \l__box_right_new_dim=\dimen126 \l__box_internal_box=\box40 \l__coffin_bounding_shift_dim=\dimen127 \l__coffin_left_corner_dim=\dimen128 \l__coffin_right_corner_dim=\dimen129 \l__coffin_bottom_corner_dim=\dimen130 \l__coffin_top_corner_dim=\dimen131 \l__coffin_scaled_total_height_dim=\dimen132 \l__coffin_scaled_width_dim=\dimen133 L3 Module: l3luatex 2016/08/18 v6679 L3 Experimental LuaTeX-specific functions ) ("C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3pdfmode.def" File: l3pdfmode.def 2016/08/18 v6679 L3 Experimental driver: PDF mode \l__driver_color_stack_int=\count108 \l__driver_tmp_box=\box41 )) ("C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty" Package: xparse 2016/11/21 v6760 L3 Experimental document command parser \l__xparse_current_arg_int=\count109 \l__xparse_m_args_int=\count110 \l__xparse_mandatory_args_int=\count111 \l__xparse_processor_int=\count112 \l__xparse_v_nesting_int=\count113 ) Package: fontspec 2017/01/02 v2.5c Font selection for XeLaTeX and LuaLaTeX !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! 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 <return>. !............................................... l.28 \msg_fatal:nn {fontspec} {cannot-use-pdftex} |''''''''''''''''''''''''''''''''''''''''''''''' | This is a fatal error: LaTeX will abort. |............................................... ) ) Here is how much of TeX's memory you used: 7233 strings out of 493333 146187 string characters out of 3139194 159315 words of memory out of 3000000 10832 multiletter control sequences out of 15000+200000 3640 words of font info for 14 fonts, out of 3000000 for 9000 1141 hyphenation exceptions out of 8191 33i,1n,31p,10399b,275s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output. PDF statistics: 0 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000) 請有辦法的大大指點一下 感恩 ---------------------------------------------------------------- 找到方法了 在texmaker的快速編譯選用xetex +veiwpdf就好 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.140.100.163 ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1485494896.A.236.html ※ 編輯: Malik (223.140.100.163), 01/27/2017 13:30:17 ※ 編輯: Malik (223.140.100.163), 01/27/2017 14:06:35

01/27 14:48, , 1F
恭喜,log中開頭寫PDFTex,但xecjk方案要搭配xetex
01/27 14:48, 1F

01/27 14:56, , 2F
好的 感謝 馬上試
01/27 14:56, 2F
文章代碼(AID): #1OYjfm8s (LaTeX)
文章代碼(AID): #1OYjfm8s (LaTeX)