• People
    • Current Team
    • Alumni
    • Alumni Experiences
    • Memories
  • Publications
  • Openings
  • Lab Handbook
    • Computational Resources
    • Lab Culture
    • Academic & Research Skills
    • Design Kit
  • News
  • Media coverage
  • Awards
  • Events
    • Events Home
    • ACM India Summer School 2025

On this page

  • BibTeX Management for Publications
    • Files
    • Usage
      • To update the comprehensive bibliography:
      • To add a new publication:
      • Download formats available:
    • Automation
    • File naming convention

BibTeX Management for Publications

This directory contains scripts and files for managing BibTeX references for all Sustainability Lab publications.

Files

  • bibtex/ - Directory containing individual .bib files for each publication
  • bibtex/all_publications.bib - Comprehensive bibliography with all publications
  • aggregate_bibtex_simple.py - Script to automatically generate the comprehensive bibliography

Usage

To update the comprehensive bibliography:

cd papers/
python aggregate_bibtex_simple.py

This will: 1. Read all individual .bib files from the bibtex/ directory 2. Sort them by year (newest first) 3. Generate a new bibtex/all_publications.bib file with all publications

To add a new publication:

  1. Create a new .bib file in the bibtex/ directory with the citation
  2. Add the download link to index.qmd (see existing examples)
  3. Run the aggregation script to update the comprehensive bibliography

Download formats available:

  • Individual .bib files: For specific publications
  • Comprehensive .bib file: All publications in one file (bibtex/all_publications.bib)

Automation

You can set up a git hook or CI/CD pipeline to automatically run the aggregation script when new .bib files are added:

# Add to .git/hooks/pre-commit
#!/bin/bash
cd papers/
python aggregate_bibtex_simple.py
git add bibtex/all_publications.bib

File naming convention

Individual .bib files should follow the pattern: {keyword}{year}.bib

Examples: - space2policy2025.bib - jouleseye2024.bib - vartalaap2021.bib

© 2025 Sustainability Lab, IIT Gandhinagar

Publications | Research Skills Bootcamp | Contact

Built with Quarto