From: Nicolas Goaziou <n.goaziou@gmail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [ANN] Beamer back-end for org-export in contrib/
Date: Mon, 02 Jul 2012 14:22:12 +0200 [thread overview]
Message-ID: <87d34egxor.fsf@gmail.com> (raw)
In-Reply-To: <CAMXnza1thm3C8sYxdWWQAbOzhspK6Zomb9PFDJ4OaUZocDs+0g@mail.gmail.com> (suvayu ali's message of "Sat, 30 Jun 2012 20:46:41 +0200")
Hello,
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
> I recall you saying you would add more overlay support gradually;
> I would like to say it would be nice if there is support for
> replace-like overlays (e.g. \only or \onslide). It would be great if
> I can wrap blocks in these. To illustrate what I mean, I can produce
> the above effect with the following ugly hack:
>
> #+OPTIONS: H:2
>
> * Section
> ** Frame title Some more text
>
> #+LATEX: \only<1>{%
> *** Example block :B_exampleblock:
> :PROPERTIES:
> :BEAMER_env: exampleblock
> :END:
> Some example text
>
> *** ignore :B_ignoreheading:
> :PROPERTIES:
> :BEAMER_env: ignoreheading
> :END:
> #+LATEX: }
>
> #+LATEX: \only<2>{%
> *** Theorem block :B_theorem:
> :PROPERTIES:
> :BEAMER_env: theorem
> :END:
> Some bla bla ∀ \mathcal{R}
>
> *** ignore :B_ignoreheading:
> :PROPERTIES:
> :BEAMER_env: ignoreheading
> :END:
> #+LATEX: }
This should be possible with `org-e-beamer-environments-extra', i.e.
(add-to-list 'org-e-beamer-environments-extra
'("onlyenv" "O" "\\begin{onlyenv}%a" "\\end{onlyenv}"))
Then you set headline's BEAMER_env property to onlyenv and modify
BEAMER_act accordingly.
>> Every plain list has support for `:overlay' attribute (through
>> ATTR_BEAMER affiliated keyword). Also, ordered (resp. description)
>> lists make use of `:template' (resp. `:long-text') attribute.
>>
>
> I wasn't clear what you meant here. Could you give an example? Did you
> mean I can specify overlay specification for list items with the above
> mechanism? I'm not clear on the syntax here.
These attributes modify the whole list. To set overlays for individual
items, use export snippets. Examples follow:
#+ATTR_BEAMER: :template "i)" :overlay "<+->"
1. First item
2. Second item
will become
\begin{enumerate}[<+->][i)]
\item First item
\item Second item
\end{enumerate}
whereas
1. @@e-beamer:<1>@@ First item
2. @@e-beamer:<2>@@ Second item
will become
\begin{enumerate}
\item<1> First item
\item<2> Second item
\end{enumerate}
> I have another feature request (for the distant future) with regards to
> lists; I would like to put tikz nodes in list items. I have tried that
> in the past with very limited success. For an example, you can look
> here:
>
> <http://www.texample.net/tikz/examples/connecting-text-and-graphics/>
Again, export snippets should allow this. To obtain:
\begin{itemize}
\item Anode \tikz[na] \coordinate (s-anode);
\item Cathode \tikz[na] \coordinate (s-cathode);
\item Saline bridge \tikz[na] \coordinate (s-bridge);
\end{itemize}
You can write:
- Anode @@e-beamer:\tikz[na] \coordinate (s-anode);@@
- Cathode @@e-beamer:\tikz[na] \coordinate (s-cathode);@@
- Anode @@e-beamer:\tikz[na] \coordinate (s-bridge);@@
> I presume the beamer options go like the following?
>
> #+LATEX_CLASS_OPTIONS: [smaller,presentation]
Yes.
> I have a question; are subtree exports supported yet?
I think so. Have you tested them?
Thank you for testing the back-end.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2012-07-02 12:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 14:59 [ANN] Beamer back-end for org-export in contrib/ Nicolas Goaziou
2012-06-30 18:46 ` suvayu ali
2012-07-02 12:22 ` Nicolas Goaziou [this message]
2012-07-04 1:30 ` suvayu ali
2012-07-04 16:08 ` Nicolas Goaziou
2012-07-04 16:26 ` suvayu ali
2012-07-05 11:56 ` Nicolas Goaziou
2012-07-07 10:04 ` suvayu ali
2012-07-07 12:32 ` Nicolas Goaziou
2012-07-07 12:56 ` suvayu ali
2012-07-07 12:58 ` Nicolas Goaziou
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=87d34egxor.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/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 public 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).