emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: unexpected behaviour in org beamer export
Date: Fri, 10 Jul 2020 11:00:22 +0100	[thread overview]
Message-ID: <877dvbr8p5.fsf@ucl.ac.uk> (raw)

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

Hello all,

I have some slides that I would normally export to beamer.  However, I
need, in one case, to export these slides to HTML as well.  I don't
expect to get the same functionality in this case, of course.

In any case, if I use the <n-> directives in beamer for exposing parts
of a slide at different times, these <n-> constructs get exported to the
HTML verbatim.  So, I thought I would protect them within @@latex:...@@
constructs.  Although that works for HTML export (i.e. they no longer
appear), the LaTeX export is now broken: the directives are followed but
they are also exported as text in the slide.

The minimal example org file that illustrates this is attached.

(org recent from git yesterday)

Thank you,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-682-geac255

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: t.org --]
[-- Type: text/x-org, Size: 258 bytes --]

#+title: The title of the talk

* this works for LaTeX 
but not HTML:
1. Draw something
2. <2-> Draw some more
3. <3-> Add some labels
* this works for HTML 
but not LaTeX:
1. Draw something
2. @@latex:<2->@@ Draw some more
3. @@latex:<3->@@ Add some labels

             reply	other threads:[~2020-07-10 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 10:00 Eric S Fraga [this message]
2020-07-10 10:38 ` Eric S Fraga

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=877dvbr8p5.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: unexpected behaviour in org beamer export' \
    /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

Code repositories for project(s) associated with this inbox:

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).