|
EmbedPDFPlugin
Many browsers can show PDF documents embedded just like pictures within HTML documents using the <embed> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
|
|
-
- Set SHORTDESCRIPTION = embed PDF document in TWiki page
- Debug plugin: (See output in
data/debug.txt )
|
< < |
|
> > |
|
|
- Create a link under every embedded PDF file with the specified link text if set (useful for browser that don't know how to embed PDF):
- Set LINKTEXT = (click here to display this PDF file by itself)
|
|
-
- Edit this page on your local TWiki installation and change the < and > three lines down to < and > to enable the
<EMBED /> tag.
- The following two pictures should then look the same (assuming you have a PDF plugin installed in your browser)
- embed tag created using
%EMBEDPDF{ pdf }%
|
< < |
-
-
- hard coded embed tag
<embed SRC="http://wiki.gnhlug.org/twiki2/pub/TWiki/EmbedPDFPlugin/pdf.pdf" width="216" height="31" />
|
> > |
|
|
|