1

I have a Latex document I want to compile. While under MacOSX with TexLive this is no problem at all, MikTex on Windows makes huge problems.

The tex starts as this:

\documentclass[10pt]{style}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage[light]{merriweather}

When compiling, I get the following error on 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.

In the Miktex pakcage manager, the merriweather package is shown as "installed". I use Miktex 2.9.6200 x64 with TexStudio 2.12.4

Said logfile shows:

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.

After running updmap (as admin), the problem persists. The log now says:

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.

Someone knows how to fix this?

  • 1
    If you're fixed to that font you could use it with XeLaTex or LuaLaTeX. Do you have to use pdflatex? – TeXnician May 7 '17 at 11:17
  • 2
    @TeXnician sorry this would be cheating. The font package works fine with texlive but not with miktex. So there is a problem and it should be corrected. – Ulrike Fischer May 7 '17 at 11:29
  • 1
    The miktex package is faulty (probably outdated). I made a bug report: sourceforge.net/p/miktex/bugs/2599. As a workaround you can try to retrieve an update merriweather.map, move it is you document folder and add \pdfmapfile{=merriweather.map} to your document. But is possible that more files are wrong in the package and that you get funny symbols or other error. – Ulrike Fischer May 7 '17 at 11:44
  • 1
    @TeXnician: Changing an existing document to xelatex/lualatex is not easy and not fast and as you don't have miktex you even can't know if it would work then with miktex. – Ulrike Fischer May 7 '17 at 11:51
  • 2
    It works fine for me on MiKTeX. Simply, as often, you have to run updmap from the command line (as administrator, I think), in order to refresh the type 1 fonts database(s). – Bernard May 7 '17 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.