Bug#316184: vim-common: incomplet bibtex syntax file

Pierre Habouzit Pierre Habouzit <madcoder@debian.org>, 316184@bugs.debian.org
Wed, 6 Jul 2005 21:19:00 +0200


--nextPart6806954.m99KHZ7KKz
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Le Mer 6 Juillet 2005 20:12, Matthijs Mohlmann a =C3=A9crit :
> Hi,
>
> LT-P wrote:
> > Package: vim
> > Version: 1:6.3-072+1
> > Severity: minor
> >
> > The bibtex syntax file (/usr/share/vim/vim63/syntax/bib.vim)
> > doesn't handle comments properly.
> >
> > The correct regexp for bibComment on line 50 is /[%^]/, so we can
> > have this definition for comments:
> > ___
> > syn region bibComment start=3D/[%^]/ end=3D/^\s*@/me=3De-1
> > contains=3D@bibCommentContents nextgroup=3DbibEntry ___
>
> Can you give an example of a bibtex file with a comment ? I'm not a
> bibtex expert to see the problem or what's going wrong.
>
> Regards,
>
> Matthijs Mohlmann


AFAIK bibtex comments are the same as the tex ones, i.e. part of lines=20
starting with % (but not \% which is the % symbol in latex)
=2D-=20
=C2=B7O=C2=B7  Pierre Habouzit
=C2=B7=C2=B7O                                                madcoder@debia=
n.org
OOO                                                http://www.madism.org

--nextPart6806954.m99KHZ7KKz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCzC6lvGr7W6HudhwRAs/oAJ4nm1sitPHT59WwxY0qjaFZ9zGwUACfVjAI
3QFFJ2wNXpLUwZrY0b9Q1gs=
=1x5P
-----END PGP SIGNATURE-----

--nextPart6806954.m99KHZ7KKz--