Babel 和 Polyglossia 中定义的瑞典语连字符规则在哪里?

Babel 和 Polyglossia 中定义的瑞典语连字符规则在哪里?

我正在用 Babel 编写瑞典语文档,感觉连字符很奇怪。而且我似乎在 babel 或 polyglossia 中都找不到专门为瑞典语定义的规则。真的没有定义规则吗?(或者只是我不知道应该寻找什么。)

答案1

瑞典语的连字模式如下

/usr/local/texlive/2022/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-sv.tex

(或根据系统上 TeX Live 或 MiKTeX 的风格而定的类似位置)。

自 1994 年以来,它们基本没有变化。

文件中的最后一条变更说明如下

%     - 1994-03-03: The hyphenated dictionary now contains about 118,000 words.
%           The hyphenation now works much better for compound words.
%           Patgen parameters 1 2 20, 2 1 8, 1 4 7, 3 2 1, 1 10000 4.

最后的注释是

% These hyphenation patterns work quite well for simple words, but not
% quite as well for compound words.  I'm working on improving the quality,
% by adding more words.  If you know any Swedish words which are not
% correctly hyphenated using these patterns, or if you have questions or
% comments, please contact me:

我不确定以下电子邮件地址是否仍然有效。

我猜它们运行得相当好,因为它们已经有近 30 年没有更新了。

当然,对于复合词,比如德语,仍然需要小心谨慎,因为两个单词连接处的某些词簇可能会被误认为是可连字符模式。Indeedbabel-swedish有类似于德语的简写,就可用于此目的

在此处输入图片描述

相关内容