all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to beamer export overlay figure?
@ 2022-08-10 16:39 edgar
  2022-08-11  9:51 ` Fraga, Eric
  2022-08-11 16:33 ` Max Nikulin
  0 siblings, 2 replies; 16+ messages in thread
From: edgar @ 2022-08-10 16:39 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

I would like to know if there is an "Org" way of doing this with the 
beamer export:

#+begin_src latex
* Section
** Sub-section
*** Slide
**** figure block
#+latex: \includegraphics<2->[height=0.5\regheight]{example-image-a}
#+end_src

That is: replacing the =#+latex:= line with a =[[file:figure.png]]= 
which allows for overlays with Beamer. I already tried some stuff, but I 
think that it would only be noise to add it here. Thanks!

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


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

* Re: how to beamer export overlay figure?
  2022-08-10 16:39 how to beamer export overlay figure? edgar
@ 2022-08-11  9:51 ` Fraga, Eric
  2022-08-11 13:05   ` edgar
  2022-08-11 16:33 ` Max Nikulin
  1 sibling, 1 reply; 16+ messages in thread
From: Fraga, Eric @ 2022-08-11  9:51 UTC (permalink / raw)
  To: edgar@openmail.cc; +Cc: emacs-orgmode@gnu.org

On Wednesday, 10 Aug 2022 at 16:39, edgar@openmail.cc wrote:
> That is: replacing the =#+latex:= line with a =[[file:figure.png]]=
> which allows for overlays with Beamer. I already tried some stuff, but I
> think that it would only be noise to add it here. Thanks!

Try

#+attr_latex: :options <2->
[[file:figure.png]]

Seems to work for me.
-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

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

* Re: how to beamer export overlay figure?
  2022-08-11  9:51 ` Fraga, Eric
@ 2022-08-11 13:05   ` edgar
  2022-08-11 14:06     ` Fraga, Eric
  2022-08-12 11:50     ` Fraga, Eric
  0 siblings, 2 replies; 16+ messages in thread
From: edgar @ 2022-08-11 13:05 UTC (permalink / raw)
  To: Org Mode List

On 2022-08-11 09:51, Fraga, Eric wrote:
> #+attr_latex: :options <2->
> [[file:figure.png]]

Thanks. That creates

     \begin{center}
     \includegraphics[<2->,width=.9\linewidth]{example-image-a.png}
     \end{center}

(the <2-> is within the square brackets).

GNU Emacs 28.1, Org 9.4.6. I did M-: (require 'ox-beamer)

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


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

* Re: how to beamer export overlay figure?
  2022-08-11 13:05   ` edgar
@ 2022-08-11 14:06     ` Fraga, Eric
  2022-08-11 16:14       ` edgar
  2022-08-12 11:50     ` Fraga, Eric
  1 sibling, 1 reply; 16+ messages in thread
From: Fraga, Eric @ 2022-08-11 14:06 UTC (permalink / raw)
  To: edgar@openmail.cc; +Cc: Org Mode List

On Thursday, 11 Aug 2022 at 13:05, edgar@openmail.cc wrote:
> (the <2-> is within the square brackets).

Ooops.  Sorry about that.  Didn't look closely enough at the LaTeX
created.  My bad.

In that case, I'm out of suggestions other than to put the <2-> on the
list entry itself (which I believe is possible) or as an option for a
block that only contains the figure?

-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

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

* Re: how to beamer export overlay figure?
  2022-08-11 14:06     ` Fraga, Eric
@ 2022-08-11 16:14       ` edgar
  0 siblings, 0 replies; 16+ messages in thread
From: edgar @ 2022-08-11 16:14 UTC (permalink / raw)
  To: Org Mode List

On 2022-08-11 14:06, Fraga, Eric wrote:
> On Thursday, 11 Aug 2022 at 13:05, edgar@openmail.cc wrote:
>> (the <2-> is within the square brackets).
> 
> Ooops.  Sorry about that.  Didn't look closely enough at the LaTeX
> created.  My bad.
> 
> In that case, I'm out of suggestions other than to put the <2-> on the
> list entry itself (which I believe is possible) or as an option for a
> block that only contains the figure?

Thank you for your time and the suggestions :) .

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


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

* Re: how to beamer export overlay figure?
  2022-08-10 16:39 how to beamer export overlay figure? edgar
  2022-08-11  9:51 ` Fraga, Eric
