After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635562 - Support of bibTeX
Support of bibTeX
Status: RESOLVED DUPLICATE of bug 503239
Product: doxygen
Classification: Other
Component: general
Other Linux
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Reported: 2010-11-22 21:59 UTC by virens
Modified: 2011-07-28 18:46 UTC
See Also:
GNOME target: ---
GNOME version: ---

Proposed patch to add BibTeX support. (23.73 KB, patch)
2011-07-25 01:29 UTC, David Munger
none Details | Review

Description virens 2010-11-22 21:59:25 UTC
The requested enchancement is to support BiBTeX tool for generation of references in doxygen documentation. For instance, inside the code I have:

>>For Shack-Hartmann sensor, one may consider classical case "Object against the >>lens"\cite{goodmanEng}. In such case, the optical field in the plane just after >>the lens is:

Now that is the idea: under the page it should appear the Reference section with the reference from my bib.file. The example of this feature can be seen here:

They did this using some scripts, but it would be highly appreciated from research community to be able directly insert \cite{} commands in documents.
Comment 1 David Munger 2011-07-25 01:29:57 UTC
Created attachment 192591 [details] [review]
Proposed patch to add BibTeX support.

BibTeX items can now be referred to through the new \cite command in Doxygen.

There are also three new config options:
- CITE_SOURCE: can be only "bibtex" for now
- CITE_STYLE: set to "bynumber" or "byauthor" to change the in-text formatting
- CITE_DATA: list of .bib files

See the updated documentation for more details.
The purpose of the CITE_SOURCE option is to provide a common ground for implementing other backends. For the moment, only the BibTeX backend is implemented.

The patch file is quite big relative to the amount of changes, because I had to embed the contents of my customized .bst files inside the source code (cite_bst.cpp).
Comment 2 Dimitri van Heesch 2011-07-28 18:46:53 UTC

*** This bug has been marked as a duplicate of bug 503239 ***