[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problems with org-tempo
From: |
Uwe Brauer |
Subject: |
Re: [O] problems with org-tempo |
Date: |
Fri, 14 Dec 2018 09:01:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> You need `(require 'org-tempo)', then
> #+begin_src emacs-lisp
> (tempo-define-template "org-display-bib"
> '("bibliographystyle:plain" n
>
"bibliography:/home/oub/texmf/bibtex/bib/bibgraf.bib" p n)
> "<b" "Insert bib" 'org-tempo-tags)
> #+end_src
Thanks that works like charm. However I have some more templates of
the form so I tried
#+begin_src emacs-lisp
(tempo-define-template "org-display-bib"
'("bibliographystyle:plain" n
"bibliography:/home/oub/texmf/bibtex/bib/bibgraf.bib" p n)
"<b" "Insert bib" 'org-tempo-tags)
(tempo-define-template "org-display-comentario"
'("* Comentarios Hoja ?" n
"| Documentación codigo | Explicación código |
Ficheros matlab | Fichero MLX | Impresión |" p n
"|----------------------+--------------------+-----------------+-------------+-----------|"
p n
"| | |
| | |" p n)
"<c" "Insert comentario" 'org-tempo-tags)
#+end_src
But the second template to be expanded with <c does not work.
What do I miss?
Thanks
smime.p7s
Description: S/MIME cryptographic signature