From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: capitalization of titles in org-ref Date: Fri, 2 Dec 2016 09:28:28 -0500 Message-ID: References: <86inr25s5q.fsf@georgotto.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec50e615973e3c70542adc031 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCopE-0001YR-Dx for emacs-orgmode@gnu.org; Fri, 02 Dec 2016 09:28:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCopD-0001Fm-C9 for emacs-orgmode@gnu.org; Fri, 02 Dec 2016 09:28:32 -0500 Received: from mail-wj0-x22c.google.com ([2a00:1450:400c:c01::22c]:34258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCopD-0001FT-36 for emacs-orgmode@gnu.org; Fri, 02 Dec 2016 09:28:31 -0500 Received: by mail-wj0-x22c.google.com with SMTP id mp19so233994072wjc.1 for ; Fri, 02 Dec 2016 06:28:30 -0800 (PST) In-Reply-To: <86inr25s5q.fsf@georgotto.de> 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: "Georg W. Otto" Cc: "emacs-orgmode@gnu.org" --bcaec50e615973e3c70542adc031 Content-Type: text/plain; charset=UTF-8 That happens because of the function org-ref-title-case-article in the variable org-ref-clean-bibtex-entry-hook. Just set org-ref-clean-bibtex-entry-hook to have what you want in it in your init files to prevent the title casing from occurring. John ----------------------------------- 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 On Fri, Dec 2, 2016 at 9:20 AM, Georg W. Otto wrote: > Hi, > > I am not completely sure if the problem is caused by org-ref or > somwehere else in the process, but here it is: > > When importing a paper by doi using > > doi-utils-add-bibtex-entry-from-doi > > the title is capitalized. I want to switch off this behaviour, leaving > the paper title in its original capitalization state. Any idea how I can > do this? > > Cheers, > > Georg > > > --bcaec50e615973e3c70542adc031 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That happens because of the function=C2=A0org-ref-title-ca= se-article in the variable=C2=A0org-ref-clean-bibtex-entry-hook.

Just set=C2=A0org-ref-clean-bibtex-entry-hook to have what you wan= t in it in your init files to prevent the title casing from occurring.

John

-----------------------------------
Professor Jo= hn Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Engineerin= g
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803=

On Fri, Dec 2, 2016 at 9:20 AM, Georg W. Ott= o <g.otto@ucl.ac.uk> wrote:
Hi,

I am not completely sure if the problem is caused by org-ref or
somwehere else in the process, but here it is:

When importing a paper by doi using

doi-utils-add-bibtex-entry-from-doi

the title is capitalized. I want to switch off this behaviour, leaving
the paper title in its original capitalization state. Any idea how I can do this?

Cheers,

Georg



--bcaec50e615973e3c70542adc031--