{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/4507","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/4507/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/4507/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/4507/events","html_url":"https://github.com/sphinx-doc/sphinx/pull/4507","id":292156875,"number":4507,"title":"3447 estimate colwidths","user":{"login":"jfbu","id":2589111,"avatar_url":"https://avatars0.githubusercontent.com/u/2589111?v=4","gravatar_id":"","url":"https://api.github.com/users/jfbu","html_url":"https://github.com/jfbu","followers_url":"https://api.github.com/users/jfbu/followers","following_url":"https://api.github.com/users/jfbu/following{/other_user}","gists_url":"https://api.github.com/users/jfbu/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbu/subscriptions","organizations_url":"https://api.github.com/users/jfbu/orgs","repos_url":"https://api.github.com/users/jfbu/repos","events_url":"https://api.github.com/users/jfbu/events{/privacy}","received_events_url":"https://api.github.com/users/jfbu/received_events","type":"User","site_admin":false},"labels":[{"id":162407993,"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/bug","name":"bug","color":"a11d21","default":true},{"id":162416101,"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/latex","name":"latex","color":"FFFFFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/42","html_url":"https://github.com/sphinx-doc/sphinx/milestone/42","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/42/labels","id":3075036,"number":42,"title":"1.7.1","description":"Not planned yet.","creator":{"login":"tk0miya","id":748828,"avatar_url":"https://avatars2.githubusercontent.com/u/748828?v=4","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":0,"state":"open","created_at":"2018-01-30T14:20:36Z","updated_at":"2018-02-13T05:50:56Z","due_on":"2018-03-11T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-01-27T22:09:57Z","updated_at":"2018-02-13T05:51:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/4507","html_url":"https://github.com/sphinx-doc/sphinx/pull/4507","diff_url":"https://github.com/sphinx-doc/sphinx/pull/4507.diff","patch_url":"https://github.com/sphinx-doc/sphinx/pull/4507.patch"},"body":"Relates #3447, #4506 \r\n\r\nThis is proof of concept.\r\n\r\nSome aspects need improvement (see review below), but I also tested that it gives better results in some cases than LaTeX macro package `tabulary`. Indeed, it may open possibility to remove entirely usage of `tabulary` at some point. For example with this\r\n\r\n```rst\r\n.. table::\r\n\r\n   ========= ======== =======================================================\r\n   Tag       Required Description\r\n   ========= ======== =======================================================\r\n   columns   No       Columns of the content to return. Each content listing\r\n                      has a set of defaults columns that make sense for that\r\n                      particular content type. By default, these columns are\r\n                      returned in addition to what was requested here.\r\n   xquery    No       A  xquery\r\n   filter    No       Return files containing the specified filter string\r\n   ========= ======== =======================================================\r\n```\r\n\r\nand modifying latex.py to not use tabulary but tabular with the `\\Y` columns as determined by latex writer itself one gets this:\r\n\r\n![capture d ecran 2018-01-27 a 22 10 53](https://user-images.githubusercontent.com/2589111/35476819-e8f7a0f8-03b6-11e8-9a25-06ffc44e4d7f.png)\r\n\r\nwhich is better than the currently produced output using tabulary:\r\n\r\n![capture d ecran 2018-01-27 a 22 59 44](https://user-images.githubusercontent.com/2589111/35476825-f9d289ec-03b6-11e8-8217-289f57b1a2f6.png)\r\n\r\n(such table currently needs to be fixed by using tabularcolumns, but image above shows Sphinx could get it wright itself)"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments/365158608","html_url":"https://github.com/sphinx-doc/sphinx/pull/4507#issuecomment-365158608","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/4507","id":365158608,"user":{"login":"tk0miya","id":748828,"avatar_url":"https://avatars2.githubusercontent.com/u/748828?v=4","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T05:51:15Z","updated_at":"2018-02-13T05:51:15Z","author_association":"OWNER","body":"Sorry, I just removed `1.7-release` branch last night. As a result, github closes this automatically. It was not intended. so I reopened this again and changed target branch to `1.7`."}}
{"actor":{"display_login":"tk0miya"}}