master
Stephen Cochrane 4 years ago
parent 4e0ebb01b4
commit b82aad7b0e
  1. 2
      picbin
  2. 1
      texbib

@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash
# @Auther Stephen Cochrane
set -e

@ -1,3 +1,4 @@
#!/bin/bash
[[ -z $1 ]] && echo -e "Usage: texbib <file>\n* Example,\n * texbib file\n * Will generate "file.pdf" from file.tex and look for references in file.bib (if it exists)" && exit 1
[[ ! -f $1.tex ]] && echo "ERROR: \"$1.tex\" not found." && exit 1
pdflatex $1.tex && biber $1; pdflatex $1.tex && pdflatex $1.tex

Loading…
Cancel
Save