miktex
miktex copied to clipboard
Automatically install font package at usage of setmainfont
MiKTeX brings the functionality to automatically install CTAN packages when a LaTeX package is required by \usepackage{...}.
When using a \setmainfont (.e.g, \setmainfont{TeX Gyre Termes}) the respective package tex-gyre is not installed. One has to manually install it (mpm --install=tex-gyre) to resolve fontspec error: "font-not-found".
Since lualatex / fontspec gets more and more popular, such a feature of MiKTeX would be really helpful.
Side comments:
- First reported at https://github.com/latextemplates/scientific-thesis-template/issues/88.
- A CTAN package is different from a LaTeX package - see https://tex.stackexchange.com/questions/247530/difference-between-cfr-lm-and-lm-package/247533#247533
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I hoped, this was a quick win to implement. 😇
Similar concept #429. (Not saying that the implementation could be similar.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I hoped, this was a quick win to implement. 😇
Other errors:
Package fontspec Error: The font "Inconsolatazi4" cannot be found. Install "inconsolata" package manuallyPackage fontspec Error: The font "LinuxLibertineO" cannot be found.. Install "libertine" package manuallyPackage fontspec Error: The font "TeXGyreTermes" cannot be found.. Install "tex-gyre" and "tex-gyre-math" packages manually
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.