{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/rmarkdown/issues/364","labels_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/364/comments","events_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/364/events","html_url":"https://github.com/rstudio/rmarkdown/issues/364","id":55904296,"number":364,"title":"pandoc document conversion failed with error 43","user":{"login":"StepanSushko","id":10278466,"avatar_url":"https://avatars.githubusercontent.com/u/10278466?v=3","gravatar_id":"","url":"https://api.github.com/users/StepanSushko","html_url":"https://github.com/StepanSushko","followers_url":"https://api.github.com/users/StepanSushko/followers","following_url":"https://api.github.com/users/StepanSushko/following{/other_user}","gists_url":"https://api.github.com/users/StepanSushko/gists{/gist_id}","starred_url":"https://api.github.com/users/StepanSushko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepanSushko/subscriptions","organizations_url":"https://api.github.com/users/StepanSushko/orgs","repos_url":"https://api.github.com/users/StepanSushko/repos","events_url":"https://api.github.com/users/StepanSushko/events{/privacy}","received_events_url":"https://api.github.com/users/StepanSushko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rstudio/rmarkdown/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-29T14:19:49Z","updated_at":"2015-03-27T05:41:51Z","closed_at":"2015-02-09T14:56:14Z","body":"I saw that this error already discussed. I tried to install devtools::install_github('rstudio/rmarkdown') . But it doesn't work for me. I updated R (Version 0.98.1091) and MikTex (x64). Besdies I have win 8.1 x64. I still can't knit minimal TeX example:\r\n\r\n```\r\n---\r\noutput: pdf_document\r\n---\r\n\\documentclass[article]\r\n\\begin{document}\r\n\r\nThis is an R Markdown document.\r\n\r\n\\end{document}\r\n```\r\n\r\nLog:\r\n\"C:/Program Files/RStudio/bin/pandoc/pandoc\" Preview-147c60ce730c.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output Preview-147c60ce730c.pdf --template \"C:\\PROGRA~1\\R\\R-31~1.2\\library\\RMARKD~1\\rmd\\latex\\default.tex\" --highlight-style tango --latex-engine pdflatex --variable \"geometry:margin=1in\" \r\n\r\n\r\nprocessing file: Preview-147c60ce730c.Rmd\r\noutput file: Preview-147c60ce730c.knit.md\r\n\r\n! LaTeX Error: Can be used only in preamble.\r\n\r\nSee the LaTeX manual or LaTeX Companion for explanation.\r\nType  H <return>  for immediate help.\r\n ...                                              \r\n                                                  \r\nl.74 \\begin{document}\r\n\r\npandoc.exe: Error producing PDF from TeX source\r\n������: pandoc document conversion failed with error 43\r\n��������: ��������������\r\n���������� ������� '\"C:/Program Files/RStudio/bin/pandoc/pandoc\" Preview-147c60ce730c.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output Preview-147c60ce730c.pdf --template \"C:\\PROGRA~1\\R\\R-31~1.2\\library\\RMARKD~1\\rmd\\latex\\default.tex\" --highlight-style tango --latex-engine pdflatex --variable \"geometry:margin=1in\"' ����� ������ 43 \r\n���������� �����������"},"comment":{"url":"https://api.github.com/repos/rstudio/rmarkdown/issues/comments/86834412","html_url":"https://github.com/rstudio/rmarkdown/issues/364#issuecomment-86834412","issue_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/364","id":86834412,"user":{"login":"cvbusa","id":8770816,"avatar_url":"https://avatars.githubusercontent.com/u/8770816?v=3","gravatar_id":"","url":"https://api.github.com/users/cvbusa","html_url":"https://github.com/cvbusa","followers_url":"https://api.github.com/users/cvbusa/followers","following_url":"https://api.github.com/users/cvbusa/following{/other_user}","gists_url":"https://api.github.com/users/cvbusa/gists{/gist_id}","starred_url":"https://api.github.com/users/cvbusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvbusa/subscriptions","organizations_url":"https://api.github.com/users/cvbusa/orgs","repos_url":"https://api.github.com/users/cvbusa/repos","events_url":"https://api.github.com/users/cvbusa/events{/privacy}","received_events_url":"https://api.github.com/users/cvbusa/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T05:41:51Z","updated_at":"2015-03-27T05:41:51Z","body":"HI ... I was getting this pandoc error 43 when running Knit PDF because of the following \"bad\" Rmarkdown code:\r\n\r\n* #### An unordered list text using Header 4 \r\n\r\nThe code below works fine and a PDF is created without error:\r\n\r\n#### Regular text using Header 4.\r\n\r\nCharles."}}