{"action":"created","issue":{"url":"https://api.github.com/repos/sisl/PGFPlots.jl/issues/23","repository_url":"https://api.github.com/repos/sisl/PGFPlots.jl","labels_url":"https://api.github.com/repos/sisl/PGFPlots.jl/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/sisl/PGFPlots.jl/issues/23/comments","events_url":"https://api.github.com/repos/sisl/PGFPlots.jl/issues/23/events","html_url":"https://github.com/sisl/PGFPlots.jl/issues/23","id":138819226,"number":23,"title":"Feature Request: Save to .tex flag to only write out the tikzpicture content","user":{"login":"tawheeler","id":3334079,"avatar_url":"https://avatars.githubusercontent.com/u/3334079?v=3","gravatar_id":"","url":"https://api.github.com/users/tawheeler","html_url":"https://github.com/tawheeler","followers_url":"https://api.github.com/users/tawheeler/followers","following_url":"https://api.github.com/users/tawheeler/following{/other_user}","gists_url":"https://api.github.com/users/tawheeler/gists{/gist_id}","starred_url":"https://api.github.com/users/tawheeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tawheeler/subscriptions","organizations_url":"https://api.github.com/users/tawheeler/orgs","repos_url":"https://api.github.com/users/tawheeler/repos","events_url":"https://api.github.com/users/tawheeler/events{/privacy}","received_events_url":"https://api.github.com/users/tawheeler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sisl/PGFPlots.jl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"mykelk","id":6294079,"avatar_url":"https://avatars.githubusercontent.com/u/6294079?v=3","gravatar_id":"","url":"https://api.github.com/users/mykelk","html_url":"https://github.com/mykelk","followers_url":"https://api.github.com/users/mykelk/followers","following_url":"https://api.github.com/users/mykelk/following{/other_user}","gists_url":"https://api.github.com/users/mykelk/gists{/gist_id}","starred_url":"https://api.github.com/users/mykelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykelk/subscriptions","organizations_url":"https://api.github.com/users/mykelk/orgs","repos_url":"https://api.github.com/users/mykelk/repos","events_url":"https://api.github.com/users/mykelk/events{/privacy}","received_events_url":"https://api.github.com/users/mykelk/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-06T18:17:59Z","updated_at":"2016-03-06T20:15:26Z","closed_at":"2016-03-06T19:40:07Z","body":"One of the best things about PGFPlots is that I can create beautiful plots in Julia and then directly use them in my LaTeX writeups. Right now my workflow is to use `save()` to get a .tex file and then either delete the non-tikzpicture environment code (ie, header and footer) or copy paste the tikzpicture environment into my LaTeX document. Would it be possible to implement a flag for the `save` function that would omit the header?\r\nAlternatively, am I just being dumb and is there a good way to include standalones into a LaTeX document?"},"comment":{"url":"https://api.github.com/repos/sisl/PGFPlots.jl/issues/comments/192980755","html_url":"https://github.com/sisl/PGFPlots.jl/issues/23#issuecomment-192980755","issue_url":"https://api.github.com/repos/sisl/PGFPlots.jl/issues/23","id":192980755,"user":{"login":"tawheeler","id":3334079,"avatar_url":"https://avatars.githubusercontent.com/u/3334079?v=3","gravatar_id":"","url":"https://api.github.com/users/tawheeler","html_url":"https://github.com/tawheeler","followers_url":"https://api.github.com/users/tawheeler/followers","following_url":"https://api.github.com/users/tawheeler/following{/other_user}","gists_url":"https://api.github.com/users/tawheeler/gists{/gist_id}","starred_url":"https://api.github.com/users/tawheeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tawheeler/subscriptions","organizations_url":"https://api.github.com/users/tawheeler/orgs","repos_url":"https://api.github.com/users/tawheeler/repos","events_url":"https://api.github.com/users/tawheeler/events{/privacy}","received_events_url":"https://api.github.com/users/tawheeler/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T20:15:26Z","updated_at":"2016-03-06T20:15:26Z","body":"Thanks!"}}