title: How to use MongoDB documents in latex template?
body: <p>I am creating a <code>pdf</code> file from <code>latex</code> template, i have successfully compiled template file(<code>.tex</code>) to <code>pdf</code> with static value of template now i am going to use my data which are got from <code>mongo</code>, but i didn't understand how to put it in <code>latex</code> template.
  If you have idea then share it.
  Here my code</p>
  
  <pre><code>var sys   = require('sys'),
  spawn = require('child_process').spawn,
  pdflatex    = spawn('pdflatex', ['', '','cv_11.tex']);
  pdflatex.on('exit', function (code) {
  console.log('child process exited with code ' + code);     
  </code></pre>