Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,814 of 42,547    |
|    foxidrive to abdulbasit.fast@gmail.com    |
|    Re: How to displaying error on console w    |
|    06 Dec 13 20:04:44    |
      From: foxidrive@server.invalid              On 6/12/2013 18:58, abdulbasit.fast@gmail.com wrote:       > What happens is: when correct LaTeX input is given, batch file complete its       execution successfully and       > desired output is generated. But when a wrong input is given, usually the       first command (latex 1.tex)       > remained unable to produce the desired output but no error is displayed on       the console. In this case I       > want to see the error generated by the Tex Engine (that was actually behind       the scene running that       > command) on the console.       >       > I want something if(Command goes fine) no pause else console should take a       pause and error should be       > displayed on the screen.                     I can't test this as I don't use LaTeX.              It assumes that latex.exe returns a non-zero errorlevel on error.                     latex 1.tex       if errorlevel 1 echo error occurred & pause & goto :EOF       dvipng -T tight 1.dvi       copy 11.png question-preview              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca