Giter Site home page Giter Site logo

yaco / mdbibexport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robert-winkler/mdbibexport

0.0 1.0 0.0 20 KB

Extracts the cited references of a markdown document into a bibtex database.

License: GNU General Public License v3.0

Perl 100.00%

mdbibexport's Introduction

mdbibexport

mdbibexport.pl extracts the cited references of a Pandoc markdown document and writes a bibtex database for this document. The keys are extracted from the markdown file and written into an auxiliary file, which is used by BibTool to find the references in the bibtex (.bib) data base and to write them into a new file.

This is a small fork that removes the prompts for manual input of files and takes the arguments passed to the command. See below.

Requirements

BibTool http://gerd-neugebauer.de/software/TeX/BibTool/en/, Pandoc http://www.pandoc.org/ and Perl https://www.perl.org/ have to be installed on the system. Version 2.65 of BibTool, version 1.16.0.2 of Pandoc and version 5.25 of Perl have been tested with this script.

Use

The Perl script is run from command line, in a non interactive way, so you add the files as arguments in the following way:

$ perl mdbibexport.pl <path to markdown file> <path to bibtex file>

The cited references will be exported as <markdownd file>.bib.

Note for Calibre users

To avoid the issue of change of cases in references, important if you are using Calibre to generate your .bib file, add these lines in your ~/.bibtoolrsc file:

preserve.key.case {on}
select.case.sensitive {on}

License

General Public License (GPL), version 3.0 https://www.gnu.org/licenses/gpl-3.0.html.

Release version

0.21

Release date

2016/12/11.

Author

Dr. Robert Winkler.

Contributor

Albert Krewinkel. Franco Augusto

Contact

[email protected], [email protected].

mdbibexport's People

Contributors

robert-winkler avatar yaco avatar

Watchers

 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.