emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Georg W. Otto" <g.otto@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: capitalization of titles in org-ref
Date: Sun, 04 Dec 2016 17:51:55 +0000	[thread overview]
Message-ID: <m2bmwr60qs.fsf@georgotto.de> (raw)
In-Reply-To: m2shq4u4xm.fsf@Johns-MacBook-Air.local

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> you could try commenting out orcb-key too. it should be using the
> bibtex-autokey settings though.
>

If I do that, the key is omitted altogether. I did some further
searching and testing, and I came to the conclusion that the autokey
generator ignores all non-capitalized words in its default setting

(defcustom bibtex-autokey-titleword-ignore
  '("A" "An" "On" "The" "Eine?" "Der" "Die" "Das"
    "[^A-Z].*" ".*[^a-zA-Z0-9].*")

so in my init file I set it like this:

(setq bibtex-autokey-titleword-ignore '("A" "An" "On" "The" "of"))

Now it works the way I want it.

Thanks for your help.

Georg

-- 
Georg Otto
The UCL Institute of Child Health

      reply	other threads:[~2016-12-04 17:52 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
2016-12-04 17:51       ` Georg W. Otto [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2bmwr60qs.fsf@georgotto.de \
    --to=g.otto@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /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 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).