From: John Kitchin <jkitchin@andrew.cmu.edu>
To: "Georg W. Otto" <g.otto@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: capitalization of titles in org-ref
Date: Sat, 03 Dec 2016 15:35:17 -0500 [thread overview]
Message-ID: <m2shq4u4xm.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <m2wpfgrhf2.fsf@georgotto.de>
you could try commenting out orcb-key too. it should be using the
bibtex-autokey settings though.
Georg W. Otto writes:
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> 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.
>>
>
> Thanks a lot for your answer. Unfortunately I am not very elisp-savy, so
> excuse me if I did something silly. I set
> org-ref-clean-bibtex-entry-hook in my init file and commented out
> org-ref-title-case-article like this:
>
> (setq bibtex-dialect 'biblatex)
>
> (setq org-ref-clean-bibtex-entry-hook
> '(orcb-key-comma
> org-ref-replace-nonascii
> orcb-&
> orcb-%
> ;; org-ref-title-case-article
> orcb-clean-year
> orcb-key
> orcb-clean-doi
> orcb-clean-pages
> org-ref-sort-bibtex-entry))
>
> (setq bibtex-align-at-equal-sign t
> bibtex-autokey-name-year-separator ""
> bibtex-autokey-year-title-separator ""
> bibtex-autokey-titleword-separator ""
> bibtex-autokey-titleword-first-ignore '("the" "a" "if" "and" "an")
> bibtex-autokey-titleword-length 30
> bibtex-autokey-titlewords 3
> bibtex-autokey-titleword-case-convert-function (quote identity)
> bibtex-autokey-name-case-convert-function (quote capitalize)
> bibtex-autokey-year-length 4
> )
>
> As intended, the title words do not get capitalized, but now the bibtex
> key only contains <author><yyyy><first title word>. Instead I need the
> first three title words, in order to stay compatible with my existing
> bibtex library. Any idea?
>
> Cheers,
>
> Georg
--
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
next prev parent reply other threads:[~2016-12-03 20:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 14:20 capitalization of titles in org-ref Georg W. Otto
2016-12-02 14:28 ` John Kitchin
2016-12-03 18:33 ` Georg W. Otto
2016-12-03 20:35 ` John Kitchin [this message]
2016-12-04 17:51 ` Georg W. Otto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2shq4u4xm.fsf@Johns-MacBook-Air.local \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=g.otto@ucl.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.