Re: [Ebib-users] Org-mode integration
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2011-07-13 08:08:37
|
On Tue, Jul 12, 2011 at 04:56:23PM -1000, Thomas S. Dye wrote: > I use ebib in Org-mode sometimes where the citation commands I use are > Org-mode links, rather than LaTeX commands. I'm wondering if it is > possible to turn off the automatic insertion of \ with > ebib-insert-bibtex-key? It would be great to be able to configure ebib > so it would enter something like [[cite:bibtex-key][123]], instead of > \cite[123]{bibtex-key}. I've just pushed a quick hack that should do this. It's not configurable, but at least if you push to an org-mode buffer, Ebib now creates an org link rather than a LaTeX command. It takes the form of [[cite:bibtex-key][123]] if you provide an optional argument (only one optional argument is supported). If you don't provide an optional argument, the link form is [[cite:bibtex-key][bibtex-key]] (which is actually the form that I use: I don't export from org to LaTeX...) This may only partially do what you want, so I'd appreciate suggestions for improvement. However, since I'm leaving on holiday tomorrow, you may have to wait a couple of weeks until I have time to implement them. :-) -- Joost Kremers Life has its moments |