Code Monkey home page Code Monkey logo

bib_fix's Introduction

bib fix

Get your LaTeX bibliography camera-ready, with one command!

Some LaTeX styles don't ensure that the capitalization of the references' titles are preserved. By default, only the first letter is capitalized. Many bibliography sources, e.g. Google Scholar, don't wrap the rest of the capitals in {} to preserve them. This script will wrap the capital letters of the title with curly brackets. It will also produce some coherent indentation (first line not indented, the rest with four-space indent). And it will also correct the double quotation marks to the LaTeX syntax standard of `` ".

Prerequisites

  • Python3

Usage

  • Input: (path +) your bib file.
  • Output: (path +) name of the new bib file to be made (can use same name to over-write).

python bib_fix.py [input bib file] [output bib file]

TODOs

  • Fix single quoation marks
  • Add coherent one-space-only between references
  • Your suggestions in Issues!

bib_fix's People

Contributors

lenakmeth avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.