`hyphsubst` does not work any more since a newer release.
alkatar21 opened this issue · 3 comments
I have updated my packages and since then the package no longer works. The previous package was installed at the beginning of 2019.
Below is a minimal example to reproduce:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[ngerman=ngerman-x-latest]{hyphsubst}
\begin{document}
\end{document}
The error message:
(...\MiKTeX\tex/generic/oberdiek\hyphsubst.sty
(...\MiKTeX\tex/generic/infwarerr\infwarerr.sty
)
! Package hyphsubst Error: Unknown pattern `ngerman-x-latest'.
See the hyphsubst package documentation for explanation.
Type H <return> for immediate help.
...
l.227 \ProcessOptions*
\relax
)
a more modern way to load the patter is with babel:
\documentclass[12pt]{article}
\usepackage[ngerman]{babel}
\babelprovide[hyphenrules=ngerman-x-latest]{ngerman}
\begin{document}
\end{document}
Both methods works fine in texlive but fail in miktex. I wasn't able to activate the pattern there too. To me it looks like a miktex bug which should be reported there.
Ah, good to know. I think knowing how to make things more modern is something I lack in general.
I forgot to mention MiKTeX, but that's interesting. However, I admittedly don't know where to report (probably https://github.com/MiKTeX/miktex/issues) and what to show there, since it's probably indirectly a bug in MiKTeX? Once I know that, I would then close the ticket here?
I opened an issue for miktex: MiKTeX/miktex-packaging#233