{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2796","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2796/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2796/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2796/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2796","id":133553495,"node_id":"MDU6SXNzdWUxMzM1NTM0OTU=","number":2796,"title":"combining header-html and and footer-right footer-left does not work","user":{"login":"WolfgangFahl","id":1336221,"node_id":"MDQ6VXNlcjEzMzYyMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1336221?v=4","gravatar_id":"","url":"https://api.github.com/users/WolfgangFahl","html_url":"https://github.com/WolfgangFahl","followers_url":"https://api.github.com/users/WolfgangFahl/followers","following_url":"https://api.github.com/users/WolfgangFahl/following{/other_user}","gists_url":"https://api.github.com/users/WolfgangFahl/gists{/gist_id}","starred_url":"https://api.github.com/users/WolfgangFahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WolfgangFahl/subscriptions","organizations_url":"https://api.github.com/users/WolfgangFahl/orgs","repos_url":"https://api.github.com/users/WolfgangFahl/repos","events_url":"https://api.github.com/users/WolfgangFahl/events{/privacy}","received_events_url":"https://api.github.com/users/WolfgangFahl/received_events","type":"User","site_admin":false},"labels":[{"id":79167298,"node_id":"MDU6TGFiZWw3OTE2NzI5OA==","url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/labels/NeedInfo","name":"NeedInfo","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-14T16:39:15Z","updated_at":"2018-09-05T09:56:07Z","closed_at":null,"author_association":"NONE","body":"The following script \n\n```\n/usr/local/bin/wkhtmltopdf \\\n --encoding iso-8859-1  \\\n --minimum-font-size 18 \\\n --margin-bottom 20mm \\\n cover /tmp/pdf-book56c0aba472129-title.html \\\n  toc  \\\n page /tmp/pdf-book56c0aba472129.html \\\n --header-spacing 10 \\\n --header-html /tmp/pdf-book56c0aba472129-header.html \\\n --footer-right '[page]/[topage]' \\\n --footer-left '[date]' \\\n --footer-spacing 10 \\\n /tmp/pdf-book56c0aba472129.pdf\n```\n\ndoes not generate page numbers any more. If I leave out the header-html option than it works.\n"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/418672565","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2796#issuecomment-418672565","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2796","id":418672565,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODY3MjU2NQ==","user":{"login":"Tomsgu","id":2694769,"node_id":"MDQ6VXNlcjI2OTQ3Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/2694769?v=4","gravatar_id":"","url":"https://api.github.com/users/Tomsgu","html_url":"https://github.com/Tomsgu","followers_url":"https://api.github.com/users/Tomsgu/followers","following_url":"https://api.github.com/users/Tomsgu/following{/other_user}","gists_url":"https://api.github.com/users/Tomsgu/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomsgu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomsgu/subscriptions","organizations_url":"https://api.github.com/users/Tomsgu/orgs","repos_url":"https://api.github.com/users/Tomsgu/repos","events_url":"https://api.github.com/users/Tomsgu/events{/privacy}","received_events_url":"https://api.github.com/users/Tomsgu/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T09:56:07Z","updated_at":"2018-09-05T09:56:07Z","author_association":"CONTRIBUTOR","body":"Posting a workaround from @Schtorsk here since I closed the #3064 as duplicate of this issue:\r\n\r\n> I thought I had the same problem too. But I really needed to combineheader-html with footer-center so I persevered. Turns out it was just a margin problem.\r\n>\r\n>This does not work:\r\n>--footer-center \"[page]/[toPage]\" --header-html \"someUrlToHtmlFile\"\r\n>\r\n>This does:\r\n>--footer-center \"[page]/[toPage]\" --header-html \"someUrlToHtmlFile\" --margin-top 35mm --margin-bottom 15mm\"\r\n>\r\n>Maybe you're facing the same problem?"}}
{"actor":{"display_login":"Tomsgu"}}