OK, getting some funny stuff on this year-old solution. To wit, if I include a table in the page, I get the caption labels. ``` > pandoc -t beamer -o Slides.pdf --- header-includes: \renewcommand{\caption}[1]{} title: Title author: Author date: March 11, 2022 ... ![\ ](image.jpg) ``` works as expected. No caption label below the image. Now add a little table to the end (or the start), and the label pops back up: ``` > pandoc -t beamer -o /Users/john_muccigrosso/Documents/Academic/Talks/Perugia/Slides.pdf --- header-includes: \renewcommand{\caption}[1]{} title: Title author: Author date: March 11, 2022 ... ![\ ](image.jpg) ----- | table | |:----:| | cell | ``` This happens to every image in a slideshow. On Thursday, 21 January 2021 at 07:05:13 UTC-5 jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > Yes, that's the winner! Thanks. > > On Thursday, 21 January 2021 at 01:18:21 UTC-5 John MacFarlane wrote: > >> >> Oh, sorry. You need to use \renewcommand not \newcommand. >> >> "jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" writes: >> >> > It seems not: >> > >> > ``` >> > pandoc reported the following error: >> > >> > Error producing PDF. >> > ! LaTeX Error: Command \caption already defined. >> > Or name \end... illegal, see p.192 of the manual. >> > >> > See the LaTeX manual or LaTeX Companion for explanation. >> > Type H for immediate help. >> > ... >> > >> > l.100 \newcommand{\caption}[1]{} >> > ``` >> > >> > >> > On Wednesday, 20 January 2021 at 19:00:06 UTC-5 John MacFarlane wrote: >> > >> >> >> >> Will it work to add >> >> >> >> \newcommand{\caption}[1]{} >> >> >> >> to your header-includes? >> >> >> >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/89a71570-9ee0-4f56-8c16-0ae1dd4a1cd4n%40googlegroups.com >> . >> > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/12973622-a6fd-459f-9878-9636a126c811n%40googlegroups.com.