unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* bibtex-autokey-titleword-ignore
@ 2020-11-28  1:18 Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2020-11-28  1:18 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-28  1:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-28  1:18 bibtex-autokey-titleword-ignore Emanuel Berg via Users list for the GNU Emacs text editor

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).