How to end a batch of process ?
For those who know LaTeX, I have been using Notepad++ to compile my files for years.
I press F6, then run
cd $(CURRENT_DIRECTORY) clean.bat del $(NAME_PART).pdf pdflatex $(NAME_PART).tex bibtex $(NAME_PART) pdflatex $(NAME_PART).tex pdflatex $(NAME_PART).tex clean.bat C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.exe $(NAME_PART).pdf
In the old versions of NppExec, if I had a problem during the compilation, I just had to
Endthe process by pressing END once. But now, it no longer works. I now have to end each one of the
pdflatexseperately, i.e. 4 times in my case.
What’s the best way to end the whole
sessionin a single click?
Sorry, I know nothing about the LaTeX processes, or why one END would have stopped it all before but not now.
ENDbutton are you talking about? Is it something in LaTeX? (I don’t remember an END button in NppExec)
You didn’t say what changed – like upgrading Notepad++ or NppExec or LaTeX. You didn’t say what version of anything you are using now.
Also, you only gave about 11 hours between your first post and your “anyone?” prompt. For most of North America, you posted on Friday night and were getting impatient for a reply reasonably early Saturday morning. The Europeans may have had more of the day on their Saturday to help you… but it’s still their traditional weekend.
The subset of NPP users who frequent this forum who use NppExec who know LaTeX might be rather small, so it might be a while yet. As soon as there is someone around who has the expertise to help, they will.
i don’t know LaTeX either, but you could use taskkill (
C:\Windows\System32\taskkill.exe) at the end of your scripts, as a workaround until you find a solution.
taskkill /f /im pdflatex.exewill force end all instances of pdflatex.exe at once.