尝试构建时出现以下错误:
线:\documentclass[a4paper, english]{scrartcl}
日志错误:
! LaTeX Error: File `scrartcl.cls' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: cls) Enter file name: ! Emergency stop.
如果我将该行更改为\documentclass[10pt,a4paper]{article}
它可以工作,但会出现在下一行:
\usepackage{natbib}
日志错误:
! LaTeX Error: File `natbib.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop.
在我的 MikTeX 包管理器中,我看到koma-script
已安装,当我尝试添加时natbib
,我得到了
MiKTeX Problem Report Message: Couldn't connect to server Data: Source: Libraries\MiKTeX\PackageManager\CurlWebSession.cpp Line: 337 MiKTeX: 2.9 OS: Windows 10 Pro, 64-bit, build 15063 Invokers: non-existing SystemAdmin: no PowerUser: no Root0: C:\Users\TamarPC\AppData\Roaming\MiKTeX\2.9 Root1: C:\Users\TamarPC\AppData\Local\MiKTeX\2.9 Root2: C:\ProgramData\MiKTeX\2.9 Root3: C:\Program Files\MiKTeX 2.9 UserInstall: C:\Users\TamarPC\AppData\Roaming\MiKTeX\2.9 UserConfig: C:\Users\TamarPC\AppData\Roaming\MiKTeX\2.9 UserData: C:\Users\TamarPC\AppData\Local\MiKTeX\2.9 CommonInstall: C:\Program Files\MiKTeX 2.9 CommonConfig: C:\ProgramData\MiKTeX\2.9 CommonData: C:\ProgramData\MiKTeX\2.9
这里发生了什么?