LaTeX forum ⇒ Viewers for PDF, PS, and DVIAutomatically Compiling with WinEdt Topic is solved

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Automatically Compiling with WinEdt

Postby sw3quant » Tue Sep 23, 2014 5:43 pm

I use WinEdt 9 and Win 7.

I call LaTeXify using "Shift+Ctrl+P" to generate my PDF file from my tex file http://www.winedt.org/Config/menus/LaTeXify.php.

I can open my tex file from the Windows DOS command line by typing

  1. "C:\Program Files\WinEdt Team\WinEdt 9\WinEdt.exe" "E:\Latex\Report\Report.tex"


I now wish to compile the PDF from the DOS command line. How can I do this?

thank you!

sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Postby sw3quant » Wed Sep 24, 2014 2:11 pm

This is for running from the DOS command line (but actually called from system.m inside MATLAB).

  1. %http://www.winedt.org/Config/menus/LaTeXify.php
  2. %ADD to the VERY first line of your tex document: %& -output-directory=A:\latestResults
  3. system('"C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\texify.exe" --pdf "E:\Latex\RiskReport\riskReport.tex"');


Return to “Viewers for PDF, PS, and DVI”

Who is online

Users browsing this forum: No registered users and 2 guests