{"action":"created","issue":{"url":"https://api.github.com/repos/russellallen/self/issues/51","labels_url":"https://api.github.com/repos/russellallen/self/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/russellallen/self/issues/51/comments","events_url":"https://api.github.com/repos/russellallen/self/issues/51/events","html_url":"https://github.com/russellallen/self/pull/51","id":110633119,"number":51,"title":"ePub/PDF improvements of handbook","user":{"login":"Bystroushaak","id":227282,"avatar_url":"https://avatars.githubusercontent.com/u/227282?v=3","gravatar_id":"","url":"https://api.github.com/users/Bystroushaak","html_url":"https://github.com/Bystroushaak","followers_url":"https://api.github.com/users/Bystroushaak/followers","following_url":"https://api.github.com/users/Bystroushaak/following{/other_user}","gists_url":"https://api.github.com/users/Bystroushaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Bystroushaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bystroushaak/subscriptions","organizations_url":"https://api.github.com/users/Bystroushaak/orgs","repos_url":"https://api.github.com/users/Bystroushaak/repos","events_url":"https://api.github.com/users/Bystroushaak/events{/privacy}","received_events_url":"https://api.github.com/users/Bystroushaak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-09T10:39:49Z","updated_at":"2015-10-12T22:18:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/russellallen/self/pulls/51","html_url":"https://github.com/russellallen/self/pull/51","diff_url":"https://github.com/russellallen/self/pull/51.diff","patch_url":"https://github.com/russellallen/self/pull/51.patch"},"body":"This pull request contains a lot of changes, which are mostly cosmetic, but because they were related to tabs/whitespaces, it appears that a lot of the handbook was changed. It really wasn't.\r\n\r\nSo, the changes:\r\n\r\n- A lot of small bugfixes (dots, formatting, removed random appearances of † character).\r\n\r\n- Removed sizes and align options from figures. PDF figures are now automatically centered, which looks better, HTML still aligned to left.\r\n\r\n- Fixed Figure descriptions.\r\n  ![snimek obrazovky-selfhandbook pdf-3](https://cloud.githubusercontent.com/assets/227282/10391683/df03980e-6e80-11e5-9116-060c2cedf961.png)\r\n\r\n  vs\r\n\r\n  ![snimek obrazovky-selfhandbook pdf-2](https://cloud.githubusercontent.com/assets/227282/10391687/e17c69b2-6e80-11e5-880d-58e87f9cfbcc.png)\r\n\r\n- Fixed references to tables and figures - because there was a lot of text-only references like Figure 5, which I changed to actual hyperlink references to images/tables, which won't break, when the new table/figure is added.\r\n\r\n- This required to turn on numref (numeric references to tables/figures), so don't forget to update to newest version of Sphinx, or the references to figures will break.\r\n\r\n- Table descriptions which were just bold text before table changed to actual sphinx table descriptions. This really helps in PDF, where the latex render too much often put the description on one page and table on second:\r\n\r\n  ![snimek obrazovky-selfhandbook pdf](https://cloud.githubusercontent.com/assets/227282/10391544/dcc7d42a-6e7f-11e5-9755-e538cc60cfc4.png)\r\n\r\n  vs\r\n\r\n  ![snimek obrazovky-selfhandbook pdf-1](https://cloud.githubusercontent.com/assets/227282/10391548/e2e5dcda-6e7f-11e5-8a49-fd61141933d3.png)\r\n\r\n  This is little bit uglier in HTML version, but much more readable in PDF/ePub.\r\n\r\n- A lot of textual description links to other sections (for example `See 3.4`) changed to hyperlinks.\r\n\r\n- Fixed image sizes in PDF, added forced newpage latex commands. This is much saner now.\r\n\r\n- Fixed code examples to use space indentation instead of tabs. This is really important for ebook readers/ePub, where the tab characters were so long, that almost every code example get out of the screen and it was really a pain to try to read the manual on ebook reader.\r\n\r\nHere are the files available for inspection:\r\n\r\n- http://kitakitsune.org/bhole/Self\r\n\r\nIt is not perfect, but much better than before. ePub version generated by sphinx is somehow a little bit broken, so you have to use calibre convertor to fix it for you (linked version is fixed).\r\n\r\nI am now in the middle of the handbook, so there may be a little bit more fixes, but I don't expect nothing as big as this pull request :)"},"comment":{"url":"https://api.github.com/repos/russellallen/self/issues/comments/147536231","html_url":"https://github.com/russellallen/self/pull/51#issuecomment-147536231","issue_url":"https://api.github.com/repos/russellallen/self/issues/51","id":147536231,"user":{"login":"Bystroushaak","id":227282,"avatar_url":"https://avatars.githubusercontent.com/u/227282?v=3","gravatar_id":"","url":"https://api.github.com/users/Bystroushaak","html_url":"https://github.com/Bystroushaak","followers_url":"https://api.github.com/users/Bystroushaak/followers","following_url":"https://api.github.com/users/Bystroushaak/following{/other_user}","gists_url":"https://api.github.com/users/Bystroushaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Bystroushaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bystroushaak/subscriptions","organizations_url":"https://api.github.com/users/Bystroushaak/orgs","repos_url":"https://api.github.com/users/Bystroushaak/repos","events_url":"https://api.github.com/users/Bystroushaak/events{/privacy}","received_events_url":"https://api.github.com/users/Bystroushaak/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T22:18:00Z","updated_at":"2015-10-12T22:18:00Z","body":"Okay, I will reupload them. Mmnt."}}