anchor.diff:  
   REM Command file for Sphinx documentation
   
  +set PYTHON=python
   set SPHINXBUILD=sphinx-build
   set ALLSPHINXOPTS=-d _build/doctrees %SPHINXOPTS% .
   if NOT "%PAPER%" == "" (
  
positive.code: )
  
  if "%1" == "latex" (
  	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% _build/latex
  	echo.
  	echo.Build finished; the LaTeX files are in _build/latex.
  	goto end
  )
  
  if "%1" == "changes" (
  
negative.code: 	goto end
  )
  
  if "%1" == "pdf" (
      call :latex
  	cd _build/latex && make all-pdf
  	type nul > %1
  	goto end
  	)
  
  if "%1" == "upload" (
      call :html
  	./upload-gh-pages.sh _build/html/ dipy nipy
  	goto end
  	)
  
  if "%1" == "xvfb" (
  	set TEST_WITH_XVFB=true && make html
  	goto end
  	)
  
  if "%1" == "memory_profile" (
  	set TEST_WITH_MEMPROF=true && make html
  	goto end
  	)
  
  :end
  