* org-ref format in html (odt)
@ 2018-12-06 17:28 Uwe Brauer
0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2018-12-06 17:28 UTC (permalink / raw)
To: emacs-orgmode
Hi
I am using the following function (I think provided generously by John
Kitchin)
org-ref-get-bibtex-entry-html (key)
(defun org-ref-get-bibtex-entry-html (key)
"Return an html string for the bibliography entry corresponding to KEY."
(let ((output))
(setq output (org-ref-get-bibtex-entry-citation key))
;; unescape the &
(setq output (replace-regexp-in-string "\\\\&" "&" output))
;; hack to replace {} around text
(setq output (replace-regexp-in-string "{" "" output))
(setq output (replace-regexp-in-string "}" "" output))
;; get rid of empty parens
(setq output (replace-regexp-in-string "()" "" output))
;; get rid of empty link and doi
(setq output (replace-regexp-in-string " <a href=\"\">link</a>\\." "" output))
;; change double dash to single dash
(setq output (replace-regexp-in-string "--" "-" output))
(setq output (replace-regexp-in-string " <a href=\"http://dx\\.doi\\.org/\">doi</a>\\." "" output))
(format "<li><a id=\"%s\">%s</a></li>"
key output)))
I also use ox-clip-formatted-copy to copy for example: the following
lines into a libreoffice document or
The first who achieved a result by regularizing the equations was
Makino, see cite:makino86:_local_exist_theor_evolut_equat_gaseous_stars.
bibliographystyle:plain
bibliography:/home/oub/texmf/bibtex/bib/bibgraf.bib
But I obtain (HTML removed)
The first who achieved a result by regularizing the equations was
Makino, see makino86:_local_exist_theor_evolut_equat_gaseous_stars.
Bibliography
1. Makino, On a Local Existence Theorem for the Evolution Equation of
Gaseous Stars, 459-479, in in: Patterns and Waves, edited by
Nishida, Mimura & Fujii, North-Holland (1986)
And I would like to see
The first who achieved a result by regularizing the equations was
Makino, see [1]
Bibliography
[1.] Makino, On a Local Existence Theorem for the Evolution Equation of
Gaseous Stars, 459-479, in in: Patterns and Waves, edited by
Nishida, Mimura & Fujii, North-Holland (1986)
I looked for appropriate variables but could not find anything.
Any help would be strongly appreciated.
Uwe Brauer
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-06 17:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06 17:28 org-ref format in html (odt) Uwe Brauer
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).