@ 2022-08-11 16:33 ` Max Nikulin
  2022-08-12  8:18   ` Fraga, Eric
  1 sibling, 1 reply; 16+ messages in thread
From: Max Nikulin @ 2022-08-11 16:33 UTC (permalink / raw)
  To: emacs-orgmode

On 10/08/2022 23:39, edgar wrote:
> 
> #+latex: \includegraphics<2->[height=0.5\regheight]{example-image-a}
> 
> That is: replacing the =#+latex:= line with a =[[file:figure.png]]= 
> which allows for overlays with Beamer. I already tried some stuff, but I 
> think that it would only be noise to add it here. Thanks!

I have not tried it, but the manual suggests

#+ATTR_BEAMER: :overlay <2->

Does it work for lists only and not for images?

info "(org) Beamer specific syntax" 
https://orgmode.org/manual/Beamer-specific-syntax.html



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

* Re: how to beamer export overlay figure?
  2022-08-11 16:33 ` Max Nikulin
@ 2022-08-12  8:18   ` Fraga, Eric
  0 siblings, 0 replies; 16+ messages in thread
From: Fraga, Eric @ 2022-08-12  8:18 UTC (permalink / raw)
  To: Max Nikulin; +Cc: emacs-orgmode@gnu.org

On Thursday, 11 Aug 2022 at 23:33, Max Nikulin wrote:
> I have not tried it, but the manual suggests
>
> #+ATTR_BEAMER: :overlay <2->
>
> Does it work for lists only and not for images?

No, it definitely does not work for images.  I've been looking at the
code.  It should be possible to add this functionality.  Just trying to
get my head around the code at the moment and I'll try to do something,
assuming my elisp-fu is up to it.
-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

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

* Re: how to beamer export overlay figure?
  2022-08-11 13:05   ` edgar
  2022-08-11 14:06     ` Fraga, Eric
@ 2022-08-12 11:50     ` Fraga, Eric
  2022-08-12 14:35       ` edgar
  2022-08-13  9:16       ` Ihor Radchenko
  1 sibling, 2 replies; 16+ messages in thread
From: Fraga, Eric @ 2022-08-12 11:50 UTC (permalink / raw)
  To: edgar@openmail.cc; +Cc: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

Attached is a patch that seems to do what you want.  Are you able to try
this?

I'm sure there's a better way to do this but at least this seems to
work.

-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch --]
[-- Type: text/x-diff; name="0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch", Size: 2073 bytes --]

From d17d91eb8441876a87e7405de63b3e594bb8ecc6 Mon Sep 17 00:00:00 2001
From: Eric S Fraga <e.fraga@ucl.ac.uk>
Date: Fri, 12 Aug 2022 12:46:18 +0100
Subject: [PATCH] lisp/ox-beamer: Enable use of overlays for images

* ox-beamer.el (org-beamer-link): If an overlay beamer attributed has
been provided, use it for images.
---
 lisp/ox-beamer.el | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el
index e6232d8d2..8112b97df 100644
--- a/lisp/ox-beamer.el
+++ b/lisp/ox-beamer.el
@@ -734,13 +734,23 @@ used as a communication channel."
   (or (org-export-custom-protocol-maybe link contents 'beamer info)
       ;; Fall-back to LaTeX export.  However, prefer "\hyperlink" over
       ;; "\hyperref" since the former handles overlay specifications.
-      (let ((latex-link (org-export-with-backend 'latex link contents info)))
-	(if (string-match "\\`\\\\hyperref\\[\\(.*?\\)\\]" latex-link)
-	    (replace-match
-	     (format "\\\\hyperlink%s{\\1}"
-		     (or (org-beamer--element-has-overlay-p link) ""))
-	     nil nil latex-link)
-	  latex-link))))
+      (let* ((latex-link (org-export-with-backend 'latex link contents info))
+             (parent (org-export-get-parent-element link))
+             (attr (org-export-read-attribute :attr_beamer parent))
+             (overlay (plist-get attr :overlay)))
+        (cond ((string-match "\\`\\\\hyperref\\[\\(.*?\\)\\]" latex-link)
+	       (replace-match
+	        (format "\\\\hyperlink%s{\\1}"
+		        (or (org-beamer--element-has-overlay-p link) ""))
+	        nil nil latex-link))
+	      ((string-match "\\\\includegraphics\\([[{]?\\)" latex-link)
+               ;; check for overlay specification and insert if present
+               (message "matched")
+               (replace-match
+	        (format "\\\\includegraphics%s\\1"
+                        (if overlay overlay ""))
+	        nil nil latex-link))
+              (t latex-link)))))
 
 
 ;;;; Plain List
