emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* in-text citation ox-bibtex for html export
@ 2016-05-25  4:07 Dan Boice
  0 siblings, 0 replies; only message in thread
From: Dan Boice @ 2016-05-25  4:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2899 bytes --]

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.&nbsp;C. and Bean, R.&nbsp;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.
[&nbsp;<a href="conceptualizationPaper_bib.html#northrup2007">bib</a>&nbsp;]

</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







[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-25  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25  4:07 in-text citation ox-bibtex for html export Dan Boice

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).