Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

Gotchas

Categories: BibTeX
<< | Page list | >>

Commented out "begin-of-entry" lines may confuse BibTeX parsing

Eg. the following may cause the Illers04 bibliography entry to not be recognized:

%@INPROCEEDINGS{Ill04,
@INPROCEEDINGS{Illers04,
    Author         = {Illers, H. and Vandenbroucke, D. and Buhr, E.},
    Booktitle      = {Proceedings of the SPIE},
    Editor         = {Yaffe, M.J. and Flynn, M.J.},
    Journal        = {Physics of Medical Imaging},
    Organization   = {SPIE},
    Pages          = {639-647},
    Series         = {Medical Imaging 2004: Physics of Medical Imaging},
    Title          = {Measurement of correlated noise in images of computed radiography systems and its influence on the detective quantum efficiency},
    Volume         = {5368},
    Year           = {2004}
}

Similarly, any percent sign in a title or abstract should be escaped, or the BibTeX file will not compile.

Note: to comment out a bibtex entry, simply remove the preceeding '@', then bibtex will ignore this. So the above should read:

INPROCEEDINGS{Ill04,
@INPROCEEDINGS{Illers04,
    Author         = {Illers, H. and Vandenbroucke, D. and Buhr, E.},
    Booktitle      = {Proceedings of the SPIE},
    Editor         = {Yaffe, M.J. and Flynn, M.J.},
    Journal        = {Physics of Medical Imaging},
    Organization   = {SPIE},
    Pages          = {639-647},
    Series         = {Medical Imaging 2004: Physics of Medical Imaging},
    Title          = {Measurement of correlated noise in images of computed radiography systems and its influence on the detective quantum efficiency},
    Volume         = {5368},
    Year           = {2004}
}

Wrong encoding of .bib file drops entries

Problem: When entries using special characters such as German umlauts δόφ etc in any field are encoded using a wrong encoding (e.g cp-1253) all successive entries are dropped and are not listed in the Insert->Citation dialog

Solution: Use LaTeX macros such as \"a, \"o, \"u. Do not save the bib file in UTF-8 encoding (look here for a rationale).

LyX version: 1.5rc2 (a pre-utf8-switch version 1.4 worked fine with cp-1253)

BibTeX

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2009-01-26 10:47 CET