{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/3","id":68617696,"html_url":"https://github.com/praseodym/tudelft-report-latex/pull/3","diff_url":"https://github.com/praseodym/tudelft-report-latex/pull/3.diff","patch_url":"https://github.com/praseodym/tudelft-report-latex/pull/3.patch","issue_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues/3","number":3,"state":"closed","locked":false,"title":"Use polyglossia instead of babel when compiling with Xe(La)TeX","user":{"login":"Balletie","id":3884925,"avatar_url":"https://avatars.githubusercontent.com/u/3884925?v=3","gravatar_id":"","url":"https://api.github.com/users/Balletie","html_url":"https://github.com/Balletie","followers_url":"https://api.github.com/users/Balletie/followers","following_url":"https://api.github.com/users/Balletie/following{/other_user}","gists_url":"https://api.github.com/users/Balletie/gists{/gist_id}","starred_url":"https://api.github.com/users/Balletie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Balletie/subscriptions","organizations_url":"https://api.github.com/users/Balletie/orgs","repos_url":"https://api.github.com/users/Balletie/repos","events_url":"https://api.github.com/users/Balletie/events{/privacy}","received_events_url":"https://api.github.com/users/Balletie/received_events","type":"User","site_admin":false},"body":"XeTeX and XeLaTeX use polyglossia instead of babel, so use that instead when compiling with either of those two, and otherwise use babel like normal. See: http://tex.stackexchange.com/a/3000\r\n\r\nThis seems to change some other behaviour as well: the font of the main body is now BookmanOldStyle instead of Arial. By looking at the code, this seems to be the intended behaviour (see the line with the \"\\setmainfont\" command).\r\n\r\nI removed the driver options ([xetex]) as per this answer on TeX.stackexchange: http://tex.stackexchange.com/a/2985. I also removed the `xlxtra` package as per http://tex.stackexchange.com/a/3000.\r\n\r\nIn the case of the graphicx package, the xetex option was removed because it produced an error for me due to conflicting package options: [xetex] vs [] (i.e. no options). This error only arose after switching to polyglossia. This leads me to believe that indeed it is not used in practice (since another package decided to load it without the xetex driver option).","created_at":"2016-05-02T20:39:50Z","updated_at":"2016-05-04T15:45:28Z","closed_at":"2016-05-04T15:45:27Z","merged_at":"2016-05-04T15:45:27Z","merge_commit_sha":"f38aa26ce9d09953a50ce7b91bb199d83c56223c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/3/commits","review_comments_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/3/comments","review_comment_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues/3/comments","statuses_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/statuses/47036797ca799b919688951bf4d562fb1e43ebbd","head":{"label":"Balletie:master","ref":"master","sha":"47036797ca799b919688951bf4d562fb1e43ebbd","user":{"login":"Balletie","id":3884925,"avatar_url":"https://avatars.githubusercontent.com/u/3884925?v=3","gravatar_id":"","url":"https://api.github.com/users/Balletie","html_url":"https://github.com/Balletie","followers_url":"https://api.github.com/users/Balletie/followers","following_url":"https://api.github.com/users/Balletie/following{/other_user}","gists_url":"https://api.github.com/users/Balletie/gists{/gist_id}","starred_url":"https://api.github.com/users/Balletie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Balletie/subscriptions","organizations_url":"https://api.github.com/users/Balletie/orgs","repos_url":"https://api.github.com/users/Balletie/repos","events_url":"https://api.github.com/users/Balletie/events{/privacy}","received_events_url":"https://api.github.com/users/Balletie/received_events","type":"User","site_admin":false},"repo":{"id":57918993,"name":"tudelft-report-latex","full_name":"Balletie/tudelft-report-latex","owner":{"login":"Balletie","id":3884925,"avatar_url":"https://avatars.githubusercontent.com/u/3884925?v=3","gravatar_id":"","url":"https://api.github.com/users/Balletie","html_url":"https://github.com/Balletie","followers_url":"https://api.github.com/users/Balletie/followers","following_url":"https://api.github.com/users/Balletie/following{/other_user}","gists_url":"https://api.github.com/users/Balletie/gists{/gist_id}","starred_url":"https://api.github.com/users/Balletie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Balletie/subscriptions","organizations_url":"https://api.github.com/users/Balletie/orgs","repos_url":"https://api.github.com/users/Balletie/repos","events_url":"https://api.github.com/users/Balletie/events{/privacy}","received_events_url":"https://api.github.com/users/Balletie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Balletie/tudelft-report-latex","description":"Fork of TU Delft LaTeX Report Template","fork":true,"url":"https://api.github.com/repos/Balletie/tudelft-report-latex","forks_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/forks","keys_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/teams","hooks_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/hooks","issue_events_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/issues/events{/number}","events_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/events","assignees_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/assignees{/user}","branches_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/branches{/branch}","tags_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/tags","blobs_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/git/refs{/sha}","trees_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/statuses/{sha}","languages_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/languages","stargazers_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/stargazers","contributors_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/contributors","subscribers_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/subscribers","subscription_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/subscription","commits_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/commits{/sha}","git_commits_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/git/commits{/sha}","comments_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/comments{/number}","issue_comment_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/issues/comments{/number}","contents_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/contents/{+path}","compare_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/merges","archive_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/downloads","issues_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/issues{/number}","pulls_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/pulls{/number}","milestones_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/milestones{/number}","notifications_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/labels{/name}","releases_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/releases{/id}","deployments_url":"https://api.github.com/repos/Balletie/tudelft-report-latex/deployments","created_at":"2016-05-02T20:20:17Z","updated_at":"2016-05-02T20:20:18Z","pushed_at":"2016-05-02T20:39:05Z","git_url":"git://github.com/Balletie/tudelft-report-latex.git","ssh_url":"git@github.com:Balletie/tudelft-report-latex.git","clone_url":"https://github.com/Balletie/tudelft-report-latex.git","svn_url":"https://github.com/Balletie/tudelft-report-latex","homepage":"http://huisstijl.tudelft.nl","size":6034,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"praseodym:master","ref":"master","sha":"809cc05c5e5fe7f67cd5bff23928d5c62f8b0787","user":{"login":"praseodym","id":20283,"avatar_url":"https://avatars.githubusercontent.com/u/20283?v=3","gravatar_id":"","url":"https://api.github.com/users/praseodym","html_url":"https://github.com/praseodym","followers_url":"https://api.github.com/users/praseodym/followers","following_url":"https://api.github.com/users/praseodym/following{/other_user}","gists_url":"https://api.github.com/users/praseodym/gists{/gist_id}","starred_url":"https://api.github.com/users/praseodym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praseodym/subscriptions","organizations_url":"https://api.github.com/users/praseodym/orgs","repos_url":"https://api.github.com/users/praseodym/repos","events_url":"https://api.github.com/users/praseodym/events{/privacy}","received_events_url":"https://api.github.com/users/praseodym/received_events","type":"User","site_admin":false},"repo":{"id":14502465,"name":"tudelft-report-latex","full_name":"praseodym/tudelft-report-latex","owner":{"login":"praseodym","id":20283,"avatar_url":"https://avatars.githubusercontent.com/u/20283?v=3","gravatar_id":"","url":"https://api.github.com/users/praseodym","html_url":"https://github.com/praseodym","followers_url":"https://api.github.com/users/praseodym/followers","following_url":"https://api.github.com/users/praseodym/following{/other_user}","gists_url":"https://api.github.com/users/praseodym/gists{/gist_id}","starred_url":"https://api.github.com/users/praseodym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praseodym/subscriptions","organizations_url":"https://api.github.com/users/praseodym/orgs","repos_url":"https://api.github.com/users/praseodym/repos","events_url":"https://api.github.com/users/praseodym/events{/privacy}","received_events_url":"https://api.github.com/users/praseodym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/praseodym/tudelft-report-latex","description":"Fork of TU Delft LaTeX Report Template","fork":false,"url":"https://api.github.com/repos/praseodym/tudelft-report-latex","forks_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/forks","keys_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/teams","hooks_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/hooks","issue_events_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues/events{/number}","events_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/events","assignees_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/assignees{/user}","branches_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/branches{/branch}","tags_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/tags","blobs_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/git/refs{/sha}","trees_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/statuses/{sha}","languages_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/languages","stargazers_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/stargazers","contributors_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/contributors","subscribers_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/subscribers","subscription_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/subscription","commits_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/commits{/sha}","git_commits_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/git/commits{/sha}","comments_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/comments{/number}","issue_comment_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues/comments{/number}","contents_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/contents/{+path}","compare_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/merges","archive_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/downloads","issues_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues{/number}","pulls_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls{/number}","milestones_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/milestones{/number}","notifications_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/labels{/name}","releases_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/releases{/id}","deployments_url":"https://api.github.com/repos/praseodym/tudelft-report-latex/deployments","created_at":"2013-11-18T19:18:42Z","updated_at":"2016-04-28T09:34:07Z","pushed_at":"2016-05-04T15:45:28Z","git_url":"git://github.com/praseodym/tudelft-report-latex.git","ssh_url":"git@github.com:praseodym/tudelft-report-latex.git","clone_url":"https://github.com/praseodym/tudelft-report-latex.git","svn_url":"https://github.com/praseodym/tudelft-report-latex","homepage":"http://huisstijl.tudelft.nl","size":6034,"stargazers_count":3,"watchers_count":3,"language":"TeX","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/3"},"html":{"href":"https://github.com/praseodym/tudelft-report-latex/pull/3"},"issue":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues/3"},"comments":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/praseodym/tudelft-report-latex/statuses/47036797ca799b919688951bf4d562fb1e43ebbd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"praseodym","id":20283,"avatar_url":"https://avatars.githubusercontent.com/u/20283?v=3","gravatar_id":"","url":"https://api.github.com/users/praseodym","html_url":"https://github.com/praseodym","followers_url":"https://api.github.com/users/praseodym/followers","following_url":"https://api.github.com/users/praseodym/following{/other_user}","gists_url":"https://api.github.com/users/praseodym/gists{/gist_id}","starred_url":"https://api.github.com/users/praseodym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praseodym/subscriptions","organizations_url":"https://api.github.com/users/praseodym/orgs","repos_url":"https://api.github.com/users/praseodym/repos","events_url":"https://api.github.com/users/praseodym/events{/privacy}","received_events_url":"https://api.github.com/users/praseodym/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":10,"changed_files":1}}