emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Levy, Roger" <rlevy@ucsd.edu>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Defining new structural markup element
Date: Wed, 14 Dec 2011 17:33:03 +0000	[thread overview]
Message-ID: <3496BDF0-8057-4079-95BF-9C6B25251602@ucsd.edu> (raw)

Hi,

I'm a relative org newbie and I expect that this question is answered somewhere in the manual, but I've searched and I can't find the answer.

I would like to define a new structural markup element for an org file and specify its translation into latex.  e.g., I'd like to be able to put in my document

#+begin_foo
bar
#+end_foo

and have this translated into LaTeX as something like 

\em
bar
\em

but I'd like to be able to flexibly specify the LaTeX commands inserted at the beginning and end of the "foo" block.  Is there an easy way to do this?

Best & many thanks in advance!

Roger

             reply	other threads:[~2011-12-14 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 17:33 Levy, Roger [this message]
2011-12-14 17:47 ` Defining new structural markup element Nick Dokos
2011-12-14 18:08 ` Viktor Rosenfeld
2011-12-14 19:06   ` Levy, Roger

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=3496BDF0-8057-4079-95BF-9C6B25251602@ucsd.edu \
    --to=rlevy@ucsd.edu \
    --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).