help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bibtex-autokey-titleword-ignore


From: Emanuel Berg
Subject: bibtex-autokey-titleword-ignore
Date: Sat, 28 Nov 2020 02:18:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

I'm trying to get this to work - the last part, to not include
stuff within parenthesis:

(setq bibtex-autokey-titleword-ignore '("A" "An" "The" "(.*)"))

The regexp is correct, at least if this is an indicator:

(string-match "(.*)" "Kampen om Järntronen 3 (A Game of Thrones)") ; 23
                                             ^ 23 is here

but run it on this entry and the parenthesis stuff is still
there:

@book{got-3,
  author     = {George R R Martin and Daniel Abraham and Tommy Patterson},
  isbn       = {978-91-980734-7-8},
  publisher  = {Apart},
  title      = {Kampen om Järntronen 3 (A Game of Thrones)},
  year       = {2014 (2014)}
}

https://dataswamp.org/~incal/emacs-init/my-bibtex.el

https://dataswamp.org/~incal/books/books.bib

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]