diff options
author | Norbert Preining <norbert@preining.info> | 2022-07-23 03:01:02 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-07-23 03:01:02 +0000 |
commit | fcd380d0a9f42e14bfc55d8ea92e93fe0b7b48b9 (patch) | |
tree | 7db30c9583c625a81c7aabaecdbc163379b8a39a /graphics/figput/javascript/release/figput.html | |
parent | 72eecdf45fcf3f421668c6bdfbfe17141ce3edc1 (diff) |
CTAN sync 202207230301
Diffstat (limited to 'graphics/figput/javascript/release/figput.html')
-rw-r--r-- | graphics/figput/javascript/release/figput.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/figput/javascript/release/figput.html b/graphics/figput/javascript/release/figput.html new file mode 100644 index 0000000000..431a4c18e7 --- /dev/null +++ b/graphics/figput/javascript/release/figput.html @@ -0,0 +1,38 @@ + +<!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> + + <script src="figput.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> + |