我有一个要编译的 Latex 文档。虽然在 MacOSX 下使用 TexLive 完全没有问题,但在 Windows 上使用 MikTex 却会出现大问题。
该文本的开头如下:
\documentclass[10pt]{style}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[light]{merriweather}
在 Windows 上编译时出现以下错误:
Sorry, but miktex-makemf did not succeed for the following reason: The Merriweather-LightIt-osf-t1--base source file could not be found. The log file hopefully contains the information to get MiKTeX going again: C:/Users/x/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makemf.log You may want to visit
the MiKTeX project page, if you need help.
在 Miktex 包管理器中,merriweather 包显示为“已安装”。我使用 Miktex 2.9.6200 x64 和 TexStudio 2.12.4
所述日志文件显示:
2017-01-22 12:14:26,711+0100 INFO makex - Trying to make PK font Merriweather-LightIt-osf-t1--base at 600 DPI...
2017-01-22 12:14:26,726+0100 INFO makex - Running miktex-makemf.exe...
2017-01-22 12:14:26,853+0100 INFO makex - Running ttf2pk.exe...
2017-01-22 12:14:34,443+0100 FATAL miktex-makepk - PK font Merriweather-LightIt-osf-t1--base could not be created.
运行 updmap(以管理员身份)后,问题仍然存在。日志现在显示:
2017-05-07 14:08:28,242+0200 INFO miktex-makemf - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\miktex-makemf.exe" --verbose Merriweather-LightIt-osf-t1--base
2017-05-07 14:08:28,247+0200 FATAL miktex-makemf - The Merriweather-LightIt-osf-t1--base source file could not be found.
有人知道如何解决这个问题吗?