5

output

Obviously, compiling this just yields

A sample citation: [1, p. 1]arg two?no arg three.

so \autocite itself definitely isn't using the argument. Why is this so, and how can it be fixed?

Note the red \ when only one argument is given:

output

1
  • It should be noted that this behaviour is not reproduced with \autocites Dec 24 '13 at 4:51
6

Apparently the extra opening brace was the culprit. Which can be easily fixed by changing line 306 and line 307 of font-latex.el, saving the file, and compiling AUCTeX again.

So replace the following in line 306

("autocite" "*[{{")

to

("autocite" "[[{")

and line 307

("Autocite" "*[{{")

to

("Autocite" "[[{")

enter image description here

9
  • Just created a PR for @giordano to look over (I just hope I sent the patch to the right place.) Thanks! Dec 24 '13 at 7:35
  • glad the answer resolved the issue, take care
    – doed
    Dec 24 '13 at 8:46
  • 1
    @SeanAllred I already fixed this upstream in July ;-).
    – giordano
    Dec 24 '13 at 10:22
  • @giordano I wonder then why ELPA hasn't been updated, then… is it waiting for emacs 24.4? (I've heard it's now feature-frozen.) Dec 24 '13 at 19:01
  • It seems GNU ELPA will use only AUCTeX stable releases.
    – giordano
    Dec 24 '13 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.