ho-tex / oberdiek

Updating the oberdiek bundle
Other
16 stars 6 forks source link

`hyphsubst` does not work any more since a newer release. #87

Closed alkatar21 closed 3 years ago

alkatar21 commented 3 years ago

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
)

The Package: grafik

u-fischer commented 3 years ago

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.

alkatar21 commented 3 years ago

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?

u-fischer commented 3 years ago

I opened an issue for miktex: https://github.com/MiKTeX/miktex-packaging/issues/233