0

Haven't found answer neither internet not here so going to ask. I'm using latest MiKTeX 23.10.12 with all updates.

enter image description here

Also I want to use third party fonts with pdflatex. I have all needed font and auxiliary files which I placed in needed folders.

The issue is MiKTeX doesn't want to update psfonts.map file through Map *.map line in config file. So I had to edit psfonts.map manualy for propper work contrary to warning. All accessible tools such as Refresh font map files in MiKTeX console or initexmf --mkmaps doesn't work.

It works for me but it will work until first upgrade. Is MiKTeX able to work with .map file more proper or am I doing something wrong?

7
  • 1
    pdflatex doesn't use psfonts.map but pdftex.map normally. What did you do to change that? Commented Nov 8, 2023 at 9:28
  • I'm using pdflatex to typeset my document. I have to edit psfonts.map manually to be able typeset with third party fonts. In other case I have error like this: !pdfTeX error: pdflatex (file rjcsr8t): Font rjcsr8t at 420 not found ==> Fatal error occurred, no output PDF file produced!. And I never tried to change pdftex.map file.
    – Konstantin
    Commented Nov 8, 2023 at 9:45
  • make a small hello-world document (without any third party fonts), compile with pdflatex and then show the complete log-file. Commented Nov 8, 2023 at 9:55
  • Something happened that I can't explain. For MWE I edited psfonts.map to it initial state assuming that I won't be able typset document with third paty font but I made it. Any errors that I have been seen before didn't appear. I got correct .pdf file with third party font. Then I figured out there are two files psfonts.map in my MiKTeX. C:\Users\user9\AppData\Local\MiKTeX\2.9\dvips\config\psfonts.map and C:\Users\user9\AppData\Local\MiKTeX\2.9\fonts\map\dvips\psfonts.map. They differ. The second one contain information about third party font.
    – Konstantin
    Commented Nov 8, 2023 at 13:06
  • 1
    the location in dvips/config is outdated. Nowadays map files should be in fonts\map. But you shouldn't edit the files in miktex main texmf tree manually. Use a local updmap.cfg to append new maps. See docs.miktex.org/manual/advanced.html#psfonts Commented Nov 8, 2023 at 13:26

1 Answer 1

0

So I have some thoughts about described issue. First of all I use an ancient version of MiKTeX that was updated more than one times. MiKTeX proceeds make changes to itself file structure so I already have tremendously creepy mix with same name files in separate folders that differ.

What files are using to typesetting and what files changed while config procedure only MiKTeX knowing. So I guess the better way to deal with it to delete old franken-MiKTeX and install new with clear structure.

2
  • Ok. However ... is that a solution (=answer), a (long comment, or an elaboration of your question (=problem) ?
    – MS-SPO
    Commented Apr 8 at 7:25
  • I think it may be considered as solution
    – Konstantin
    Commented Apr 9 at 8:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .