Topic: For chronic LaTeX compilers: a script
As I write my thesis in LaTeX (feel like the only social sciences person left doing such) I like to compile frequently--hence this script.
The script compiles a .tex file to .pdf using dvips and ps2pdf. It has support for bibliographies, and optional creation of .rtf and .html files to go with the .pdf.
Outline of the script:
Prompt for directory
Create optional, dated .tar backup in backups folder
Select .tex file (automatic if there is only 1 .tex in the directory)
If .bib exists, asks if you want to use it. Select .bib (or automatic if only 1 .bib in directory)
Run the actual compilation(s)
Create optional .rtf file (using latex2rtf package)
Create optional .html folder/file (using latex2html package)
Prompt to open newly created .pdf is so desired
You can grab the main script ere: http://crunchbanglinux.org/pastebin/808
including helpful revisions by luc.
Welcome feedback, ideas, extensions, etc.
Last edited by jmbarnes (2010-10-23 17:52:21)