![]() At any rate, I've posted the patch in the hopes that it may solve problems experienced by users unable to get bibtex2html properly through other means. I can't say I know why this patch works for me and e3bo's doesn't they're not particularly different from each other. Below is a different implementation of e3bo's patch derived from one of the answers to a separate, unrelated, question on SO. I receive the Args out of range error noted by Anton in the comments to e3bo's answer. I, however, was unable to obtain the desired results from the patch posted. The bibtex2html homepage suggests such a workaround for a problem that bibtex2html has with some TeX installations.Į3bo's answer is excellent and covers all of what the original question asks for. The second change just calls bibtex2html with TMPDIR set to the current directory. The first change helps if you get the error "Symbol's function definition is void: flet", I learned here. + (error "Executing bibtex2html failed"))) (error "Executing bibtex2html failed")) + (when (not (eq 0 (apply 'call-process (append '("bibtex2html" nil nil nil) + (let ((process-environment (copy-alist process-environment))) (when (not (eq 0 (apply 'call-process (append '("bibtex2html" nil nil nil) (setq extra-args (append extra-args `("-citefile" ,tmp))))) 3) includes the contents of foo.html in the exported html file I found the following patch to org-exp-bibtex.el was needed for my system though. So export may just work if you evaluate (require 'org-exp-bibtex) by, for instance, putting it in your ~/.emacs and then put something like #+BIBLIOGRAPHY: classics plain in your source file in the place of your LaTeX \bibliographystyle and \bibliography commands. The file org-exp-bibtex.el seems to come with recent versions of org mode. I will include some additional information that helped me get this feature to work on my system. There is some documentation in org-exp-bibtex.el. The org-mode contributed package org-exp-bibtex.el produces an HTML bibliography using bibtex2html and then turns cite commands into links to bibliography items when you export to HTML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |