From 8f4381025f64ff2ab59c60b65dc5ac42c9276a5b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 8 Feb 2014 00:33:52 -0500 Subject: DOC: Provide bibtex-autokey settings --- README.org | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 16f8c6b..a3315ec 100644 --- a/README.org +++ b/README.org @@ -59,10 +59,21 @@ file studies under. Article notes #+end_example -"name2000word" is the study header. (The default format for the citekey -is the first author's last name, the year, and then the first -non-trivial word.) Bog expects the study citekey to be the title or -property of a heading. +"name2000word" is the study header. Bog expects the study citekey to be +the title or property of a heading. + +The default format for the citekey is the first author's last name, the +year, and then the first non-trivial word. To have BibTeX mode +automatically generate a key of this format, the =bibtex=autokey-*= +settings can be modified. + +#+begin_src emacs-lisp + (setq bibtex-autokey-year-length 4 + bibtex-autokey-titleword-length nil + bibtex-autokey-titlewords-stretch 0 + bibtex-autokey-titlewords 1 + bibtex-autokey-year-title-separator "") +#+end_src If the study was added when checking journals online, I tend to add the URL right under the heading. However, I often add citekeys from the -- cgit v1.2.3