title: Missing XeLateX when trying to use NBconvert (to PDF) on Windows
body: <p>Jupyter's default export to PDF, like the command-line NBconvert tool, are telling me that I can't convert my notebook to PDF because the PDF conversion goes via <code>xelatex</code>. The error message refers me to <a href="https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex" rel="nofollow noreferrer">this help page</a>, so I installed MiKTeX. I have a <code>xelatex</code> folder in <code>AppData\Local\Programs\MiKTeX 2.9\tex</code>, but I'm not sure what exactly I should add to my PATH.</p>
  
  <p>If it's helpful, here is some of the code in nbconvert's pdf.py:</p>
  
  <pre><code>def run_latex(self, filename):
      """Run xelatex self.latex_count times."""
  
      def log_error(command, out):
          self.log.critical(u"%s failed: %s\n%s", command[0], command, out)
  
      return self.run_command(self.latex_command, filename,
          self.latex_count, log_error) 
  </code></pre>