#!/bin/sh # convertbiblio: a script for converting standard # bibliography to the database format for BibTex/LaTex # use this script as a filter, e.g.: # convertbiblio listOfBibitemRefs.tex > somefilename.bib # and then replace the references in latex with the 2 lines: # \bibliographystyle{unsrt} % or prsty or something else # \bibliography{somefilename} % the output of convertbiblio # run latex / bibtex / latex / latex ... et voila! # # (was rewritten in python, see convertbiblio.py) # v. 2.94 - Nick - 14/03/2017 name=`basename $0` cat <1) print}'| # put bibtex keywords: sed ' s/\\bibitem/\ \@misc/ s/}/, note=\"\{/ s/\.* *$/}\"\}/'