git.iko.soy/typeable/pandoc
on master help sign in
Allow & in LaTeX citation keys.

Closes #6110.

commit30962e2e9da335a436fce0fe6ba417adbebdeee0 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 3 Feb 2020, 20:38 (7 years ago) parent1ea5b18
1 file changed+1−1
src/Text/Pandoc/Readers/LaTeX.hs+1−1
src/Text/Pandoc/Readers/LaTeX.hs+1−1
@@ -696,7 +696,7 @@ citationLabel = do
696696 <* optional spaces
697697 <* optional (symbol ',')
698698 <* optional spaces)
699− where bibtexKeyChar = ".:;?!`'()/*@_+=-[]" :: [Char]
699+ where bibtexKeyChar = ".:;?!`'()/*@_+=-&[]" :: [Char]
700700
701701cites :: PandocMonad m => CitationMode -> Bool -> LP m [Citation]
702702cites mode multi = try $ do