emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Beamer environment properties highlighting and shortcut
Date: Fri, 7 Aug 2015 17:40:55 -0500	[thread overview]
Message-ID: <CA+M2ft-4FVgBu5gFo0GRdPF5KgzfdDDTh87jBSJX-vhwJJbamQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2015-08-07 22:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 22:40 John Hendy [this message]
2015-08-07 23:56 ` Beamer environment properties highlighting and shortcut Suvayu Ali
2015-08-08  2:02   ` John Hendy

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=CA+M2ft-4FVgBu5gFo0GRdPF5KgzfdDDTh87jBSJX-vhwJJbamQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --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 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).