MikTeX 2.8 不添加对 pdfLaTeX 的连字符支持
我正在使用 MikTeX 2.8 版本,并安装了匈牙利语言支持和连字符文件。使用标准 LaTeX 命令它们工作正常,但是当我尝试使用 pdfLaTeX 时,它们没有加载并且我收到消息
(C:\stuff\miktex\tex\generic\babel\magyar.ldf
(C:\stuff\miktex\tex\generic\babel\babel.def)
Package babel /b/c12/cWarning:/b/c0/c No hyphenation patterns were loaded for
(babel) the language `Magyar'
(babel) I will use the patterns loaded for \language=0 instead.
。使用乳胶它工作正常:
(C:\stuff\miktex\tex\latex\00miktex\bblopts.cfg)
(C:\stuff\miktex\tex\generic\babel\magyar.ldf
(C:\stuff\miktex\tex\generic\babel\babel.def)))
我尝试更新 FNDB 和格式,但无济于事。
I'm using MikTeX 2.8 edition, and installed the hungarian language support and hyphenation files. Using the standard LaTeX command they work fine, but when I try to use pdfLaTeX, they don't get loaded and I get the
(C:\stuff\miktex\tex\generic\babel\magyar.ldf
(C:\stuff\miktex\tex\generic\babel\babel.def)
Package babel /b/c12/cWarning:/b/c0/c No hyphenation patterns were loaded for
(babel) the language `Magyar'
(babel) I will use the patterns loaded for \language=0 instead.
message. Using latex it works fine:
(C:\stuff\miktex\tex\latex\00miktex\bblopts.cfg)
(C:\stuff\miktex\tex\generic\babel\magyar.ldf
(C:\stuff\miktex\tex\generic\babel\babel.def)))
I tried updating the FNDB and the Formats, but to no avail.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我在Windows 7中遇到了同样的问题。我安装了MikTeX并在管理员帐户下配置了连字符语言,当我开始在自己的帐户下使用pdflatex时,结果发现它没有检测到我在MikTex设置中添加的语言(管理员)应用程序。
解决方案是在我自己的帐户(即开始菜单中的非管理程序)下运行MikTex Settings,然后单击“更新格式”按钮。
I had the same problem in Windows 7. I installed MikTeX and configured the hyphenation languages under administrator account and when I started to use pdflatex under my own account, it turned out that it did not detect the languages that I had added in the MikTex Settings (Admin) application.
The solution was to run MikTex Settings under my own account (i.e. the non-Admin program in Start Menu) and click the button "Update Formats".
我对 MiKTeX 2.8、babel、pdflatex 和语言“葡萄牙语”也有同样的问题。
普通乳胶效果很好。
返回 MiKTeX 2.7,问题不再发生。
I have the same problem with MiKTeX 2.8, babel, pdflatex and language "portuguese".
Regular latex works fine.
Went back to MiKTeX 2.7 and the problem doesn't happen.
删除 MikTeX 2.8 并手动清理注册表,然后重新安装即可解决问题。 (简单地删除并重新安装并不能解决问题)
Removing MikTeX 2.8 and cleaning the registry by hand, then reinstalling it solved the problem. (simply removing and reinstalling didn't solve it)
首先找到安装下的 language.dat 文件。然后找到像 %magyar bla-bla-bla 这样的字符串,删除注释(% 标记),或者,如果该文件中没有这样的行,则添加它。 Bla-bla-bla 代表带有连字符表的文件的确切名称,您应该谷歌一下它是如何调用的。
然后从 miktex 选项菜单运行“更新格式”,但是 - 对选项执行此操作,而不是对选项(管理)菜单执行此操作。
祝你好运!
First find out language.dat file under your installation. Then find there a string like %magyar bla-bla-bla, remove comment (% mark), or, if there is no such line in that file - add it. Bla-bla-bla stands for the exact name of file with hyphenation table, you should google of how does that called.
Then run "update formats" from the miktex options menu, BUT - do that for the Options, and NOT for Options (Admin) menu.
Good luck!