Linux Utilities
|
makemake
|
Tired of making makefiles for your LaTeX files? Use makemake to generate a makefile automatically, and optionally make the .pdf file immediately. Place makemake into ~/bin/ and then type makemake nameOfTexFile to generate a makefile that produces nameOfTexFile.pdf from nameOfTexFile.tex. Add an ! at the end to make the .pdf file immediately.
|
| |
|
acslpr
|
Print multiple files to ACS. For large printing jobs, we're asked to use the ACS printers rather than department printers. One file can easily printed with the following command: cat fileName.pdf | ssh acs lpr (Careful - this doesn't work well with .doc files). If more than one file has to be printed, it can be tedious to type this over and over again. To solve this, use acslpr which attempts to print all files in the current directory to ACS. To avoid typing your password every time follow these instructions.
|
| |
|
flipimgs
|
If you take a lot of pictures with your camera sideways, use this one to rotate all images in the current directory. Or just run it on someone's machine to mess with them.
|
|
fixmatlabeps
|
Sometimes when MATLAB saves figures as EPS files it does so with negative bounding boxes, meaning that the boundaries of the image are defined with respect to a pixel within the image. Most applications are equipped to handle EPS files with negative bounding boxes but, unfortunately, LaTeX is not. When viewing a PDF made with LaTeX, an EPS with a negative bounding box will look like it has been cropped - often it will appear uncentered or part of the image itself will not appear. Run this script like this: fixmatlabeps infile.eps outfile.eps to create an EPS with a non-negative bounding box. (Script contibuted by Matt Silver).
Disclaimer: The script is buggy, and the author isn't very good at bash scripting, so don't delete the original file until you're sure you're happy with the results!!
|
|