From: "o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to define shortcut for equations
Date: Fri, 31 Jan 2014 09:53:34 -0300 [thread overview]
Message-ID: <CAAJj91fpMVyMMkKdBm8DsZ7aUwPJmTKamFCe_yf=_vEX09_+bQ@mail.gmail.com> (raw)
In-Reply-To: <87vbx0iahb.fsf@bzg.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
Bastien... You were right! I guess the previous session didn't charge the
updated configuration.
Thx. Cheers.
On Fri, Jan 31, 2014 at 9:47 AM, Bastien <bzg@gnu.org> wrote:
> "o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com>
> writes:
>
> > I tried the following but does not work
> >
> > -----8<------------ Code Start --------->8------
> > #+BEGIN_SRC emacs-lisp
> > (eval-after-load "org"
> > '(add-to-list 'org-structure-template-alist
> > '("E" "\\begin\{equation\}\n?\n\\end\{equation\}" "")))
> > #+END_SRC
> > -----8<------------ Code End --------->8------
>
> It works fine here. I insert <E at the beginning of the line then hit
> TAB then the snippet is expanded.
>
> What version of Org are you using?
>
> --
> Bastien
>
--
_____________________________________
Oscar Castillo-Felisola.
Grupo de Fisica Teorica.
UTFSM -- CCTVal.
Av. Espana, 1680, Valparaiso-Chile.
______________________________________
[-- Attachment #2: Type: text/html, Size: 1731 bytes --]
prev parent reply other threads:[~2014-01-31 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-31 12:39 How to define shortcut for equations o.castillo.felisola
2014-01-31 12:47 ` Bastien
2014-01-31 12:53 ` o.castillo.felisola [this message]
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='CAAJj91fpMVyMMkKdBm8DsZ7aUwPJmTKamFCe_yf=_vEX09_+bQ@mail.gmail.com' \
--to=o.castillo.felisola@gmail.com \
--cc=bzg@gnu.org \
--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).