编译 PDF 时突然出现问题

编译 PDF 时突然出现问题

我在编译PDF时遇到问题,突然收到信息:Sorry, but pdflatex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:/Users/asus/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log You may want to visit the MiKTeX project page, if you need help.

我做了一些改动,所以这是一个有趣的惊喜。以下是日志文件的内容:

2019-04-20 23:56:16,432+0200 INFO  pdflatex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2019-04-20 23:56:28,256+0200 INFO  pdflatex - going to create file: pdflatex.fmt
2019-04-21 00:02:18,032+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:02:18,093+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:02:18,093+0200 FATAL pdflatex - Info: 
2019-04-21 00:02:18,094+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:02:18,094+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:02:59,603+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:02:59,684+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:02:59,684+0200 FATAL pdflatex - Info: 
2019-04-21 00:02:59,684+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:02:59,684+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:03:24,989+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:03:24,991+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:03:24,992+0200 FATAL pdflatex - Info: 
2019-04-21 00:03:24,992+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:03:24,992+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:04:24,466+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:04:24,468+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:04:24,469+0200 FATAL pdflatex - Info: 
2019-04-21 00:04:24,469+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:04:24,469+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:04:44,372+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:04:44,375+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:04:44,375+0200 FATAL pdflatex - Info: 
2019-04-21 00:04:44,375+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:04:44,375+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:06:31,726+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:06:31,729+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:06:31,729+0200 FATAL pdflatex - Info: 
2019-04-21 00:06:31,729+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:06:31,729+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:07:21,093+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:07:21,095+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:07:21,096+0200 FATAL pdflatex - Info: 
2019-04-21 00:07:21,096+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:07:21,097+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:08:21,368+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:08:21,371+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:08:21,371+0200 FATAL pdflatex - Info: 
2019-04-21 00:08:21,372+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:08:21,372+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:08:44,670+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:08:44,673+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:08:44,674+0200 FATAL pdflatex - Info: 
2019-04-21 00:08:44,674+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:08:44,674+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:12:34,296+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:12:34,298+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:12:34,298+0200 FATAL pdflatex - Info: 
2019-04-21 00:12:34,299+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:12:34,299+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:15:21,543+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:15:21,545+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:15:21,546+0200 FATAL pdflatex - Info: 
2019-04-21 00:15:21,546+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:15:21,546+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:20:06,677+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:20:06,785+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:20:06,785+0200 FATAL pdflatex - Info: 
2019-04-21 00:20:06,785+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:20:06,796+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:22:15,065+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:22:15,067+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:22:15,067+0200 FATAL pdflatex - Info: 
2019-04-21 00:22:15,067+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:22:15,067+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:23:28,950+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:23:28,953+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:23:28,953+0200 FATAL pdflatex - Info: 
2019-04-21 00:23:28,953+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:23:28,953+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:29:16,170+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:29:16,172+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:29:16,173+0200 FATAL pdflatex - Info: 
2019-04-21 00:29:16,173+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:29:16,173+0200 FATAL pdflatex - Line: 1134
2019-04-21 00:29:40,831+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 00:29:40,831+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 00:29:40,831+0200 FATAL pdflatex - Info: 
2019-04-21 00:29:40,831+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 00:29:40,831+0200 FATAL pdflatex - Line: 1134
2019-04-21 09:09:22,691+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 09:09:22,807+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 09:09:22,807+0200 FATAL pdflatex - Info: 
2019-04-21 09:09:22,807+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 09:09:22,818+0200 FATAL pdflatex - Line: 1134
2019-04-21 17:36:00,085+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 17:36:00,133+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 17:36:00,133+0200 FATAL pdflatex - Info: 
2019-04-21 17:36:00,133+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 17:36:00,133+0200 FATAL pdflatex - Line: 1134
2019-04-21 17:41:31,562+0200 INFO  pdflatex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2019-04-21 17:41:46,039+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 17:41:46,041+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 17:41:46,041+0200 FATAL pdflatex - Info: 
2019-04-21 17:41:46,042+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 17:41:46,042+0200 FATAL pdflatex - Line: 1134
2019-04-21 17:42:51,345+0200 INFO  pdflatex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2019-04-21 17:43:00,289+0200 INFO  pdflatex - going to create file: pdflatex.fmt
2019-04-21 17:43:08,383+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 17:43:08,384+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 17:43:08,385+0200 FATAL pdflatex - Info: 
2019-04-21 17:43:08,385+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 17:43:08,385+0200 FATAL pdflatex - Line: 1134
2019-04-21 17:51:17,222+0200 INFO  pdflatex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2019-04-21 17:51:26,060+0200 INFO  pdflatex - going to create file: pdflatex.fmt
2019-04-21 17:51:33,546+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 17:51:33,548+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 17:51:33,548+0200 FATAL pdflatex - Info: 
2019-04-21 17:51:33,548+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 17:51:33,548+0200 FATAL pdflatex - Line: 1134
2019-04-21 17:53:32,286+0200 INFO  pdflatex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2019-04-21 17:53:41,170+0200 INFO  pdflatex - going to create file: pdflatex.fmt
2019-04-21 17:55:10,671+0200 INFO  pdflatex - installing package microtype triggered by tex\latex\microtype\microtype.sty
2019-04-21 17:55:10,672+0200 FATAL pdflatex - Administrative mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
2019-04-21 17:55:10,673+0200 FATAL pdflatex - Info: 
2019-04-21 17:55:10,673+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\config.cpp
2019-04-21 17:55:10,673+0200 FATAL pdflatex - Line: 1134

我读到过一些文章说删除这个文件可能会有用,但不幸的是,在我的情况下,它不起作用。提前感谢你的帮助 :)

相关内容