emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rafael <rvf0068@gmail.com>
To: Emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: beamer_env tag issue with empty headlines
Date: Fri, 21 Aug 2015 11:43:22 -0500	[thread overview]
Message-ID: <87wpwozj6d.fsf@gmail.com> (raw)
In-Reply-To: <87zj1koo4n.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 21 Aug 2015 13:51:52 +0200")

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Rafael <rvf0068@gmail.com> writes:
>
>> I mean that I would like to have a new variable, say,
>> 'org-no-headlines-between-colons', that when set to t, would cause org
>> to treat any part of a heading between colons as a tag.
>
> My question was: what for? Do you have a (simple) use-case?

Just like the OP said: When exporting to beamer, there are some headings
that do not merit a named heading. Like columns. Or for example, in my
case, I have theorems without a name. Say:

*** 								  :B_theorem:
    :PROPERTIES:
    :BEAMER_env: theorem
    :END:
    Let \(X\) be a \(T_{1}\) space. Then \(X\) is regular if an only
    if given a point \(x\in X\) and a neighborhood \(U\) of \(x\)
    there is a neighborhood \(V\) of \(x\) such that
    \(\overline{V}\subseteq U\).

Or sometimes, in definitions, I could include a named heading, but it
looks redundant to me, as the defined term is already emphasized.

*** Normal space					       :B_definition:
    :PROPERTIES:
    :BEAMER_env: definition
    :END:
    Let \(X\) be a \(T_{1}\) space. We say that \(X\) is *normal* if for
    any \(F\subseteq X\) and \(G\subseteq X\) disjoint closed sets,
    there are disjoint open sets \(U,V\) such that 
    \(F\subseteq U\) and \(G\subseteq V\).

I do not think I will ever need two colons in a heading. Hence I think
the option to interpret anything between colons in a heading as a tag
would be useful.

Thanks for your answers,

Rafael

  reply	other threads:[~2015-08-21 16:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18  3:11 beamer_env tag issue with empty headlines Prateek Mehta
2015-08-18 12:43 ` Suvayu Ali
2015-08-19  8:56 ` Nicolas Goaziou
2015-08-19  9:18   ` Prateek Mehta
2015-08-19  9:29     ` Nicolas Goaziou
2015-08-21 17:37       ` Pip Cet
2015-08-27 18:53         ` Nicolas Goaziou
2015-08-27 21:42           ` Pip Cet
2015-08-19 22:38   ` Rafael
2015-08-20  1:22     ` Nicolas Goaziou
2015-08-20 17:15       ` Rafael
2015-08-21 11:51         ` Nicolas Goaziou
2015-08-21 16:43           ` Rafael [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-18 22:01 Prateek Mehta

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=87wpwozj6d.fsf@gmail.com \
    --to=rvf0068@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).