[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] in-text citation ox-bibtex for html export
From: |
Dan Boice |
Subject: |
[O] in-text citation ox-bibtex for html export |
Date: |
Tue, 24 May 2016 21:07:58 -0700 |
Hello,
I am exporting an org document to html with references. The setup with
ox-bibtex I have works well to produce the references with a cite link.
However, the in-text citations have a square bracket around the reference link
and only the first author's last name. I am not able to use other in-text
citation formats such as parencite or natbib citep:key. Is there a way to add
that to the org file to produce the html output with the formatted in-text
citation?
From the looks of it, no with the the ox-bibtex package.
http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/ox-bibtex.el;hb=HEAD
I was about to embark on creating something like this
http://kitchingroup.cheme.cmu.edu/blog/category/org-mode/ to pre or post
process the exported html, but wanted to check if there looks to be an easier
way to achieve the same result.. Perhaps exporting it to latex and then use
http://tug.org/applications/tex4ht/mn.html was also suggested in another post
for something similar(
https://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00337.html ), but
that was not working yet.
—begin org text—
* Some very interesting latin text to start
Lorem ipsum cite:northrup2007 dolor sit amet, an cum laoreet noluisse, cum
mucius indoctum te. Sea laudem scripta tamquam ex, et nam eirmod aeterno
tamquam, ex usu nobis essent. Sea ea possim aperiam dissentias, est ei unum
minim. Ullum iudico officiis id pri
#+BIBLIOGRAPHY: references.bib apalike limit:t option:--no-abstract
—-end org text —
Produces html output
—begin html output—-
<div id="outline-container-orgheadline1" class="outline-2">
<h2 id="orgheadline1">Some very interesting latin text to start</h2>
<div class="outline-text-2" id="text-orgheadline1">
<p>
Lorem ipsum [<a href="#northrup2007">Northrup</a>] dolor sit amet, an cum
laoreet noluisse, cum mucius indoctum te. Sea laudem scripta tamquam ex, et nam
eirmod aeterno tamquam, ex usu nobis essent. Sea ea possim aperiam dissentias,
est ei unum minim. Ullum iudico officiis id pri </p>
</div>
</div>
<div id="bibliography">
<h2>References</h2>
<table>
<tr valign="top">
<td align="right" class="bibtexnumber">
[<a name="northrup2007">Northrup and Bean, 2007</a>]
</td>
<td class="bibtexitem">
Northrup, J. C. and Bean, R. A. (2007).
Culturally competent family therapy with latino/anglo-american
adolescents: Facilitating identity formation.
<em>American Journal of Family Therapy</em>, 35(3):251 -- 263.
[ <a href="conceptualizationPaper_bib.html#northrup2007">bib</a> ]
</td>
</tr>
</table>
</div>
—end html- output —-
—begin what I want—
<a href="#northrup2007”>Northrup and Bean (2007)(</a>
not
[<a href="#northrup2007">Northrup</a>]
—-end what I want—
other links
http://merkel.zoneo.net/Latex/natbib.php
signature.asc
Description: Message signed with OpenPGP using GPGMail
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] in-text citation ox-bibtex for html export,
Dan Boice <=