Giter Club home page Giter Club logo

bibtexquery's Introduction

BibtexQuery: a simple command-line bibtex query utility

BibtexQuery is a command-line utility that reads in a bibtex file and performs simple queries. A query is a string of the form q.querystring, where q is either a for author, t for title, k for key, c for class (i.e. book, article, etc), or w for keywords, and querystring is a string (without spaces). BibtexQuery reads in a bibtex file, and returns the entries that match all the queries given as command-line parameters. Note that the entries are processed in such a way that strips diacritics, spaces and special characters before the queries are performed. In addition, the list of authors is normalized to firstnamelastname. Hence, for example, Dupuis, Frédéric will match the query a.ericdup.

Note that currently, only a subset of the official Bibtex format is supported; features such as predefined strings and concatenation using # are not supported. It is unclear whether this will ever be supported in the future; I only wrote this to learn how to do "normal programming" in Lean 4, and I don't personally use these Bibtex features.

Installation instructions

Make sure you have a working Lean 4 installation (see here for how to do that), and then type lake build in the main directory. The executable should appear in .lake/build/bin.

bibtexquery's People

Contributors

dupuisf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alarasen

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.