GNU bug report logs - #27295
11.90.2; font lock for \autocites

Previous Next

Package: auctex;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Fri, 9 Jun 2017 09:18:01 UTC

Severity: normal

Tags: wontfix

Found in version 11.90.2

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27295 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 27295 <at> debbugs.gnu.org
Subject: Re: bug#27295: 11.90.2; font lock for \autocites
Date: Fri, 09 Jun 2017 22:25:43 +0200
Alex Branham <alex.branham <at> gmail.com> writes:

> Auctex does not seem to properly font lock \autocites with multiple
> citations.
>
> \autocites[][]{key1, key2} works fine but \autocites[][]{key1,
> key2}[but see][]{key3} results in neither "but see" nor "key3" getting
> the appropriate faces (which should be font-lock-variable-name-face
> and font-lock-constant-face, I believe).

Hi Alex,

I would say this is by design: \[Aa]utocites take multiple number of
[prenote][postnote]{key} and AUCTeX cannot look ahead to detect the
number of arguments which should be fontified.  Not satisfactory, but
not fixed easily, I think.

Best, Arash




This bug report was last modified 1 year and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.