diff --git a/appveyor.yml b/appveyor.yml index 588c86a5e..7ce7dc171 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,7 +37,7 @@ after_test: # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is) - cd windows - 7z a "pandoc.zip" pandoc.exe - - .\pandoc.exe -s -S ..\README -o README.html + - .\pandoc.exe -s -S --toc ..\README -o README.html - .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf - copy ..\COPYRIGHT COPYRIGHT.txt - | diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat index 2f0bf4b88..892a61cdc 100644 --- a/windows/make-windows-installer.bat +++ b/windows/make-windows-installer.bat @@ -2,7 +2,7 @@ stack install --test if %errorlevel% neq 0 exit /b %errorlevel% for /f "delims=" %%a in ('stack path --local-bin-path') do @set BINPATH=%%a -%BINPATH%\pandoc.exe -s -S ..\README -o README.html +%BINPATH%\pandoc.exe -s -S --toc ..\README -o README.html if %errorlevel% neq 0 exit /b %errorlevel% %BINPATH%\pandoc.exe -s ..\COPYING -t rtf -S -o COPYING.rtf if %errorlevel% neq 0 exit /b %errorlevel%