@echo.
@echo Simple HTML Wrapper Generation using XSLT.
@echo.
@echo 1) Convert PDF to SVG...
copy "..\PDFTron_PDF2SVG_User_Manual.pdf" test.pdf /B
..\pdf2svg -o SampleOutput --verb 3 test.pdf
@echo.
@echo 2) Run XSLT transforms...
REM Create simple debug viewer
xsltrun SampleOutput\test.xml page_index.xsl SampleOutput\test.html
REM Create simple continuous mode viewer
xsltrun SampleOutput\test.xml mainframe.xsl SampleOutput\index.html
xsltrun SampleOutput\test.xml bookmarks.xsl SampleOutput\bookmarks.html
xsltrun SampleOutput\test.xml continuous.xsl SampleOutput\view.html
@echo.
@pause
