{"action":"created","issue":{"url":"https://api.github.com/repos/hughjonesd/huxtable/issues/81","repository_url":"https://api.github.com/repos/hughjonesd/huxtable","labels_url":"https://api.github.com/repos/hughjonesd/huxtable/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/hughjonesd/huxtable/issues/81/comments","events_url":"https://api.github.com/repos/hughjonesd/huxtable/issues/81/events","html_url":"https://github.com/hughjonesd/huxtable/issues/81","id":350969243,"node_id":"MDU6SXNzdWUzNTA5NjkyNDM=","number":81,"title":"quick_pdf prints to whole page","user":{"login":"tingleyd","id":1766874,"node_id":"MDQ6VXNlcjE3NjY4NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1766874?v=4","gravatar_id":"","url":"https://api.github.com/users/tingleyd","html_url":"https://github.com/tingleyd","followers_url":"https://api.github.com/users/tingleyd/followers","following_url":"https://api.github.com/users/tingleyd/following{/other_user}","gists_url":"https://api.github.com/users/tingleyd/gists{/gist_id}","starred_url":"https://api.github.com/users/tingleyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tingleyd/subscriptions","organizations_url":"https://api.github.com/users/tingleyd/orgs","repos_url":"https://api.github.com/users/tingleyd/repos","events_url":"https://api.github.com/users/tingleyd/events{/privacy}","received_events_url":"https://api.github.com/users/tingleyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-08-15T21:12:42Z","updated_at":"2018-08-24T19:25:33Z","closed_at":null,"author_association":"NONE","body":"I'm using quick_pdf to create a pdf of a regression table, that I then want to use in a latex document. However, when it prints, it prints an entire page, and even puts in a page number. \r\n\r\nI tried adjusting borders, but as expected this didn't have an impact. \r\n\r\ncollected<-huxreg(u,i, ii,  statistics = c(N = \"nobs\",  \"BIC\"))\r\nquick_pdf(collected, file = \"IntenseRegressions.pdf\", borders=.1)\r\n\r\nu, i, and ii are just objects from lm()\r\n\r\nIs there a way to write a .pdf file that is only the regression table and nothing else around it? \r\n \r\n[IntenseRegressions.pdf](https://github.com/hughjonesd/huxtable/files/2291724/IntenseRegressions.pdf)\r\n"},"comment":{"url":"https://api.github.com/repos/hughjonesd/huxtable/issues/comments/415858965","html_url":"https://github.com/hughjonesd/huxtable/issues/81#issuecomment-415858965","issue_url":"https://api.github.com/repos/hughjonesd/huxtable/issues/81","id":415858965,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTg1ODk2NQ==","user":{"login":"tingleyd","id":1766874,"node_id":"MDQ6VXNlcjE3NjY4NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1766874?v=4","gravatar_id":"","url":"https://api.github.com/users/tingleyd","html_url":"https://github.com/tingleyd","followers_url":"https://api.github.com/users/tingleyd/followers","following_url":"https://api.github.com/users/tingleyd/following{/other_user}","gists_url":"https://api.github.com/users/tingleyd/gists{/gist_id}","starred_url":"https://api.github.com/users/tingleyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tingleyd/subscriptions","organizations_url":"https://api.github.com/users/tingleyd/orgs","repos_url":"https://api.github.com/users/tingleyd/repos","events_url":"https://api.github.com/users/tingleyd/events{/privacy}","received_events_url":"https://api.github.com/users/tingleyd/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T19:25:33Z","updated_at":"2018-08-24T19:25:33Z","author_association":"NONE","body":"Thanks so much.\n\nI really do think this will be very helpful. I've spoken to several of my\nstaff as well as graduate students and they completely agree. The\nadditional options are minimal.\n\nI tried it out and could not get the height and width changes to alter the\n.pdf file. Would you mind sharing the syntax you used in a quick_pdf()\ncall?\n\nIn looking at the source code, it seems like it should work (the core\nsprintf call being   cat(sprintf(\"\\\\usepackage[%s]{geometry}\\n\",\ndim_string)))\n\n\n\n\n\n\n\nDustin Tingley\nProfessor of Government\nGovernment Department\nHarvard University\ndustintingley.org\n\nFaculty Director, Vice Provost on Advances in Learning (VPAL) Research Team\n<http://vpal.harvard.edu/research>\n\nCheck out:\nABLConnect <http://ablconnect.harvard.edu/>, the Active and Activity Based\nLearning Connection, and Undergraduate Research Scholars\n<http://urs.iq.harvard.edu/>, Institute of Quantitative Social Science\n(Contribute to the Research Resource Reservoir\n<http://urs.iq.harvard.edu/pages/research-resources>)\n\ndart.harvard.edu/about (Digital Assets for Reuse in Teaching)\n\nOn Fri, Aug 24, 2018 at 11:45 AM, David Hugh-Jones <notifications@github.com\n> wrote:\n\n> If you could try out github master and see if it works for what you need,\n> that would be great. I am a bit loth to do this, because it adds complexity\n> to `quick_pdf, but if you find this is worthwhile, I'm open to it. I've\n> also removed page numbering.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/hughjonesd/huxtable/issues/81#issuecomment-415799406>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABr12nCwA1x1UfgMGgZ8HDqz-FIOzCuzks5uUB-NgaJpZM4V-0iv>\n> .\n>\n"}}
{"actor":{"display_login":"tingleyd"}}