MiKTeX / miktex-packaging

the MiKTeX package factory
MIT License
19 stars 6 forks source link

Experimental patterns for ngerman and german don't work #238

Closed efaulhaber closed 3 years ago

efaulhaber commented 3 years ago

Similar to #233, I get the error

oberdiek\hyphsubst.sty:227: Package hyphsubst Error: Unknown pattern `ngerman-x-latest'.

with the following MWE.

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[ngerman=ngerman-x-latest]{hyphsubst}

\begin{document}
    Test
\end{document}

As opposed to #233, the patterns do show in my languages.ini:

[ngerman-x-2021-02-26]
loader=dehyphn-x-2021-02-26.tex
lefthyphenmin=2
righthyphenmin=2
synonyms=ngerman-x-latest
patterns=hyph-de-1996.pat.txt
hyphenation=hyph-de-1996.hyp.txt

The package dehyph-exptl is installed, but it didn't install automatically when I tried to compile the above code.

Again, with TeX Live everything works as expected. This is a single user installation on Windows 10.

edocevoli commented 3 years ago

I was not able to reproduce it. Please make sure that you have the latest updates and that dehyph-exptl is installed. Also make sure that format files are up-to-date.

efaulhaber commented 3 years ago

I uninstalled my MiKTeX installation to try this again from scratch. These are the steps I took:

  1. Install the latest MiKTeX using the installer for Windows 10.
  2. Update packages (102 updates for me).
  3. Update fndb and font map files.
  4. Compile the above MWE with pdflatex test.tex.
  5. Confirm automatic installation of the two packages babel-german and infwarerr. The compilation fails with the above error.
  6. Install dehyph-exptl manually.
  7. Update fndb and font map files to be sure.
  8. Compile again with pdflatex test.tex. Again, the compilation failed with ! Package hyphsubst Error: Unknown patternngerman-x-latest'.`.

Am I missing anything?

efaulhaber commented 2 years ago

I used TeX Live for the past year because of this, but I decided to give MiKTeX another try. I installed MiKTeX today and encountered the exact same problem again.