diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 25c73b8b2d3873..f8e23cf69cfed3 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -295,7 +295,7 @@ this respect, and is easily configured to use spaces: Take :menuselection:`Tools size" to 4, and select the "Insert spaces" radio button. If you suspect mixed tabs and spaces are causing problems in leading whitespace, -run Python with the :option:`-t` switch or run ``Tools/Scripts/tabnanny.py`` to +run Python with the :option:`-t` switch or run the :mod:`tabnanny` module to check a directory tree in batch mode. diff --git a/Doc/make.bat b/Doc/make.bat index 251f822abffc24..ef0e412c6c7233 100644 --- a/Doc/make.bat +++ b/Doc/make.bat @@ -71,7 +71,7 @@ goto end :build if NOT "%PAPER%" == "" ( - set SPHINXOPTS=-D latex_paper_size=%PAPER% %SPHINXOPTS% + set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS% ) cmd /C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*