public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Beamer & reveal.js without captions
@ 2021-01-20  5:05 jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found] ` <786c5fff-95db-402a-87f6-c5c0a8ee7231n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-01-20  5:05 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2236 bytes --]

I'm attempting the someone quixotic task of making both Beamer and 
reveal.js slideshows from the same markdown file. The source markdown is 
pretty simple stuff, mostly images that have captions (so, figures 
via implicit_figures) , occasionally interspersed with some text. So 
basically a lot of "slides" that contain one image as big as I can get it.

The issue is that I'd prefer that the image captions not show while I'm 
using the slideshow (in class). That's easy enough to do in the reveal.js 
with some css. (I actually have the caption appear on hover, which is 
handy.) It's not so easy in Beamer which wants to put the captions below 
each image.

I can get around the Beamer captions in two ways. First is to remove the 
caption completely. This is a somewhat ugly approach and I have to worry 
about putting the caption text in and out depending on what I want to do, 
since I don't want to just throw away that information. The second method 
is to make the image not the only thing in its paragraph, so that 
implicit_figures doesn't kick in and it doesn't get treated like a figure. 
The problem with this one is that reveal.js also treats it like an image 
and so my nice css doesn't work.

I expect that I could probably use a filter to remove the captions when I 
make the Beamer output and not when I do the reveal.js, but I'm wondering 
if there's another way to have the Beamer not show captions. I played a bit 
with the latex, but I think I'm being thwarted by the caption commands that 
are in the tex file that pandoc generates.

PS I might also find a way around this by messing with the reveal.js css so 
that it treats the img like it does the figure. Haven't tried that yet 
because PDFs are more convenient for this zoom teaching I'm doing and so 
I've been messing with that output format.

-- 
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/786c5fff-95db-402a-87f6-c5c0a8ee7231n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2600 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found] ` <786c5fff-95db-402a-87f6-c5c0a8ee7231n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-01-20  5:25   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
  2021-01-20 23:59   ` John MacFarlane
  1 sibling, 0 replies; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-01-20  5:25 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2493 bytes --]

PS Should have added that both Beamer work-arounds also remove the 
centering of the image.

On Wednesday, 20 January 2021 at 00:05:32 UTC-5 jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

> I'm attempting the someone quixotic task of making both Beamer and 
> reveal.js slideshows from the same markdown file. The source markdown is 
> pretty simple stuff, mostly images that have captions (so, figures 
> via implicit_figures) , occasionally interspersed with some text. So 
> basically a lot of "slides" that contain one image as big as I can get it.
>
> The issue is that I'd prefer that the image captions not show while I'm 
> using the slideshow (in class). That's easy enough to do in the reveal.js 
> with some css. (I actually have the caption appear on hover, which is 
> handy.) It's not so easy in Beamer which wants to put the captions below 
> each image.
>
> I can get around the Beamer captions in two ways. First is to remove the 
> caption completely. This is a somewhat ugly approach and I have to worry 
> about putting the caption text in and out depending on what I want to do, 
> since I don't want to just throw away that information. The second method 
> is to make the image not the only thing in its paragraph, so that 
> implicit_figures doesn't kick in and it doesn't get treated like a figure. 
> The problem with this one is that reveal.js also treats it like an image 
> and so my nice css doesn't work.
>
> I expect that I could probably use a filter to remove the captions when I 
> make the Beamer output and not when I do the reveal.js, but I'm wondering 
> if there's another way to have the Beamer not show captions. I played a bit 
> with the latex, but I think I'm being thwarted by the caption commands that 
> are in the tex file that pandoc generates.
>
> PS I might also find a way around this by messing with the reveal.js css 
> so that it treats the img like it does the figure. Haven't tried that yet 
> because PDFs are more convenient for this zoom teaching I'm doing and so 
> I've been messing with that output format.
>

-- 
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/659f5103-e506-473d-a677-40e72ce0434dn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3049 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found] ` <786c5fff-95db-402a-87f6-c5c0a8ee7231n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2021-01-20  5:25   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
@ 2021-01-20 23:59   ` John MacFarlane
       [not found]     ` <m2bldjf9c8.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  1 sibling, 1 reply; 9+ messages in thread
From: John MacFarlane @ 2021-01-20 23:59 UTC (permalink / raw)
  To: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss


Will it work to add

\newcommand{\caption}[1]{}

to your header-includes?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found]     ` <m2bldjf9c8.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-01-21  0:10       ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found]         ` <89a71570-9ee0-4f56-8c16-0ae1dd4a1cd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-01-21  0:10 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1000 bytes --]

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 <return>  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-discuss+unsubscribe-/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.

[-- Attachment #1.2: Type: text/html, Size: 2005 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found]         ` <89a71570-9ee0-4f56-8c16-0ae1dd4a1cd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-01-21  6:18           ` John MacFarlane
       [not found]             ` <m2r1meertu.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: John MacFarlane @ 2021-01-21  6:18 UTC (permalink / raw)
  To: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss


Oh, sorry.  You need to use \renewcommand not \newcommand.

"jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <jmuccigr-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 <return>  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-discuss+unsubscribe-/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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found]             ` <m2r1meertu.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-01-21 12:05               ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found]                 ` <da33d7e2-0133-4e79-8fa7-ec4625fc4e04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-01-21 12:05 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1695 bytes --]

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" <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 <return> 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/da33d7e2-0133-4e79-8fa7-ec4625fc4e04n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3076 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found]                 ` <da33d7e2-0133-4e79-8fa7-ec4625fc4e04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-02-28 19:02                   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found]                     ` <12973622-a6fd-459f-9878-9636a126c811n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2022-02-28 19:02 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2571 bytes --]

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" <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 <return> 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.

[-- Attachment #1.2: Type: text/html, Size: 4312 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found]                     ` <12973622-a6fd-459f-9878-9636a126c811n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-02-28 19:03                       ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found]                         ` <2a08ee67-b54c-4b57-8914-e9c821a49381n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2022-02-28 19:03 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2947 bytes --]

PS I don't usually put tables into the slideshows I use this on, so I have 
no idea how long this has been happening for.

On Monday, 28 February 2022 at 14:02:32 UTC-5 jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

> 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" <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 <return> 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/2a08ee67-b54c-4b57-8914-e9c821a49381n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 4789 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Beamer & reveal.js without captions
       [not found]                         ` <2a08ee67-b54c-4b57-8914-e9c821a49381n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-03-17 20:09                           ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
  0 siblings, 0 replies; 9+ messages in thread
From: jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2022-03-17 20:09 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 3178 bytes --]

No thoughts on this one?

On Monday, 28 February 2022 at 14:03:28 UTC-5 jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

> PS I don't usually put tables into the slideshows I use this on, so I have 
> no idea how long this has been happening for.
>
> On Monday, 28 February 2022 at 14:02:32 UTC-5 jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>
>> 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" <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 <return> 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/6f8c2310-6208-4704-a180-053d760224c3n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5091 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-17 20:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20  5:05 Beamer & reveal.js without captions jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found] ` <786c5fff-95db-402a-87f6-c5c0a8ee7231n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-01-20  5:25   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2021-01-20 23:59   ` John MacFarlane
     [not found]     ` <m2bldjf9c8.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-01-21  0:10       ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]         ` <89a71570-9ee0-4f56-8c16-0ae1dd4a1cd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-01-21  6:18           ` John MacFarlane
     [not found]             ` <m2r1meertu.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-01-21 12:05               ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]                 ` <da33d7e2-0133-4e79-8fa7-ec4625fc4e04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-02-28 19:02                   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]                     ` <12973622-a6fd-459f-9878-9636a126c811n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-02-28 19:03                       ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]                         ` <2a08ee67-b54c-4b57-8914-e9c821a49381n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-03-17 20:09                           ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).