dunn/tpdf
Bash script combining pdfLaTeX and BibTeX with time- and date-stamping capabilities
README
tpdf version 0.04 tpdf is a little wrapper script that combines pdflatex and bibtex running tpdf: tpdf <options> file.tex file.bib -b --bibtex run BibTeX as well as pdfLaTeX if this option is selected without a file.bib file specified, tpdf will look in your local texmf/bibtex/bib directory -s --stamp tpdf makes time- and date-stamped directories -c --clean tpdf removes old stamped PDFs (but leaves the source files) short options can be combined (e.g., -bsc, -cbs, -bs) If stamp mode is on, tpdf creates a datestamped folder in the working directory, and a timestamped folder in the datestamped folder. tpdf copies the .tex file (timestamping it) into the timestamped directory then runs pdfLaTeX on the copied .tex file If you indicated a .bib file, tpdf will copy it to the timestamped folder and run BibTeX tpdf asks if you want to run pdfLaTeX once more to clean up \refs Whether or not BibTeX is run, tpdf will ask to run pdfLaTeX once more. (pressing <return> is equivalent to "y" in response to prompts.) # copyright Alex Dunn 2011--2012 # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>.