意外错误 LaTeXiT

意外错误 LaTeXiT

我刚刚安装了 LaTeXiT,但它无法正常工作。我收到一条错误消息,上面写着“意外错误,请参阅 LaTeX > 显示上次日志”。不过,我不知道现在该怎么办。以下是“显示上次日志”窗口中的文本:

Source :
\documentclass[10pt]{article}
\usepackage[usenames]{color} %used for font color
\usepackage{amssymb} %maths
\usepackage{amsmath} %maths
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters

\pagestyle{empty} \begin{document}\begin{align*}7
\end{align*}
\end{document}

--------------- processing pdflatex ---------------
#!/bin/sh
export TMPDIR="/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/" 1>/dev/null 2>&1 
export USER="henrilila" 1>/dev/null 2>&1 
export __CF_USER_TEXT_ENCODING="0x1F5:0x0:0x0" 1>/dev/null 2>&1 
export SHELL="/bin/bash" 1>/dev/null 2>&1 
export HOME="/Users/henrilila" 1>/dev/null 2>&1 
export XPC_SERVICE_NAME="com.apple.xpc.launchd.oneshot.0x10000004.LaTeXiT" 1>/dev/null 2>&1 
export XPC_FLAGS="0x0" 1>/dev/null 2>&1 
export COMMAND_MODE="unix2003" 1>/dev/null 2>&1 
export PATH="/sw/usr/local/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/local/texbin:/usr/local/sbin:/sw/local/bin:/usr/local/bin:/usr/texbin:/sw/sbin:/sw/local/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/usr/bin:/usr/sbin:/sw/usr/bin:/opt/local/bin:/opt/local/sbin:/bin:/sw/usr/sbin:/sw/usr/local/bin:~/.dotnet/tools:/sw/bin" 1>/dev/null 2>&1 
export LOGNAME="henrilila" 1>/dev/null 2>&1 
export SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.HHnLFLy1ep/Listeners" 1>/dev/null 2>&1 
cd /var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4
/usr/local/bin/pdflatex -file-line-error -interaction nonstopmode /var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-1.tex 1>|/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-task-stdout.tS2T2hcY.log 2>|/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-task-stderr.xTc7CPXb.log </dev/null

This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7050)
entering extended mode
(/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-1.tex
LaTeX2e <2019-10-01> patch level 3

("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
base/article.cls"
Document Class: article 2019/10/25 v1.4k Standard LaTeX document class

("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
base/size10.clo"))
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
graphics/color.sty"
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
graphics-cfg/color.cfg")
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
graphics-def/pdftex.def"))
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsfonts/amssymb.sty"
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsfonts/amsfonts.sty"))
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsmath/amsmath.sty"
For additional information on amsmath, use the `?' option.

("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsmath/amstext.sty"
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsmath/amsgen.sty"))
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsmath/amsbsy.sty")
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsmath/amsopn.sty"))
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
base/inputenc.sty")
No file latexit-1.aux.

("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/contex
t/base/mkii/supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
)
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsfonts/umsa.fd")
("/Users/henrilila/Library/Application Support/MiKTeX/texmfs/install/tex/latex/
amsfonts/umsb.fd") [1{/Users/henrilila/Library/Application Support/MiKTeX/texmf
s/data/pdftex/config/pdftex.map}] (latexit-1.aux) )</Users/henrilila/Library/Ap
plication Support/MiKTeX/texmfs/install/fonts/type1/public/amsfonts/cm/cmr10.pf
b>
Output written on latexit-1.pdf (1 page, 8413 bytes).
Transcript written on latexit-1.log.

--------------- bounding box computation ---------------
#!/bin/sh
export TMPDIR="/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/" 1>/dev/null 2>&1 
export USER="henrilila" 1>/dev/null 2>&1 
export __CF_USER_TEXT_ENCODING="0x1F5:0x0:0x0" 1>/dev/null 2>&1 
export SHELL="/bin/bash" 1>/dev/null 2>&1 
export HOME="/Users/henrilila" 1>/dev/null 2>&1 
export XPC_SERVICE_NAME="com.apple.xpc.launchd.oneshot.0x10000004.LaTeXiT" 1>/dev/null 2>&1 
export XPC_FLAGS="0x0" 1>/dev/null 2>&1 
export COMMAND_MODE="unix2003" 1>/dev/null 2>&1 
export PATH="/sw/usr/local/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/local/texbin:/usr/local/sbin:/sw/local/bin:/usr/local/bin:/usr/texbin:/sw/sbin:/sw/local/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/usr/bin:/usr/sbin:/sw/usr/bin:/opt/local/bin:/opt/local/sbin:/bin:/sw/usr/sbin:/sw/usr/local/bin:~/.dotnet/tools:/sw/bin" 1>/dev/null 2>&1 
export LOGNAME="henrilila" 1>/dev/null 2>&1 
export SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.HHnLFLy1ep/Listeners" 1>/dev/null 2>&1 
cd /var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4
/usr/local/bin/gs-noX11 -sstdout=%stderr -dNOPAUSE -dSAFER -dNOPLATFONTS -sDEVICE=bbox -dBATCH -q /var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-1.pdf 1>|/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-task-stdout.KR04n0o4.log 2>|/var/folders/c5/ny8m65rd0w3_s0_tvw4kh7gr0000gn/T/LaTeXiT-2.14.4/latexit-task-stderr.PpKIPGRY.log </dev/null

我很高兴能得到任何帮助!提前致谢!

答案1

我解决了这个问题,方法如下:我打开 MikTeX 控制台应用程序,然后单击“概览”页面上的“立即更新”进行更新。完成此操作后,它现在可以正常工作了 :)(MikTeX 不会自动更新,因此您应该不时通过打开 MikTeX 控制台应用程序手动搜索更新。)无论如何,如果这不能解决您的问题,可能是因为 LaTeXiT 没有使用适当的文档,正如@Herb Schulz 所建议的那样。

相关内容