Latex Utilities
This page explains the use and installation of three executable files to be used for editing abbreviation, macro and bibliography files for a latex document. For example if you are writing a latex document "latexFile.tex" using a central macro file "allMacros.sty" containing many or all of the macros that you have written and used in the past then you might want to produce a file containing only those macros that you are actually using in "latexFile.tex".

(E.g. for publishing some journals request, for compatibility reasons, that additional (*.sty) files contain only those macros/abbreviations that you have actually used in your latex document.)

You can use the executable file makeMacroFile to do just this: given (copies of - for safety) the files "allMacros.sty" and "latexFile.tex" it will output a file "latexFile.sty" (or whatever name you wish to give it) containing precisely the defininitions of the macros that you use in "latexFile.tex".

In addition to makeMacroFile you will find below instructions concerning the executable files makeAbbrevFile and makeBibFile. The former is simply a more basic version of makeMacroFile that only handles macro/abbreviation definitions of at most one line in length. The latter is to be used in a similar way to that described above, but for producing a bibliography file tailored precisely for the latex document that you are writing, and generated from a larger bibtex file.

To download, install and use these files follow the links below.

makeAbbrevFile
makeMacroFile
makeBibFile

[ Back to Home Page ]