title: Passing command-line arguments to LaTeX document
body: <p>I have a LaTeX file, 'myfile.tex' say, that sometime in the middle of the code an ASCII file with LaTeX macros
  has to be input, 'macrofile.tex, say, through an '\input{macrofile}' command. Actually, there are more than one 'macrofiles', so every time I have to edit 'myfile' and change the name of 'macrofile'. I can avoid the
  edit part by using a \typein command, yet, I'd still have to enter the name from the keyboard. Is there any way to do that from the command line? So, to summarize, 'myfile.tex' looks like:</p>
  
  <pre><code>\documentclass{article}
  ........................
  .......................
  .......................
  \begin{document}
  .......................
  ......................
  .......................
  .......................
  ........................
  .......................
  \input{macrofile1} OR {macrofile2} OR {macrofile3} ETC...
  .......................
  ......................
  ......................
  ....................
  .....................
  \end{document}
  </code></pre>
  
  <p>Can I pass the name of 'macrofile' as an argument to 'myfile.tex'?</p>
  
  <p>Thanks</p>
  
  <p>John</p>