Skip to content
Lance A. Endres edited this page Apr 21, 2026 · 4 revisions

Welcome

The BibTeX library is a general-purpose library for working with BibTeX files. It allows the reading and writing of a BibTeX file, editing entries, and creating new bibliography entries.

History

Original Work

BibTeXLibrary
This is the original library that formed the basis for this work. It is a bibliography parser that reads the entries out of a BibTeX file.

The author of the current work is grateful for this open-source contribution to the community.

Conversion to Bibliography Editor

DigitalProduction.BibTeXLibrary
The original library did a great job of creating a BibTeX parser. However, it was not actively maintained. While working on a forked version of the library (BibTeX-Library), a few bugs were found, and it was determined that additional feature support was required. As development work continued, the decision was made to break from capability with the original library. It was clear that pull requests were unlikely to be accepted. Removing the backward capability requirement created more options for design improvements, feature additions, and to update to newer .Net platforms.

The objective of these modifications is to prepare the library for use in an application for maintaining a BibTeX file (see BibTeX Manager Maui). To achieve this, the original library was upgraded from a bibliography parser into a full-featured bibliography editor.

Additions

This library greatly expanded the capabilities of the original library. It added support for:

  • Full document support. The original library parsed the file and returned the entries (BibEntrys) as a list. This library creates a Bibliography to expand the capability from simply parsing a file to interactively working with a complete bibliography.
  • Bibliography writing. The previous library only parsed the bibliography file (reading). This adds write functionality.
  • Formatted writing. This allows control over the output format.
  • A header to the bibliography file. The header is read, stored, and written with the bibliography file, preserving it.
  • String constant support. It is common practice to use string constants in bibliography files. This addition allows these string constants to be read (internal to the file or from outside files), understood, and maintained.

Clone this wiki locally