{"action":"created","issue":{"url":"https://api.github.com/repos/underscoreio/latex-docker/issues/1","repository_url":"https://api.github.com/repos/underscoreio/latex-docker","labels_url":"https://api.github.com/repos/underscoreio/latex-docker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/underscoreio/latex-docker/issues/1/comments","events_url":"https://api.github.com/repos/underscoreio/latex-docker/issues/1/events","html_url":"https://github.com/underscoreio/latex-docker/pull/1","id":174735831,"number":1,"title":"Add Pygments for the minted package","user":{"login":"d6y","id":102661,"avatar_url":"https://avatars.githubusercontent.com/u/102661?v=3","gravatar_id":"","url":"https://api.github.com/users/d6y","html_url":"https://github.com/d6y","followers_url":"https://api.github.com/users/d6y/followers","following_url":"https://api.github.com/users/d6y/following{/other_user}","gists_url":"https://api.github.com/users/d6y/gists{/gist_id}","starred_url":"https://api.github.com/users/d6y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d6y/subscriptions","organizations_url":"https://api.github.com/users/d6y/orgs","repos_url":"https://api.github.com/users/d6y/repos","events_url":"https://api.github.com/users/d6y/events{/privacy}","received_events_url":"https://api.github.com/users/d6y/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-02T11:12:26Z","updated_at":"2016-09-05T14:31:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/underscoreio/latex-docker/pulls/1","html_url":"https://github.com/underscoreio/latex-docker/pull/1","diff_url":"https://github.com/underscoreio/latex-docker/pull/1.diff","patch_url":"https://github.com/underscoreio/latex-docker/pull/1.patch"},"body":"The [minted package](https://github.com/gpoore/minted) formats source code blocks, but requires Pygments to do the formatting.  This PR adds Pygments.\r\n\r\nWe are then able to say...\r\n\r\n``` tex\r\n\\usepackage{underscore,minted}\r\n...\r\n\\begin{minted}[fontsize=\\small]{scala}\r\nimport spray.json._\r\nimport shapeless._\r\nimport shapeless.ops.hlist.IsHCons\r\nimport cats.data.Xor\r\nimport cats.data.Xor.{Left, Right}\r\n\r\ncase class Currency(value: String) extends AnyVal\r\ncase class Error(value: String) extends AnyVal\r\n\r\ntrait OneFieldFormats {\r\n\r\n  // Primitive readers and writers:\r\n\r\n  implicit def writeString(v: String): JsValue = JsString(v)\r\n\\end{minted}\r\n```\r\n\r\nTo get:\r\n\r\n![review pdf page 9 of 10 2016-09-02 12-10-05](https://cloud.githubusercontent.com/assets/102661/18202127/2aef2cdc-7106-11e6-8f3e-38b7b03ed302.png)\r\n"},"comment":{"url":"https://api.github.com/repos/underscoreio/latex-docker/issues/comments/244760111","html_url":"https://github.com/underscoreio/latex-docker/pull/1#issuecomment-244760111","issue_url":"https://api.github.com/repos/underscoreio/latex-docker/issues/1","id":244760111,"user":{"login":"d6y","id":102661,"avatar_url":"https://avatars.githubusercontent.com/u/102661?v=3","gravatar_id":"","url":"https://api.github.com/users/d6y","html_url":"https://github.com/d6y","followers_url":"https://api.github.com/users/d6y/followers","following_url":"https://api.github.com/users/d6y/following{/other_user}","gists_url":"https://api.github.com/users/d6y/gists{/gist_id}","starred_url":"https://api.github.com/users/d6y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d6y/subscriptions","organizations_url":"https://api.github.com/users/d6y/orgs","repos_url":"https://api.github.com/users/d6y/repos","events_url":"https://api.github.com/users/d6y/events{/privacy}","received_events_url":"https://api.github.com/users/d6y/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T14:31:09Z","updated_at":"2016-09-05T14:31:09Z","body":"I'll merge this and publish it. Note that because we use `:latest` on our dependencies, you'll likely get a complete download of LaTeX each time we touch our docker set up."}}
{"actor":{"display_login":"d6y"}}