-- 
2.30.2


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

* Re: how to beamer export overlay figure?
  2022-08-12 11:50     ` Fraga, Eric
@ 2022-08-12 14:35       ` edgar
  2022-08-12 14:53         ` [PATCH] " Fraga, Eric
  2022-08-13  9:16       ` Ihor Radchenko
  1 sibling, 1 reply; 16+ messages in thread
From: edgar @ 2022-08-12 14:35 UTC (permalink / raw)
  To: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

On 2022-08-12 11:50, Fraga, Eric wrote:
> Attached is a patch that seems to do what you want.  Are you able to 
> try
> this?
> 
> I'm sure there's a better way to do this but at least this seems to
> work.

It worked! Thanks. I send a counter-patch :)  (for SVG).

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

[-- Attachment #2: 0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch.gz --]
[-- Type: application/x-gzip, Size: 839 bytes --]

[-- Attachment #3: t.org.gz --]
[-- Type: application/x-gzip, Size: 426 bytes --]

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

* [PATCH] Re: how to beamer export overlay figure?
  2022-08-12 14:35       ` edgar
@ 2022-08-12 14:53         ` Fraga, Eric
  2022-08-12 20:14           ` edgar
  0 siblings, 1 reply; 16+ messages in thread
From: Fraga, Eric @ 2022-08-12 14:53 UTC (permalink / raw)
  To: edgar@openmail.cc; +Cc: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

On Friday, 12 Aug 2022 at 14:35, edgar@openmail.cc wrote:
> It worked! Thanks. I send a counter-patch :)  (for SVG).

Excellent.  I forgot about SVG.  So I throw one back at you! ;-) Just
deleted a spurious message line.

Maybe somebody with submit access can have a look and see if this is
suitable for applying to master?  Or if there is a better way of doing
this (I'm sure there is...)?

-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch --]
[-- Type: text/x-diff; name="0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch", Size: 2098 bytes --]

From e11a09b2d69db6f7da55914276751daa8e34395b Mon Sep 17 00:00:00 2001
From: Eric S Fraga <e.fraga@ucl.ac.uk>
Date: Fri, 12 Aug 2022 15:50:17 +0100
Subject: [PATCH] lisp/ox-beamer: Enable use of overlays for images

* ox-beamer.el (org-beamer-link): If an overlay beamer attributed has
been provided, use it for images.
---
 lisp/ox-beamer.el | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el
index e6232d8d2..cb35850b9 100644
--- a/lisp/ox-beamer.el
+++ b/lisp/ox-beamer.el
@@ -734,13 +734,22 @@ used as a communication channel."
   (or (org-export-custom-protocol-maybe link contents 'beamer info)
       ;; Fall-back to LaTeX export.  However, prefer "\hyperlink" over
       ;; "\hyperref" since the former handles overlay specifications.
-      (let ((latex-link (org-export-with-backend 'latex link contents info)))
-	(if (string-match "\\`\\\\hyperref\\[\\(.*?\\)\\]" latex-link)
-	    (replace-match
-	     (format "\\\\hyperlink%s{\\1}"
-		     (or (org-beamer--element-has-overlay-p link) ""))
-	     nil nil latex-link)
-	  latex-link))))
+      (let* ((latex-link (org-export-with-backend 'latex link contents info))
+             (parent (org-export-get-parent-element link))
+             (attr (org-export-read-attribute :attr_beamer parent))
+             (overlay (plist-get attr :overlay)))
+        (cond ((string-match "\\`\\\\hyperref\\[\\(.*?\\)\\]" latex-link)
+               (replace-match
+                (format "\\\\hyperlink%s{\\1}"
+                        (or (org-beamer--element-has-overlay-p link) ""))
+                nil nil latex-link))
+              ((string-match "\\\\include\\(graphics\\|svg\\)\\([[{]?\\)" latex-link)
+               ;; check for overlay specification and insert if present
+               (replace-match
+                (format "\\\\include\\1%s\\2"
+                        (if overlay overlay ""))
+                nil nil latex-link))
+              (t latex-link)))))
 
 
 ;;;; Plain List
-- 
2.30.2


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

* Re: [PATCH] Re: how to beamer export overlay figure?
  2022-08-12 14:53         ` [PATCH] " Fraga, Eric
@ 2022-08-12 20:14           ` edgar
  0 siblings, 0 replies; 16+ messages in thread
From: edgar @ 2022-08-12 20:14 UTC (permalink / raw)
  To: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

On 2022-08-12 14:53, Fraga, Eric wrote:
> Excellent.  I forgot about SVG.

I actually think that it's kind of useless, anyway (won't hurt).

Attached: example of work-arounds to {preserve,reserve,allocate} space 
for pictures in case someone needs it.




-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

[-- Attachment #2: save_overlay_space_with_beamer.tgz --]
[-- Type: application/x-gzip, Size: 31334 bytes --]

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

* Re: how to beamer export overlay figure?
  2022-08-12 11:50     ` Fraga, Eric
  2022-08-12 14:35       ` edgar
@ 2022-08-13  9:16       ` Ihor Radchenko
  2022-08-13 11:39         ` Fraga, Eric
  1 sibling, 1 reply; 16+ messages in thread
From: Ihor Radchenko @ 2022-08-13  9:16 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: edgar@openmail.cc, Org Mode List

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> +	      ((string-match "\\\\includegraphics\\([[{]?\\)" latex-link)
> +               ;; check for overlay specification and insert if present
> +               (message "matched")

I guess the message is only for testing here.

Otherwise, looks good.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92


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

* Re: how to beamer export overlay figure?
  2022-08-13  9:16       ` Ihor Radchenko
@ 2022-08-13 11:39         ` Fraga, Eric
  2022-08-14  3:34           ` Ihor Radchenko
  2022-08-14  9:30           ` Max Nikulin
  0 siblings, 2 replies; 16+ messages in thread
From: Fraga, Eric @ 2022-08-13 11:39 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: edgar@openmail.cc, Org Mode List

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Hi Ihor,

On Saturday, 13 Aug 2022 at 17:16, Ihor Radchenko wrote:
> I guess the message is only for testing here.

Indeed.  I did send a subsequent patch without the message line.  Attached here again just in case.

> Otherwise, looks good.

Can you apply it please?

Thank you,
eric

-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch --]
[-- Type: text/x-diff; name="0001-lisp-ox-beamer-Enable-use-of-overlays-for-images.patch", Size: 2098 bytes --]

From e11a09b2d69db6f7da55914276751daa8e34395b Mon Sep 17 00:00:00 2001
From: Eric S Fraga <e.fraga@ucl.ac.uk>
Date: Fri, 12 Aug 2022 15:50:17 +0100
Subject: [PATCH] lisp/ox-beamer: Enable use of overlays for images

* ox-beamer.el (org-beamer-link): If an overlay beamer attributed has
been provided, use it for images.
---
 lisp/ox-beamer.el | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el
index e6232d8d2..cb35850b9 100644
--- a/lisp/ox-beamer.el
+++ b/lisp/ox-beamer.el
@@ -734,13 +734,22 @@ used as a communication channel."
   (or (org-export-custom-protocol-maybe link contents 'beamer info)
       ;; Fall-back to LaTeX export.  However, prefer "\hyperlink" over
       ;; "\hyperref" since the former handles overlay specifications.
-      (let ((latex-link (org-export-with-backend 'latex link contents info)))
-	(if (string-match "\\`\\\\hyperref\\[\\(.*?\\)\\]" latex-link)
-	    (replace-match
-	     (format "\\\\hyperlink%s{\\1}"
-		     (or (org-beamer--element-has-overlay-p link) ""))
-	     nil nil latex-link)
-	  latex-link))))
+      (let* ((latex-link (org-export-with-backend 'latex link contents info))
+             (parent (org-export-get-parent-element link))
+             (attr (org-export-read-attribute :attr_beamer parent))
+             (overlay (plist-get attr :overlay)))
+        (cond ((string-match "\\`\\\\hyperref\\[\\(.*?\\)\\]" latex-link)
+               (replace-match
+                (format "\\\\hyperlink%s{\\1}"
+                        (or (org-beamer--element-has-overlay-p link) ""))
+                nil nil latex-link))
+              ((string-match "\\\\include\\(graphics\\|svg\\)\\([[{]?\\)" latex-link)
+               ;; check for overlay specification and insert if present
+               (replace-match
+                (format "\\\\include\\1%s\\2"
+                        (if overlay overlay ""))
+                nil nil latex-link))
+              (t latex-link)))))
 
 
 ;;;; Plain List
-- 
2.30.2


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

* Re: how to beamer export overlay figure?
  2022-08-13 11:39         ` Fraga, Eric
@ 2022-08-14  3:34           ` Ihor Radchenko
  2022-08-14  9:30           ` Max Nikulin
  1 sibling, 0 replies; 16+ messages in thread
From: Ihor Radchenko @ 2022-08-14  3:34 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: edgar@openmail.cc, Org Mode List

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

>> Otherwise, looks good.
>
> Can you apply it please?

Applied onto main via 3303a54d7 upcasing the beginning of comment and
adding "." at the end.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3303a54d74805cdd2b6eda37285f259949f7ba2e


-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92


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

* Re: how to beamer export overlay figure?
  2022-08-13 11:39         ` Fraga, Eric
  2022-08-14  3:34           ` Ihor Radchenko
@ 2022-08-14  9:30           ` Max Nikulin
  2022-08-14 13:14             ` Fraga, Eric
  1 sibling, 1 reply; 16+ messages in thread
From: Max Nikulin @ 2022-08-14  9:30 UTC (permalink / raw)
  To: emacs-orgmode

On 13/08/2022 18:39, Fraga, Eric wrote:
> 
> +              ((string-match "\\\\include\\(graphics\\|svg\\)\\([[{]?\\)" latex-link)
> +               ;; check for overlay specification and insert if present
> +               (replace-match
> +                (format "\\\\include\\1%s\\2"
> +                        (if overlay overlay ""))

ox-latex may wrap \includegraphics into various environments to add 
caption, center figure, etc. Shouldn't :overlay affect all such stuff, 
not just the image?



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

* Re: how to beamer export overlay figure?
  2022-08-14  9:30           ` Max Nikulin
@ 2022-08-14 13:14             ` Fraga, Eric
  0 siblings, 0 replies; 16+ messages in thread
From: Fraga, Eric @ 2022-08-14 13:14 UTC (permalink / raw)
  To: Max Nikulin; +Cc: emacs-orgmode@gnu.org

On Sunday, 14 Aug 2022 at 16:30, Max Nikulin wrote:
> ox-latex may wrap \includegraphics into various environments to add
> caption, center figure, etc. Shouldn't :overlay affect all such stuff,
> not just the image?

I guess so, in principle.  However, this is beamer so some of these
don't apply (e.g. captions) in most cases.  The more likely scenario is
that the figure is within a "block" and we can already put an overlay on
the block.

-- 
: Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

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

end of thread, other threads:[~2022-08-14 13:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 16:39 how to beamer export overlay figure? edgar
2022-08-11  9:51 ` Fraga, Eric
2022-08-11 13:05   ` edgar
2022-08-11 14:06     ` Fraga, Eric
2022-08-11 16:14       ` edgar
2022-08-12 11:50     ` Fraga, Eric
2022-08-12 14:35       ` edgar
2022-08-12 14:53         ` [PATCH] " Fraga, Eric
2022-08-12 20:14           ` edgar
2022-08-13  9:16       ` Ihor Radchenko
2022-08-13 11:39         ` Fraga, Eric
2022-08-14  3:34           ` Ihor Radchenko
2022-08-14  9:30           ` Max Nikulin
2022-08-14 13:14             ` Fraga, Eric
2022-08-11 16:33 ` Max Nikulin
2022-08-12  8:18   ` Fraga, Eric

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.