emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer environment properties highlighting and shortcut
@ 2015-08-07 22:40 John Hendy
  2015-08-07 23:56 ` Suvayu Ali
  0 siblings, 1 reply; 3+ messages in thread
From: John Hendy @ 2015-08-07 22:40 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello,


I'm making the first beamer presentation in a while in which I've used
columns, and had to refresh myself on the syntax. I originally
referred to the original (legacy) beamer docs here simply due to it
being the first hit on my google search:
- http://orgmode.org/worg/exporters/beamer/tutorial.html

It states that =C-c C-b= will prompt for beamer specific headlines;
this does not appear to work with the new ox-beamer export engine. I
see the command is =org-beamer-select-environment=. Did this get
mapped to something else now?

That alerted me to the fact that the doc was outdated, and I referred
to the new export engine page on Worg here:
- http://orgmode.org/worg/exporters/beamer/ox-beamer.html

The section on special environment states:

#+begin_quote
Environments can be put in a column by setting the BEAMER_col property
on a headline. It accepts decimal point numbers which is interpreted
as a fraction of the text width. If the beadline does not have an
enviroment the headline text is ignored and all the contents are put
inside the column environment.
#+end_quote

I noted that B_col creates some sort of special fontification (see
attached screenshot), but does not create columns. =beamer_col= *does*
work, but is not syntax highlighted as special in any way.

Is this intended, or just a by-product of older code lying around? I
don't really need the boxes around the syntax, but it was a little
confusing as I thought "Oh, I guessed a property correctly!" But I
hadn't...


Thanks!
John

[-- Attachment #2: highlight-does-not-work.png --]
[-- Type: image/png, Size: 9461 bytes --]

[-- Attachment #3: no-highlight-works.png --]
[-- Type: image/png, Size: 10574 bytes --]

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

* Re: Beamer environment properties highlighting and shortcut
  2015-08-07 22:40 Beamer environment properties highlighting and shortcut John Hendy
@ 2015-08-07 23:56 ` Suvayu Ali
  2015-08-08  2:02   ` John Hendy
  0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2015-08-07 23:56 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Aug 07, 2015 at 05:40:55PM -0500, John Hendy wrote:
> 
> It states that =C-c C-b= will prompt for beamer specific headlines;
> this does not appear to work with the new ox-beamer export engine. I
> see the command is =org-beamer-select-environment=. Did this get
> mapped to something else now?

This requires you to enable the `org-beamer-mode'.

 [...]

> I noted that B_col creates some sort of special fontification (see
> attached screenshot), but does not create columns. =beamer_col= *does*
> work, but is not syntax highlighted as special in any way.

Probably a left over from the old days.

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: Beamer environment properties highlighting and shortcut
  2015-08-07 23:56 ` Suvayu Ali
@ 2015-08-08  2:02   ` John Hendy
  0 siblings, 0 replies; 3+ messages in thread
From: John Hendy @ 2015-08-08  2:02 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Aug 7, 2015 at 6:56 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> On Fri, Aug 07, 2015 at 05:40:55PM -0500, John Hendy wrote:
>>
>> It states that =C-c C-b= will prompt for beamer specific headlines;
>> this does not appear to work with the new ox-beamer export engine. I
>> see the command is =org-beamer-select-environment=. Did this get
>> mapped to something else now?
>
> This requires you to enable the `org-beamer-mode'.

Dangit. I have :

#+startup: beamer

But I just started writing the presentation and never did C-c C-c on
my file header options. Doing so adds the =Bm= text to my mode n
Emacs. Thanks for that.

>
>  [...]
>
>> I noted that B_col creates some sort of special fontification (see
>> attached screenshot), but does not create columns. =beamer_col= *does*
>> work, but is not syntax highlighted as special in any way.
>
> Probably a left over from the old days.
>

Got it.


John

> --
> Suvayu
>
> Open source is the future. It sets us free.
>

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

end of thread, other threads:[~2015-08-08  2:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 22:40 Beamer environment properties highlighting and shortcut John Hendy
2015-08-07 23:56 ` Suvayu Ali
2015-08-08  2:02   ` John Hendy

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