Skip to content

Commit

Permalink
Add a script to output PDF in Windows.
Browse files Browse the repository at this point in the history
Follow-up to PR zxcalc#152.
  • Loading branch information
dlyongemallo committed Nov 3, 2023
1 parent 4278d18 commit 9a0fa87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ set BUILDDIR=_build
set SPHINXPROJ=PyZX

if "%1" == "" goto help
set SPHINXTARGET=%1

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
Expand Down
3 changes: 2 additions & 1 deletion makedoc.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
call doc\make.bat clean
call doc\make.bat html
pause
start doc\_build\html\index.html
start doc\_build\html\index.html
4 changes: 4 additions & 0 deletions makepdf.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
call doc\make.bat clean
call doc\make.bat latexpdf
pause
start doc\_build\latex\pyzx.pdf

0 comments on commit 9a0fa87

Please sign in to comment.