Skip to content

This Python script converts a BibTeX file (.bib) into a LaTeX file with \bibitem format, which is useful for the automatic generation of bibliographies in LaTeX documents.

Notifications You must be signed in to change notification settings

iamdrfly/change_bibblio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

BibTeX to LaTeX Converter

Description

This Python script converts a BibTeX file (.bib) into a LaTeX file with \bibitem entries. It provides a user-friendly interface using tkinter for file selection and utilizes bibtexparser to parse and convert the BibTeX data.

Features

  • File Selection: Easily select the input BibTeX file and specify the output LaTeX file using file dialogs.
  • BibTeX Parsing: Converts BibTeX entries into LaTeX \bibitem format.
  • Output Generation: Generates a LaTeX file containing formatted \bibitem entries for inclusion in a LaTeX document.

Usage

  1. Run the script.
  2. Choose the input BibTeX file when prompted.
  3. Specify the location and filename for the output LaTeX file.
  4. The script creates a LaTeX file with \bibitem entries based on the BibTeX data.

BibTeX to LaTeX \bibitem Conversion Guidelines

  • Article (@article):
    \bibitem{key}
    Author(s), ``Title,'' Journal, vol. Volume, no. Number, pp. Pages, Year.
    

Dependencies

  • Python 3.x: Ensure Python 3.x is installed.
  • bibtexparser: For parsing BibTeX files.
  • tkinter: For file dialogs (usually included with Python by default).

Installation

Install the required Python package with:

pip install bibtexparser

About

This Python script converts a BibTeX file (.bib) into a LaTeX file with \bibitem format, which is useful for the automatic generation of bibliographies in LaTeX documents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages