Not a difficult problem for Perl and probably don't need to do anything special with LaTeX if you have a good template (ie, example file with proper LaTeX included).
Show what you've got and you could get some help.
In reply to Re: repetitive latex doc: in vim or perl?
by igelkott
in thread repetitive latex doc: in vim or perl?
by stabu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |