Skip to content

This program takes out undesired fields from a biblatex file. Written to clean up Zotero biblatex exports.

License

Notifications You must be signed in to change notification settings

JakeC007/Biblatex-Field-Stripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Biblatex-Field-Stripper

This program takes out undesired fields from a biblatex file

This file strips fields from a biblatex file. The orginal code that inspired this project was written by astrobel found here: https://forums.zotero.org/discussion/22629/bibtex-export-request-option-to-omit-certain-fields-for-less-cluttered-bibliographies
Though, only 6 lines from that blog post remain. I made the idea more robust by modifying it to run from the command line, adding automatic outputfile creation, giving options on what to strip, adding input validation, and (most importantly) taking in multiple fields to strip.

How to run the program from the internet:

  1. Go to https://repl.it/languages/python3
  2. Copy and paste the contents of the strip.py file into the main.py text field
  3. Upload your Biblatex file
  4. Press the run button
  5. Enter the filename of your .bib file WITHOUT the extension
  6. Enter the name of the fields you want to strip. This is case senstitive!
  7. Press q to stop entering new fields
  8. Download your new biblatex file(it should be on the left). The naming convention is FIXED.bib

How to run the program locally:

  1. Run the program
  2. Enter the filename of your .bib file WITHOUT the extension
  3. Enter the name of the fields you want to strip. This is case senstitive!
  4. Press q to stop entering new fields
  5. Open your new biblatex file. The naming convention is FIXED.bib

Here is what the program looks like:

Below is an image of what the input looks like Image Of How To Use The Program

Below is an image of a biblatex entry in the input file Biblatex Before

Below is an image of a biblatex entry in the output file Biblatex After

About

This program takes out undesired fields from a biblatex file. Written to clean up Zotero biblatex exports.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages