home bbs files messages ]

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,815 of 42,547   
   abdulbasit.fast@gmail.com to All   
   How to displaying error on console when    
   05 Dec 13 23:58:28   
   
   Hello!   
   I am new to batch file.Simply using batch files to run a set of LaTeX commands   
   for rendering LaTeX input.   
      
   Here is the batch file:   
      
   latex 1.tex   
   dvipng -T tight 1.dvi   
   copy 11.png question-preview   
      
   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.   
      
   Can someone help me tacking this issue?   
      
      
       
      
   --- 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