[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] wrong warning for \citeauthor
From: |
Christian Knüpfer |
Subject: |
[Bug-AUCTeX] wrong warning for \citeauthor |
Date: |
Mon, 22 Jul 2013 11:10:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
Hi,
Using \citeauthor (bibtex-dialect="biblatex") I got a warning from
AUCTEX (font-latex-warning-face) if there is only one argument. I think
this is wrong (cf. definition of \citeauthor in
http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf)!
The error is in
https://github.com/jwiegley/auctex/blob/9e7406cddd87c1f318d943bd3f5edc73d82e349d/font-latex.el
line 307 is:
("Autocite" "*[{{") ("citeauthor" "[{{") ("Citeauthor" "[{{")
("citetitle" "*[{{")
and should be:
("Autocite" "*[{{") ("citeauthor" "[[{") ("Citeauthor" "[[{")
("citetitle" "*[{{")
(two optional arguments instead of one for \citeauthor and \Citeauthor).
Best regards,
Christian.
--
Christian Knuepfer
Friedrich-Schiller-Universitaet Jena
Institut fuer Informatik
Ernst-Abbe-Platz 2
D-07743 Jena, Germany
Office: R. 3237
Phone: Intl.+49-3641-9-46353
Fax: Intl.+49-3641-9-46302
e-mail: address@hidden
WWW: http://www.informatik.uni-jena.de/~tral
PGP Key-ID: 0x3DF5F43F
PGP Public Key:
http://www.minet.uni-jena.de/~tral/data/christian_knuepfer.asc
Fingerprint 1100 7077 B84A 7538 99F7 CE95 A24E F944 3DF5 F43F
--
signature.asc
Description: OpenPGP digital signature
- [Bug-AUCTeX] wrong warning for \citeauthor,
Christian Knüpfer <=