summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-08 00:33:52 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-08 00:33:52 -0500
commit8f4381025f64ff2ab59c60b65dc5ac42c9276a5b (patch)
tree88452833e111efac3596430b942f23651c8e6fae /README.org
parent3c7d5239355f37af89f47b1808f02c05e58277b7 (diff)
downloadbog-8f4381025f64ff2ab59c60b65dc5ac42c9276a5b.tar.gz
DOC: Provide bibtex-autokey settings
Diffstat (limited to 'README.org')
-rw-r--r--README.org19
1 files changed, 15 insertions, 4 deletions
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