Closed lwaldron closed 10 years ago
Thanks for reporting this. Unfortunately I wasn't able to repro, even with pandoc 1.13.1. Here a a couple things that might help narrow down the problem:
beamer_presentation
to pdf_document
? (i.e. is this a problem every time you produce LaTeX output, or is it specific to Beamer?)test.tex
file after you render. Does that file have the offending \parFirst
sequence in it? If so, could you paste the offending lines and a few surrounding them?Rats, and I don't know if my results here will help either:
beamer_presentation
to pdf_document
.test.tex
file does not contain any \parFirst
in it. If I do pdflatex test
this compiles without error.Okay, time for some long shots. :-)
Do you see the error if you add a blank line between the lines First...
and * Then...
?
Replace the word First
with something else, say, Second
-- does parFirst
become parSecond
?
First...
and * Then...
\parFirst
becomes \parSecond
I recall that Beamer didn't work in pandoc for older versions of MacTex. Are you by chance on the Mac? If so what version of MacTeX are you running? You can determine this with the following code at the R console:
system("pdflatex --version")
On Thu, Sep 4, 2014 at 1:58 PM, Levi Waldron notifications@github.com wrote:
1.
I still see the error after adding a blank line between the lines First... and * Then... 2.
Yes, \parFirst becomes \parSecond
— Reply to this email directly or view it on GitHub https://github.com/rstudio/rmarkdown/issues/246#issuecomment-54518461.
I am on a Mac, and upgrading MacTex fixed the error! FYI here were my versions before:
> system("pdflatex --version")
pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012)
kpathsea version 6.1.0
Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.5.10; using libpng 1.5.10
Compiled with zlib 1.2.7; using zlib 1.2.7
Compiled with xpdf version 3.03
>
and after:
> system("pdflatex --version")
pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014)
kpathsea version 6.2.0
Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.10; using libpng 1.6.10
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.03
>
Great! Yes, in my previous experience TexLive 2012 didn't work properly with pandoc's Beamer template.
On Fri, Sep 5, 2014 at 11:10 AM, Levi Waldron notifications@github.com wrote:
Closed #246 https://github.com/rstudio/rmarkdown/issues/246.
— Reply to this email directly or view it on GitHub https://github.com/rstudio/rmarkdown/issues/246#event-161794663.
I am having the same problem on a Mac. Please help. Changing the output to pdf_document does not help. I have updated all my programs and the error persists. Please help
pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016)
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
The following beamer presentation errors for me when parsed by rmarkdown::render:
Here is the output: