An example displaying sample.dvi in the same directory as this html:
sample.dvi
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>dvi.js demo</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://naoyat.github.com/dvi.js/dvi.min.js"></script> <link rel="stylesheet" type="text/css" href="http://naoyat.github.com/dvi.js/texfonts.min.css"></style> </head> <body onload="dvi_load('#out','sample.dvi','#navi');"> <div id="navi"></div> <div id="out"></div> </body> </html>
There was an error while loading. Please reload this page.