{"action":"created","issue":{"url":"https://api.github.com/repos/reutenauer/polyglossia/issues/312","repository_url":"https://api.github.com/repos/reutenauer/polyglossia","labels_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/312/comments","events_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/312/events","html_url":"https://github.com/reutenauer/polyglossia/issues/312","id":503157324,"node_id":"MDU6SXNzdWU1MDMxNTczMjQ=","number":312,"title":"Hyphenation disabling","user":{"login":"wehro","id":33468411,"node_id":"MDQ6VXNlcjMzNDY4NDEx","avatar_url":"https://avatars2.githubusercontent.com/u/33468411?v=4","gravatar_id":"","url":"https://api.github.com/users/wehro","html_url":"https://github.com/wehro","followers_url":"https://api.github.com/users/wehro/followers","following_url":"https://api.github.com/users/wehro/following{/other_user}","gists_url":"https://api.github.com/users/wehro/gists{/gist_id}","starred_url":"https://api.github.com/users/wehro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wehro/subscriptions","organizations_url":"https://api.github.com/users/wehro/orgs","repos_url":"https://api.github.com/users/wehro/repos","events_url":"https://api.github.com/users/wehro/events{/privacy}","received_events_url":"https://api.github.com/users/wehro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-10-06T20:37:51Z","updated_at":"2019-10-09T00:48:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The current manual states:\r\n\r\n> polyglossia provides two functions: \\disablehyphenation and \\enablehyphenation . Note that when you select a new language, hyphenation will be in the same state (enabled or disabled) as before. When you reenable it, it will take the last selected language.\r\n\r\nHowever, in the following document the German text *is* hyphenated.\r\n```\r\n\\documentclass{article}\r\n\\usepackage{polyglossia}\r\n\\setmainlanguage{english}\r\n\\setotherlanguage{german}\r\n\r\n\\begin{document}\r\nThis text is hyphenated.\r\n\\showhyphens{hyphenation}\r\n\\disablehyphenation\r\nThis text is not hyphenated.\r\n\\showhyphens{hyphenation}\r\n\\selectlanguage{german}\r\nThis text should not be hyphenated, but it is.\r\n\\showhyphens{Silbentrennung}\r\n\\end{document}\r\n```\r\nEither the package code or the manual should be corrected."},"comment":{"url":"https://api.github.com/repos/reutenauer/polyglossia/issues/comments/539766698","html_url":"https://github.com/reutenauer/polyglossia/issues/312#issuecomment-539766698","issue_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/312","id":539766698,"node_id":"MDEyOklzc3VlQ29tbWVudDUzOTc2NjY5OA==","user":{"login":"dohyunkim","id":4328134,"node_id":"MDQ6VXNlcjQzMjgxMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4328134?v=4","gravatar_id":"","url":"https://api.github.com/users/dohyunkim","html_url":"https://github.com/dohyunkim","followers_url":"https://api.github.com/users/dohyunkim/followers","following_url":"https://api.github.com/users/dohyunkim/following{/other_user}","gists_url":"https://api.github.com/users/dohyunkim/gists{/gist_id}","starred_url":"https://api.github.com/users/dohyunkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohyunkim/subscriptions","organizations_url":"https://api.github.com/users/dohyunkim/orgs","repos_url":"https://api.github.com/users/dohyunkim/repos","events_url":"https://api.github.com/users/dohyunkim/events{/privacy}","received_events_url":"https://api.github.com/users/dohyunkim/received_events","type":"User","site_admin":false},"created_at":"2019-10-09T00:48:20Z","updated_at":"2019-10-09T00:48:20Z","author_association":"CONTRIBUTOR","body":"The patch proposed has a problem.\r\n```latex\r\n\\documentclass{article}\r\n\\usepackage{polyglossia}\r\n\\setmainlanguage[variant=ancientgreek]{greek}\r\n\\newfontfamily\\greekfont{texgyrepagella-regular.otf}\r\n\\begin{document}\r\n\\typeout{===\\the\\language===}\r\n\\disablehyphenation\r\n\\selectlanguage[variant=ancientgreek]{greek}\r\n\\enablehyphenation\r\n\\typeout{===\\the\\language===}\r\n\\end{document}\r\n```\r\nIt is expected that the two numbers printed are identical, but actually it is not."}}
{"actor":{"display_login":"dohyunkim"}}