Created
October 23, 2017 06:11
-
-
Save paradx/60247b29e52ff67dc922566843a615f8 to your computer and use it in GitHub Desktop.
NppExec Script for compiling latex with biber and starting the pdf reader (in this case Adobe Acrobat). To prevent r/w issues on the opened files, the PDF viewer will be closed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taskkill /im AcroRd32.exe | |
npp_save | |
cd "$(CURRENT_DIRECTORY)" | |
pdflatex.exe "$(FILE_NAME)" | |
biber.exe "$(NAME_PART)" | |
pdflatex.exe "$(FILE_NAME)" | |
pdflatex.exe "$(FILE_NAME)" | |
cmd /C start "AdobeAcrobat" /D C:\Progra~2\Adobe\ACROBA~1\Reader\ Acrord32.exe $(CURRENT_DIRECTORY)\$(NAME_PART).pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment