all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Orm Finnendahl <orm.finnendahl@selma.hfmdk-frankfurt.de>
To: luis antunes pena <antunespena@web.de>
Cc: Org mailing list <emacs-orgmode@gnu.org>
Subject: Re: Audio File in beamer and orgmode
Date: Wed, 2 Oct 2024 14:43:58 +0200	[thread overview]
Message-ID: <Zv1ADtD4VIv3G7gY@orm-t14s> (raw)
In-Reply-To: <f00a20ac-482a-4bc9-87e7-ef60c0704c02@web.de>

Hi Luís,

 it doesn't work OOTB in org-mode, but you can always embed LaTex
verbatim in Org files using the #+LATEX: prefix.

My recommendation: Generate a LaTex file from org beamer with some
blind text at a place where you need your link and then check, what
you have to input there in order to get working links to audio files
by directly rendering from the LaTeX file generated by org.

This page might get you there:

https://tex.stackexchange.com/questions/51632/embedding-sound-files-into-beamer-presentation-with-media9

This part on the page:

\includemedia[
  addresource=igottafever.mp3,
  flashvars={
    source=igottafever.mp3
   &autoPlay=true
  }

has to be marked up in org-mode like this to appear in the latex after
export:

#+LATEX: \includemedia[
#+LATEX:   addresource=igottafever.mp3,
#+LATEX:   flashvars={
#+LATEX:     source=igottafever.mp3
#+LATEX:    &autoPlay=true
#+LATEX:   }

Once it works, this could also be put into an elisp function and
invoked on a keystroke prompting for the url and its name. I think you
can also use #+BEGIN_LATEX: and #+END_LATEX: to avoid repeating the
#+LATEX on every line.

--
Orm


Am Mittwoch, den 02. Oktober 2024 um 11:50:10 Uhr (+0200) schrieb luis
antunes pena:
> Dear all,
> 
> I'm working on a presentation in beamer using
> orgmode and couldn´t find information on how to
> include an audio file in orgmode to be converted
> to beamer and a pdf.
> 
> Is there any example that you could share?
> 
> Thanks in advance.
> 
> Luís


  reply	other threads:[~2024-10-02 12:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02  9:50 Audio File in beamer and orgmode luis antunes pena
2024-10-02 12:43 ` Orm Finnendahl [this message]
2024-10-02 15:07   ` luis antunes pena
2024-10-02 17:51     ` Orm Finnendahl
2024-10-02 15:20   ` Leo Butler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zv1ADtD4VIv3G7gY@orm-t14s \
    --to=orm.finnendahl@selma.hfmdk-frankfurt.de \
    --cc=antunespena@web.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.