<iframe src="http://docs.google.com/gview?url=http://www.twiki.org/p/pub/Plugins/EmbedPDFPlugin/pdf.pdf&embedded=true" style="width:718px; height:700px;" frameborder="0"></iframe> <embed src="http://www.twiki.org/p/pub/Plugins/EmbedPDFPlugin/pdf.pdf" width="500" height="375" type='application/pdf'> <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script> <script type="text/javascript"> // // If absolute URL from the remote server is provided, configure the CORS // header on that server. // var url = 'http://www.twiki.org/p/pub/Plugins/EmbedPDFPlugin/pdf.pdf'; // // Disable workers to avoid yet another cross-origin issue (workers need // the URL of the script to be loaded, and dynamically loading a cross-origin // script does not work). // // PDFJS.disableWorker = true; // // In cases when the pdf.worker.js is located at the different folder than the // pdf.js's one, or the pdf.js is executed via eval(), the workerSrc property // shall be specified. // // PDFJS.workerSrc = 'http://mozilla.github.io/pdf.js/build/pdf.worker.js'; // // Asynchronous download PDF // PDFJS.getDocument(url).then(function getPdfHelloWorld(pdf) { // // Fetch the first page // pdf.getPage(1).then(function getPageHelloWorld(page) { var scale = 1.5; var viewport = page.getViewport(scale); // // Prepare canvas using PDF page dimensions // var canvas = document.getElementById('the-canvas'); var context = canvas.getContext('2d'); canvas.height = viewport.height; canvas.width = viewport.width; // // Render PDF page into canvas context // var renderContext = { canvasContext: context, viewport: viewport }; page.render(renderContext); }); }); </script> <script type="text/javascript" src="http://pdfobject.com/scripts/pdfobject.js"></script> <script type="text/javascript"> window.onload = function (){ var success = new PDFObject({ url: "http://www.twiki.org/p/pub/Plugins/EmbedPDFPlugin/pdf.pdf" }).embed("pdf"); }; </script> <div id="pdf">It appears you don't have Adobe Reader or PDF support in this web browser. <a href="http://www.twiki.org/p/pub/Plugins/EmbedPDFPlugin/pdf.pdf">Click here to download the PDF</a></div> -- Main.AndreDavid - 2015-07-23
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2015-07-23
-
AndreDavid
Home
Plugins
Sandbox for tests
Support
Alice
Atlas
CMS
LHCb
Public Webs
Sandbox Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
PDF version
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Cern Search
TWiki Search
Google Search
Sandbox
All webs
E
dit
A
ttach
Copyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback