Skip to content

This is a C++ program to manage and organize publication entries from .bib files using OOP concepts. It can handle extra details like PDF or source links, allow sorting by year and title, and even merge multiple bib files with operator overloading.

Notifications You must be signed in to change notification settings

vaibhav-init/BIBTEX-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BibTeX Parser & Management Tool

A C++ tool to parse, sort, and search BibTeX bibliography files.

Quick Start

1. Build the tool

make

2. Run commands

List all publications sorted by year (descending) then title (alphabetical):

./bib_parser -sorted my_example.bib
./bib_parser -sorted my_example.bib ref.bib_doi.bib

Count authors from a specific institute:

./bib_parser -count my_example.bib "MIT"
./bib_parser -count my_example.bib ref.bib_doi.bib "IIIT"

Search by author name:

./bib_parser -search -author my_example.bib "Bhattacharya"
./bib_parser -search -author my_example.bib ref.bib_doi.bib "Arani"

Search by publication title:

./bib_parser -search -publication my_example.bib "EdgeIoT"
./bib_parser -search -publication my_example.bib ref.bib_doi.bib "TileClipper"

Command Reference

Command Description Example
-sorted file1.bib file2.bib ... Show all publications sorted by year (newest first), then title ./bib_parser -sorted my_example.bib
-count file1.bib file2.bib ... "Institute" Count authors from specific institute ./bib_parser -count my_example.bib "MIT"
-search -author file1.bib ... "Name" Find publications by author ./bib_parser -search -author my_example.bib "Bhattacharya"
-search -publication file1.bib ... "Title" Find publications by title ./bib_parser -search -publication my_example.bib "EdgeIoT"

Features

  • Parses BibTeX files with author affiliations, PDF links, source code links, presentation links
  • Sorts publications by year (descending) then title (alphabetical)
  • Merges multiple files using the + operator
  • Searches by author name or publication title
  • Counts authors from specific institutes
  • Custom C++ implementation (no STL dependencies)

Build Options

make          # Standard build
make debug    # Debug build with extra flags
make release  # Optimized build (-O3)
make clean    # Remove build files

Example Output

Parsing 1 files and listing (year desc, title asc):

NeuroAI: Integrating Symbolic and Neural Reasoning
  Mondal, Deeptorshi and Jain, Mohit and Bhattacharya, Arani (IIIT)
  Year: 2027
  PDF file: https://example.org/papers/neuro27.pdf
  Presentation slides: https://example.org/papers/neuro27-slides.pdf
******

QuantumSys: Hybrid Optimization with Quantum Acceleration
  Chen, Ming and Aggarwal, Navneet and Ghosh, Aritrik
  Year: 2026
  PDF file: https://example.org/papers/quantum26.pdf
******

Requirements

  • g++ with C++17 support
  • make

About

This is a C++ program to manage and organize publication entries from .bib files using OOP concepts. It can handle extra details like PDF or source links, allow sorting by year and title, and even merge multiple bib files with operator overloading.

Topics

Resources

Stars

Watchers

Forks