Re: [XeTeX] Hyphenation around „ß“
Am Thu, 9 Jan 2014 01:03:29 +0100 schrieb Zdenek Wagner: > Apparently something strange is done inside babel, with babel in xetex > I get the same result as you. I tried the following file using > polyglossia: > > \documentclass{article} > \usepackage{polyglossia} > \setdefaultlanguage{german} > \usepackage{xltxtra} > \begin{document} > \showhyphens{geißeln} > \showhyphens{wußte} > \showthe\lefthyphenmin > \showthe\righthyphenmin > \end{document} > At least it can hyphenate wußte Because polyglossia uses the new spelling patterns. If you use ngerman for babel it would hyphenate wußte too, and with \setdefaultlanguage[spelling=old]{german} polyglossia doesn't hyphenate wußte. > but I cannot understand why geißeln is > not hyphenated. Both babel and polyglossia set \lefthyphenmin and > \righthyphenmin to 2, thus hyphenation is allowed. Yes this is quite curious. Hyphenation before a ß seems to be suppressed. But it works without problems if one add hyphenations exceptions. \hyphenation{gei-ßeln} -- Ulrike Fischer http://www.troubleshooting-tex.de/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
Ulrike Fischer wrote: >> but I cannot understand why geißeln is >> not hyphenated. Both babel and polyglossia set \lefthyphenmin and >> \righthyphenmin to 2, thus hyphenation is allowed. > > Yes this is quite curious. Hyphenation before a ß seems to be > suppressed. Would that not simply be a question of patterns ? ** Phil. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
Am Thu, 9 Jan 2014 09:16:00 + schrieb Philip Taylor: > Ulrike Fischer wrote: > >>> but I cannot understand why geißeln is >>> not hyphenated. Both babel and polyglossia set \lefthyphenmin and >>> \righthyphenmin to 2, thus hyphenation is allowed. >> >> Yes this is quite curious. Hyphenation before a ß seems to be >> suppressed. > > Would that not simply be a question of patterns ? lualatex has not problems to hyphenate geißeln and imho it uses the same patterns: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{fontspec} \begin{document} \parbox{1cm}{geißeln geißeln geißeln geißeln geißeln geißeln} \parbox{0.5cm}{wußte wußte wußte wußte wußte wußte} \end{document} -- Ulrike Fischer http://www.troubleshooting-tex.de/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
Ulrike Fischer wrote: > lualatex has not problems to hyphenate geißeln and imho it uses the > same patterns: Well, "LUATEX uses a finite state hash to match the patterns against the word to be hyphenated.", so it would seem to me that LuaTeX's behaviour cannot be considered as normative. ** Phil. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
> Well, "LUATEX uses a finite state hash to match the patterns against the > word to be hyphenated.", so it would seem to me that LuaTeX's behaviour > cannot be considered as normative. If indeed LuaTeX finds hyphenation points that XeTeX misses, using the same patterns, it is an improvement. But I would be a little surprised; is it absolutely certain that both engines really do find the same patterns? Arthur -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
Am Do 09 Jan 2014, 01:03:29 Uhr, schrieb Zdenek Wagner: > At least it can hyphenate wußte but I cannot understand why geißeln > is not hyphenated. Thank you for vour investigation. The difference is, that in „geißeln“ the hyphenation is in front of the ß, in „wußte“ behind it. Those before ß XeTeX looses always, the others only sometimes. With babel it works fine, when you give them the marks with \hyphenation{}. I don't understand this difference, but I want XeTeX to find the hyphenation points from the patterns, as all the others. --8<---cut here---start->8--- \documentclass{article} %\sepackage{polyglossia} %\setdefaultlanguage{german} \usepackage[german]{babel} \usepackage{xltxtra} \hyphenation{ drei-ßig schie-ßen gie-ßen bü-ßen } \begin{document} \showhyphens{dreißig} \showhyphens{gießen} \showhyphens{schießen} \showhyphens{büßen} %showthe\lefthyphenmin %showthe\righthyphenmin \end{document} --8<---cut here---end--->8--- Georg signature.asc Description: This is a digitally signed message part. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
On Thu, 9 Jan 2014, Philip Taylor wrote: > Well, "LUATEX uses a finite state hash to match the patterns against the > word to be hyphenated.", so it would seem to me that LuaTeX's behaviour > cannot be considered as normative. Why? If it's matching against a fixed list of patterns, then the important thing is that list, not the algorithm used to search it; and two systems using the same list of patterns would generate the same results even if they used different search algorithms. Are you suggesting that LuaTeX's search is only approximate, and it doesn't find some matching patterns, or reports that some patterns match when they do not? That's not the meaning I get from the sentence you quote. -- Matthew Skala msk...@ansuz.sooke.bc.ca People before principles. http://ansuz.sooke.bc.ca/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
Am Thu, 9 Jan 2014 13:44:31 + schrieb Arthur Reutenauer: >> Well, "LUATEX uses a finite state hash to match the patterns against the >> word to be hyphenated.", so it would seem to me that LuaTeX's behaviour >> cannot be considered as normative. > > If indeed LuaTeX finds hyphenation points that XeTeX misses, using the > same patterns, it is an improvement. But I would be a little surprised; > is it absolutely certain that both engines really do find the same > patterns? At least with babel I would expect it. And I checked with miktex + babel 3.8m and texlive + babel 3.9h. In both cases I can see the difference between lualatex and xelatex. So it can't be something new in babel. -- Ulrike Fischer http://www.troubleshooting-tex.de/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation around „ß“
El 09/01/2014 17:27, Ulrike Fischer escribió: And I checked with miktex + babel 3.8m and texlive + babel 3.9h. In both cases I can see the difference between lualatex and xelatex. So it can't be something new in babel. In fact, in my system (TL) I can see the differences selecting the language without babel, with \language. Note babel sets the hyphenmins to 22, instead of the default 23 (which could explain why wußte doesn't get hyphenated without babel). The file loaded is loadhyph-de-1901.tex (according to the log with the babel option showlanguages). Javier -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex