{"action":"created","issue":{"url":"https://api.github.com/repos/aaronwolen/pandoc-letter/issues/15","repository_url":"https://api.github.com/repos/aaronwolen/pandoc-letter","labels_url":"https://api.github.com/repos/aaronwolen/pandoc-letter/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/aaronwolen/pandoc-letter/issues/15/comments","events_url":"https://api.github.com/repos/aaronwolen/pandoc-letter/issues/15/events","html_url":"https://github.com/aaronwolen/pandoc-letter/issues/15","id":219869685,"number":15,"title":"German-style dates (\"1. Januar 2017\") throw error in pdf generation","user":{"login":"lordminx","id":5670774,"avatar_url":"https://avatars2.githubusercontent.com/u/5670774?v=3","gravatar_id":"","url":"https://api.github.com/users/lordminx","html_url":"https://github.com/lordminx","followers_url":"https://api.github.com/users/lordminx/followers","following_url":"https://api.github.com/users/lordminx/following{/other_user}","gists_url":"https://api.github.com/users/lordminx/gists{/gist_id}","starred_url":"https://api.github.com/users/lordminx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordminx/subscriptions","organizations_url":"https://api.github.com/users/lordminx/orgs","repos_url":"https://api.github.com/users/lordminx/repos","events_url":"https://api.github.com/users/lordminx/events{/privacy}","received_events_url":"https://api.github.com/users/lordminx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-06T11:36:36Z","updated_at":"2017-04-07T14:15:23Z","closed_at":null,"body":"When trying to generate a letter with a date like \"1. Januar 2017\", when invoking\r\n`pandoc --template=template-letter.tex test.md -o test.pdf`\r\n\r\nit throws the following error:\r\n\r\n> ! LaTeX Error: Something's wrong--perhaps a missing \\item.\r\n> \r\n> See the LaTeX manual or LaTeX Companion for explanation.\r\n> Type  H <return>  for immediate help.\r\n> ...                                              \r\n>                                                  \r\n> l.74 \\opening{To whom it may concern,}\r\n> \r\n> pandoc: Error producing PDF\r\n\r\nIt seems german-style dates (Which are written with a dot to donate the ordering, ie. \"1. Januar 2017\" meaning \"first of january of the year 2017\") are parsed as lists or something like that, resulting in compiled LaTeX like this:\r\n\r\n```\r\n\\date{\\begin{enumerate}\r\n\\def\\labelenumi{\\arabic{enumi}.}\r\n\\setcounter{enumi}{5}\r\n\\tightlist\r\n\\item\r\n  April 2017\r\n\\end{enumerate}}\r\n```\r\n\r\ninstead of the correct\r\n\r\n`\\date{6 April 2017}`\r\n\r\nSadly, my LaTeX skills are nonexistant, so I wouldn't even know where to start fixing this. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aaronwolen/pandoc-letter/issues/comments/292548213","html_url":"https://github.com/aaronwolen/pandoc-letter/issues/15#issuecomment-292548213","issue_url":"https://api.github.com/repos/aaronwolen/pandoc-letter/issues/15","id":292548213,"user":{"login":"aaronwolen","id":1067915,"avatar_url":"https://avatars1.githubusercontent.com/u/1067915?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronwolen","html_url":"https://github.com/aaronwolen","followers_url":"https://api.github.com/users/aaronwolen/followers","following_url":"https://api.github.com/users/aaronwolen/following{/other_user}","gists_url":"https://api.github.com/users/aaronwolen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronwolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronwolen/subscriptions","organizations_url":"https://api.github.com/users/aaronwolen/orgs","repos_url":"https://api.github.com/users/aaronwolen/repos","events_url":"https://api.github.com/users/aaronwolen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronwolen/received_events","type":"User","site_admin":false},"created_at":"2017-04-07T14:15:23Z","updated_at":"2017-04-07T14:15:23Z","body":"I'm not sure about that. Even if there is, I'd be hesitant to implement it here because I try to keep this template at parity with pandoc's latex template. "}}
{"actor":{"display_login":"aaronwolen"}}