Just out of curiosity: Is there a way to compile latex document with two document classes at once?
Suppose that I have a paper which start with line:
\documentclass[preprint,authoryear,12pt]{elsarticle}
But finally I would like to compile it with such line:
\documentclass[final,5p,times,twocolumn]{elsarticle}
Obviously I can replace these lines and compile file twice, but I wonder if there is any trick to avoid double compilation?