[Tex/LaTex] WinEdt 10 no longer works with MiKTeX

miktexwinedt

I have been using WinEdt 10 on Windows 10 just fine. On a new install today, WinEdt 10 no longer works with MiKTeX, I'm assuming because of the new November package refactoring. Can someone help? I've followed the directions on MiKTeX's website, but literally LaTeX code that would compile on an older laptop last week (which I no longer have) will no longer compile on a new laptop with a fresh install of both WinEdt and MiKTeX. Here is a MWE:

\documentclass{article}

\makeatletter
\providecommand{\tabularnewline}{\\}
\makeatother

\begin{document}

\tabularnewline
\rule{\textwidth}{1pt}

\end{document}

The above used to compile, but now it does not. Any insight into what packages I may be missing? Note that if I comment out \providecommand, the code will compile.

Edit: You know what is odd, the following MWE does work.

\documentclass{article}

\makeatletter
\providecommand{\tabularnewline}{\\}
\makeatother

\begin{document}

A \tabularnewline
\rule{\textwidth}{1pt}

\end{document}

It seems I must have a character before the \tabularnewline \rule{}. With the old version of MiKTeX, this was not necessary. I'm not sure what's happening here.

Best Answer

Your code never worked -- neither in older miktex or in TeXLive. It is an error to begin a paragraph with a new line.

If you didn't get errors on your old laptop with this code you probably compiled in \nonstopmode and so was able to ignore the errors. You could try to restore the old behaviour by adding in the menu Options -> Execution modes -> pdflatex in the field "switches"the option--interaction=nonstopmode`.

But be warned: nonstopmode doesn't correct the errors it only avoids that the compilation stops. Ignoring errors is not a good idea in LaTeX. Even if it looks as if they are not serious, they indicate that something is wrong. You should always check the log file and correct them directly.