[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ox-bibtex works well with \cite{} entries but not with cite: lin
From: |
Eric S Fraga |
Subject: |
Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links |
Date: |
Tue, 9 Jul 2013 20:39:11 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric S Fraga <address@hidden> writes:
>
>> as noted a while back, I use cite:bibref type links in org to write
>> LaTeX papers. I have defined the cite link type as follows:
>>
>> #+begin_src emacs-lisp
>> (org-add-link-type "cite" 'ebib
>> (lambda (path desc format)
>> (cond
>> ((eq format 'latex)
>> (format "\\cite{%s}" path)))))
>> #+end_src
>>
>> This works really well for LaTeX export. However, it doesn't work at
>> all for html export. Obviously, I can add an html target but this
>> would only allow me a simple formatting capability.
>>
>> I have played around with ox-bibtex. This works well for both LaTeX and
>> HTML exports so long as I use \cite{bibref} directly in my org text
>> which is not as elegant.
>
> Would the following patch work?
Works really well for my test case. Thanks!
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org
release_8.0.5-322-gd5c11e.dirty
- [O] ox-bibtex works well with \cite{} entries but not with cite: links, Eric S Fraga, 2013/07/08
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links, Nicolas Goaziou, 2013/07/08
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links,
Eric S Fraga <=
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links, Eric S Fraga, 2013/07/09
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links, Nicolas Goaziou, 2013/07/09
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links, Eric S Fraga, 2013/07/09
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links, Nicolas Goaziou, 2013/07/10
- Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links, Eric S Fraga, 2013/07/10