{"action":"created","issue":{"url":"https://api.github.com/repos/0xAX/linux-insides/issues/567","repository_url":"https://api.github.com/repos/0xAX/linux-insides","labels_url":"https://api.github.com/repos/0xAX/linux-insides/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/0xAX/linux-insides/issues/567/comments","events_url":"https://api.github.com/repos/0xAX/linux-insides/issues/567/events","html_url":"https://github.com/0xAX/linux-insides/pull/567","id":297119542,"number":567,"title":"Adopted standard filename convention and automated LaTeX conversion/build.","user":{"login":"ranguli","id":5544782,"avatar_url":"https://avatars0.githubusercontent.com/u/5544782?v=4","gravatar_id":"","url":"https://api.github.com/users/ranguli","html_url":"https://github.com/ranguli","followers_url":"https://api.github.com/users/ranguli/followers","following_url":"https://api.github.com/users/ranguli/following{/other_user}","gists_url":"https://api.github.com/users/ranguli/gists{/gist_id}","starred_url":"https://api.github.com/users/ranguli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranguli/subscriptions","organizations_url":"https://api.github.com/users/ranguli/orgs","repos_url":"https://api.github.com/users/ranguli/repos","events_url":"https://api.github.com/users/ranguli/events{/privacy}","received_events_url":"https://api.github.com/users/ranguli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-14T14:40:41Z","updated_at":"2018-03-05T02:29:44Z","closed_at":"2018-03-02T17:56:52Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/0xAX/linux-insides/pulls/567","html_url":"https://github.com/0xAX/linux-insides/pull/567","diff_url":"https://github.com/0xAX/linux-insides/pull/567.diff","patch_url":"https://github.com/0xAX/linux-insides/pull/567.patch"},"body":"I was interested in reading this book in a LaTex format, so I've created a script that will automatically do the following:\r\n\r\n- It goes through each subdirectory, converts the Markdown files into a singular LaTex file for that chapter.\r\n- Collects each chapter file into the build directory.\r\n- Compiles them into PDFs.\r\n- Merges the PDF together.\r\n\r\nThe script lives in the project root as `latex.sh` and all the processed files are in `build` although it is set to be git ignored. It's arguably quite rudimentary so I'd be receptive to improving it. Currently it can't deal with any images, for example. Bit of a bummer, I know.\r\n\r\nI needed them to have a similar filename convention so I could glob for them and compile them (which I went and implemented)  but I don't see this as a downside as most of the files were already following a `linux-chaptername-1-md` convention. \r\n\r\nMy sort of use-case is that if you're reading it at a computer or online, GitBooks is the way to go (it's really nice.) But if you wanted to print it off and have a hard copy now you can do so with an equally pretty version. \r\n\r\nLet me know if you have any issues.\r\n\r\nCheers\r\nJosh"},"comment":{"url":"https://api.github.com/repos/0xAX/linux-insides/issues/comments/370292666","html_url":"https://github.com/0xAX/linux-insides/pull/567#issuecomment-370292666","issue_url":"https://api.github.com/repos/0xAX/linux-insides/issues/567","id":370292666,"user":{"login":"mudongliang","id":6214861,"avatar_url":"https://avatars2.githubusercontent.com/u/6214861?v=4","gravatar_id":"","url":"https://api.github.com/users/mudongliang","html_url":"https://github.com/mudongliang","followers_url":"https://api.github.com/users/mudongliang/followers","following_url":"https://api.github.com/users/mudongliang/following{/other_user}","gists_url":"https://api.github.com/users/mudongliang/gists{/gist_id}","starred_url":"https://api.github.com/users/mudongliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudongliang/subscriptions","organizations_url":"https://api.github.com/users/mudongliang/orgs","repos_url":"https://api.github.com/users/mudongliang/repos","events_url":"https://api.github.com/users/mudongliang/events{/privacy}","received_events_url":"https://api.github.com/users/mudongliang/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T02:29:44Z","updated_at":"2018-03-05T02:29:44Z","author_association":"CONTRIBUTOR","body":"We may need to make the PR open for now.\r\nSince you change the filename of those markdown file, the URLs related with those renamed files should be changed. \r\n\r\nMaybe we need a small script to handle this job."}}
{"actor":{"display_login":"mudongliang"}}