TransWikia.com

problems finding correct language.dat

TeX - LaTeX Asked on December 4, 2020

I have installed the portable version of miktex 2.9 on a pc without administrator rights. I try to use the package dutch babel, but it gives the common error of

Package babel Warning: No hyphenation patterns were loaded for (label) the language 'Dutch' (babel) I will use the patterns loaded for language=0 instead.

MWE:

documentclass{article}
usepackage[dutch]{babel}
begin{document}
Doesn't work with or without text.
end{document}

I searched for all language.dat files on my external hard drive AND my pc and placed the line ‘dutch nehyph.tex’, ‘dutch nehyph2.tex’ (found that in another language.dat file) in it, but it keeps giving the error.

If I try to check the box for the language via the MiKTeX options, it says:

This language is not yet available

One Answer

In the path <your-install-dir>texmfsinstalltexlatex browse for the folder containig the appropriate babel language packages, like babel-dutch. Alternatively get the appropriate *.ldf files from CTAN.

Copy the folder content to <your-install-dir>texmfsinstalltexgenericbabel-<language>. Try to recompile your document.

Answered by The Floe on December 4, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP