R md with beamer compilation error with latest TeX update

! Undefined control sequence. @@magyar@captionfix

I am getting the error above while compiling a beamer presentation using R markdown. This happened after upgrading to latest tex base. Apparently this is a known error with newest Tex update. More about this issue captions - TeXLive Pretest 2018: beamer and subfig collide - TeX - LaTeX Stack Exchange

This issue can be resolved by adding a \relax option to the .tex document. However, I am preparing a beamer presentation with R markdown. So, this two step process of adding the command to the Tex document after pandoc converts the md to tex will be super annoying.

Any known fix?

1 Like

I'm having the same issue, any luck?