diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/figput/javascript/figput.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/figput/javascript/figput.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/figput/javascript/figput.html b/Master/texmf-dist/doc/latex/figput/javascript/figput.html new file mode 100644 index 00000000000..0f855a6c20c --- /dev/null +++ b/Master/texmf-dist/doc/latex/figput/javascript/figput.html @@ -0,0 +1,42 @@ + +<!doctype html> + +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>FigPut Viewer</title> + + <!-- The pdf.js stuff, from Mozilla. --> + <script src="pdf.js"></script> + <script src="pdf.worker.min.js"></script> + + <!-- FigPut code --> + <script src="layout.js"></script> + <script src="tikz.js"></script> + <script src="widgets.js"></script> + <script src="main.js"></script> + + <style> + /* Put the canvas right up to the edge of the visible area of the window. */ + body { + padding: 0; + margin: 0; + } + </style> +</head> + + +<!-- +Note that 'unknown1' will be changed to the project's name as this file +is being served. If the pdf generated by LaTeX is called math.pdf, then +'unknown1' will become 'math'. +BEWARE: This works by replacing every occurence of 'unknown1' in this file, +so don't use 'unknown1' for anything else. +The same basic thing is going on with unknowny, but it is used for scroll +position +--> +<body onload="doOpenDocument('unknown1',unknowny)" id="mainbody"> + <canvas id="pdf_renderer"></canvas> +</body> +</html> + |