Hi Olivier,
Olivier Berger <[email protected]> writes:
> Something like :
> (defun org-bibtex-export (path desc format)
> (let* ((search (when (string-match "::#?\\(.+\\)\\'" path)
> (match-string 1 path)))
> (path (substring path 0 (match-beginning 0))))
> (cond ((eq format 'latex)
> (if (or (not desc)
> (equal 0 (search "bibtex:" desc)))
> (format "\\cite{%s}" search)
> (format "\\cite[%s]{%s}" desc search))))))
>
> I think this can work (see more details in [0]), and maybe that wouldn't
> be too hard to patch org-bibtex for something more generic ?
>
> Is this reasonable ?
This is *very* reasonable and I would welcome a patch for such an
export function.
Thanks!
--
Bastien