From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: [SOLVED] Re: Mouse-over on bibliographic citation Date: Thu, 22 Jun 2017 18:17:17 +0100 Message-ID: <87k244vt5u.fsf_-_@skimble.plus.com> References: <877f05104s.fsf@skimble.plus.com> <87mv90fhyh.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO5jY-000192-GJ for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 13:17:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dO5jU-0007UV-9L for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 13:17:32 -0400 Received: from avasout04.plus.net ([212.159.14.19]:44199) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dO5jT-0007U2-V6 for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 13:17:28 -0400 In-Reply-To: (John Kitchin's message of "Thu, 22 Jun 2017 08:14:38 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Kitchin Cc: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable John Kitchin writes: > Can you add this to your org-file, run it and tell me what the output is: > > #+BEGIN_SRC emacs-lisp > (org-ref-find-bibliography) > #+END_SRC > > Also run M-x org-ref to see what bibliography org-ref thinks it is > using in that file. There were some recent changes to > (org-ref-find-bibliography) that might be causing this problem. =2D-8<---------------cut here---------------start------------->8--- Bibliography No bibliographystyle found. Using these bibtex files: (/home/boudiccas/research/hair17/hair17.bib /home= /boudiccas/research/age-and-trans/cancer/cancer.bib) =2D-8<---------------cut here---------------end--------------->8--- > > Do you have a bibliography link in the file you are working in? > This is in a file called hair17.org and this is its bibliography install - =2D-8<---------------cut here---------------start------------->8--- #+latex_header: \usepackage[backend=3Dbiber,style=3Dauthoryear,doi=3Dtrue,h= yperref=3Dtrue,backref=3Dtrue,backrefstyle=3Dtwo,date=3Dyear,maxcitenames= =3D3]{biblatex} #+LATEX_HEADER: \addbibresource{/home/boudiccas/research/hair17/hair17.bib} =2D-8<---------------cut here---------------end--------------->8--- Right, I've sorted the problem out. Somehow I had various things that I was building the pdf with, meaning #+latex_header:, which included a reference to 'cancer.bib'. I thought that it was commented out, but when I deleted all comments out latex_headers I've found that it is only referencing hair17.bib as shown in this output. =2D-8<---------------cut here---------------start------------->8--- Bibliography No bibliographystyle found. Using these bibtex files: (/home/boudiccas/research/hair17/hair17.bib) =2D-8<---------------cut here---------------end--------------->8--- Sorry for all the hassle and noise that I've caused. Sorry Sharon. > > Sharon Kimble writes: > >> John Kitchin writes: >> >>> this is a bug in the current org-mode 9.0.8. You have to revert it to o= rg 9.0.7 for now. It has been fixed, but I am not sure when it will show up. >> >> Thanks for this John. >> >> I can confirm that with today's release of 'org-mode plus contribs' the >> desired over effect has returned, but with a caveat - its showing the >> wrong bibliographic entry! I have this in my config file - >> >> --8<---------------cut here---------------start------------->8--- >> #+begin_src emacs-lisp >> (require 'org-ref) >> (setq reftex-default-bibliography '("~/research/death/death.bib")) >> >> ;; see org-ref for use of these variables >> (setq org-ref-bibliography-notes "~/research/notes.org" >> org-ref-default-bibliography '("~/research/death/death.bib") >> org-ref-pdf-directory "~/research/death/pdfs") >> >> (setq bibtex-completion-bibliography "~/research/death/death.bib" >> bibtex-completion-library-path "~/research/death/pdfs" >> bibtex-completion-notes-path "~/research/death/helm-bibtex-notes") >> #+end_src >> [2016-09-20 Tue 04:15] >> [2017-01-17 Tue 11:34] >> --8<---------------cut here---------------end--------------->8--- >> >> Going back to '(cite:0072)' the mouse-over now shows 'NHS, , /Ovarian >> cancer/ (2015).', which is the reference in 'death.bib'! >> >> I'm using the exact same code-block as pre-the updated org-mode, and >> I've restarted emacs, so I'm not sure what ought to be changed, if >> anything, but I'm unhappy with what its now showing as its not correct. >> >> Do I need to revamp my code-block, and if so, how please? >> >> Thanks >> Sharon. >> >>> >>> On Wed, Jun 21, 2017 at 5:50 PM, Sharon Kimble wrote: >>> >>> I've got this strange problem and I'm not sure when it started, pos= sibly >>> when this new computer was first put to use last Friday afternoon w= ith a >>> fresh install of Debian 9, or maybe before then, I'm not sure. >>> >>> Anyway, whenever I mouse-over a bibliographic citation in an org-mo= de >>> document, it used to say for (cite:0072) '\Hair loss, 2015, >>> http://www.regrowth.com/hair-loss-articles/ \' but now just shows >>> 'LINK:cite:0072'. >>> >>> I am using 'org-ref' which is up to date, as is org-mode, and both = from >>> ELPA. >>> >>> This is what my bibliography item actually is - >>> >>> --8<---------------cut here---------------start------------->8--- >>> @Online{0072, >>> Title =3D {Hair loss}, >>> Author =3D {regrowth}, >>> Url =3D {http://www.regrowth.com/hair-loss-articles/}, >>> Year =3D {2015} >>> } >>> --8<---------------cut here---------------end--------------->8--- >>> >>> So how can I regain my previous mouse-over abilities please? >>> >>> Thanks >>> Sharon. >>> -- >>> A taste of linux =3D http://www.sharons.org.uk >>> TGmeds =3D http://www.tgmeds.org.uk >>> DrugFacts =3D https://www.drugfacts.org.uk >>> Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7 >>> > > > -- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk=20=20 Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAllL+50ACgkQNoGAGQr4 g1s/Kg/+KffYH+fheEuEBJmssO1LVvE0dU47DyTTO0BiBO50nCtDqh/ROFdq8F6P 8S2nJHr99eufDmRe2SaYbNsGlM96e9hXHsfIIP8//HIqQKvC9U7JrlCJcDzgTTqV moSaIEhBAawFiUqdpRr4PWDftr6F3SNZ/i342GauI1SwNWEDZtIJQ1TPuRDSWltA tBHdETaE5S0CrS4ImPA/bB46Kx3jHopLXsORbuYZmsn1Wz+VfZCXfnPMmqh2zL1O wh03FykO4Q5lHNuOPAZV+3m7yo8+TNsRl0kazQxv9vhzBVxcB4AKzM70rX4c/E/x mWW2qqKN8s651rrtakZbF7OYGKf9YbQiP4uAQefMIw8phPhYoesFinSBB+V2Aa4r nw6PdEFmj7hXVXxIxuA64CwqP744uTnPuqqr0tVsR6CDuYuA7veV3L/hNPkzT4Sa T1juwiDrQe3CW2TLmuOUEWTyruWe6jXOhG2AOULpxHGgEUd9KUfoz7HckRYMtxaX ISH7GCnqj8By81ut4Xu29rJfq8fzhBnsDOiS9heQu8atgE6Oq/uvb6FtTD9EQ71n v5+SbYa8WUxTr7FfzXTnHWqqQ1xc5UdvH7AjPNVIcH/zfJQQhv4HGiqgdU232yYn 4o4zs4jrE/m7PFTyQpRtJrvL36U5UBdhOd+cAP1cD8vK54Kuy+o= =V9OT -----END PGP SIGNATURE----- --=-=-=--