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

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).