MiKTeX / miktex-packaging

the MiKTeX package factory
MIT License
17 stars 5 forks source link

luximono font map file from luxi package not in TDS paths for font map files #418

Closed jzniu closed 5 months ago

jzniu commented 6 months ago

When I compile a document using the luximono font via the luxi package, an error occurred complaining about not being able to find the font. It turned out that the luximono font map file, ul9.map, is installed to $R/dvips/config/ rather than the standard $R/fonts/map/, which is specified in the current TDS specification and is also what current MiKTeX uses to search for font map files.

Screenshot 2024-01-03 225710

Moving ul9.map file to $R/fonts/map/dvips/luximono/ and refreshing file name database and font map fixed the issue.

The same document compiled okay with some older version of MiKTeX years ago, so my wild guess is that current MiKTeX no loner uses certain paths to search for font map files.

Interestingly, the latest TDS 1.1 specification (https://tug.org/tds/) hasn't been changed for almost 20 years and the luxi package (https://ctan.org/tex-archive/fonts/LuxiMono) was updated about 20 years ago last time. I'm not sure if this is a bug for MiKTeX or if anyone is still maintaining the luxi package. Hopefully if somebody experiences the same issue, they could find this post and avoid investigation.

edocevoli commented 5 months ago

Thank you. I have checked the license and it appears this is a non-free package. It will be removed from the distribution.

jzniu commented 5 months ago

Sigh... This is very unfortunate. My intention of reporting this issue is not to get this package removed.