
我在沒有管理員權限的 PC 上安裝了 MikTeX 2.9 的便攜式版本。我嘗試使用 Dutch babel 包,但它給出了常見錯誤
Package babel Warning: No hyphenation patterns were loaded for (label) the language 'Dutch' (babel) I will use the patterns loaded for \language=0 instead.
微量元素:
\documentclass{article}
\usepackage[dutch]{babel}
\begin{document}
Doesn't work with or without text.
\end{document}
我搜尋了我的外部硬碟和我的電腦上的所有language.dat 文件,並將行「dutch nehyph.tex」、「dutch nehyph2.tex」(在另一個language.dat 檔案中找到)放入其中,但它不斷給出錯誤。
如果我嘗試透過 MiKTeX 選項選取語言框,它會顯示:
該語言尚不可用
答案1
在路徑中<your-install-dir>\texmfs\install\tex\latex
瀏覽包含相應 babel 語言包的資料夾,例如babel-dutch
.或*.ldf
從以下位置取得適當的文件CTAN。
將資料夾內容複製到<your-install-dir>\texmfs\install\tex\generic\babel-<language>
.嘗試重新編譯您的文檔。