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.


Doesn't work with or without text.

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
  • 1
    Double click on miktex-portable.cmd in the miktex folder. This should give you a small miktex menu in the tray. Start from there miktex-options and change the languages in the language tab. Btw: A normal miktex can be installed without problems on a pc without admin rights. Simply choose as installation folder a folder where you have writing rights. – Ulrike Fischer Dec 11 '14 at 13:37
  • Make sure that you have the relevant packages installed: Start the package manager, synchronize the repository and then look for packages with "dutch", "hyphen" etc. Also changing language.dat doesn't work as miktex overwrites it. You must adapt language.ini if you really want to do it manually. – Ulrike Fischer Dec 11 '14 at 13:39
  • If I try to synchronize the package manager, I get the error: host not found; get host name failed in tcp_connect(). If I search for babel-Dutch, it says that it is already installed. How should I adapt the language.ini to get the correct language? It is now '[dutch] attributes= ', while other languages have attributes=exclude – Tom Dec 11 '14 at 13:42
  • I can try to de-install and re-install babel-Dutch, but I have to do that elsewhere at another WiFi connection. Another reason that I don't install on the C-drive is because it asks, for every map I paste, if I really want to do it, so that will take a long time to do – Tom Dec 11 '14 at 13:49
  • 1
    @Tom: As I already wrote miktex portable seems to destroy the language.ini. I already made a bug report. If you can't get a sensible language.ini, contact me per mail so that I send you mine. Regarding babel: You problably must rebuild the formats after an update. – Ulrike Fischer Dec 22 '14 at 11:24

In the path <your-install-dir>\texmfs\install\tex\latex 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>\texmfs\install\tex\generic\babel-<language>. Try to recompile your document.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.