Changes between Version 9 and Version 10 of PdfImagePlugin


Ignore:
Timestamp:
Feb 29, 2012, 7:31:14 PM (12 years ago)
Author:
ursaw
Comment:

Docu according version 0.0.3

Legend:

Unmodified
Added
Removed
Modified
  • PdfImagePlugin

    v9 v10  
    55== Description ==
    66
    7 Insert PDFs or vectorgraphics like SVGs as PNG-Image into a wikipage. This is somehow an extension of the base Image-Macro.
     7Insert PDFs or vector graphics like SVGs as PNG-images into a wikipage or ticket.
    88   
    9 
     9Requires `convert` from [http://www.imagemagick.org ImageMagick], `convert` may fail on specific files.
    1010   
    11 The handling and the parameters are inspired by LaTeX includegraphics.
     11The handling and the parameters are inspired by LaTeX includegraphics and the trac !ImageMacro.
    1212
    13 The Location of the file can be an attachment (wikipage or ticket) or a local file (keyword "file:").
    14 Locations in the SVN could lead into authentification Problems.
    15 External Locations means first downloading the resource.
     13Examples:
     14{{{
     15[[PdfImg(Book.pdf,width=400,page=100,caption="Page 100 from Book Example")]]
     16[[PdfImg(source:testpro/drawing.svg@10,width=600,caption="SVG-image from repository in version 10")]]
     17[[PdfImg(ticket:1:file.pdf)]]
     18}}}
    1619
     20=== Acknowledgement ===
    1721'''Attention''' PDF conversion with !ImageMagick-`convert`  may fail on specific PDF s. This is not a problem of the plugin, this is a problem of `convert`.
     22
    1823
    1924=== Requirements ===
    2025 * !Install `convert` from the [http://www.imagemagick.org ImageMagick]-suite.
    2126 * Tested -so far only- on Linux 
    22  * Tested on Trac version 0.11.7 and 0.12.2
    2327
    24      
     28Tested on this configurations:
     29|| OS              || trac                  || imagemagick       ||
     30|| Ubuntu 11.04    || 0.11.7-4 (deb)        || 7:6.6.2.6-1ubuntu ||
     31|| Ubuntu 0.11.7-4 || 0.12.2 (easy_install) || ? ||
     32
     33
    2534=== Parameters ===
     35   
     36Possible trac links for resource:
     37The Location of the file can be an attachment (wikipage, ticket, svn) or a local file (keyword "file:").
     38||= trac link =||= alternatives =||= comment              =||
     39|| wiki        ||  !JustPageName || Attachment in wikipage ||
     40|| ticket      ||  !#1           ||                        ||
     41|| source      ||  browser,repos ||                        ||
     42|| file        ||                || need configuration `file.prepath`   ||
     43     
     44Parameters:
    2645||= Parameter =||= Value                 =||= default =||                         ||
    2746|| `pdffile`   || location of PDF-file    ||           || required                ||
    28 || page        || Page to display         || 1         || starting with '''1'''   ||
    29 || width       || width in pixel          || 600       ||  must be absolute value ||
    30 || caption     || Caption under Image     || ''none''  ||                         ||
     47|| page        || Page to display         || 1         || starting with '''1'''   || 
     48|| width       || width in pixel          || 600       ||  must be absolute value || 
     49|| caption     || Caption under Image     || ''none''  ||                         || 
    3150|| label       || anchor to link to       ||           ||                         ||
    3251|| || || || ||
    3352|| cache       || build once or each time || True      ||  time consumption or changing vectorgraphics  ||
    3453|| align       || left|right              || nothing   ||                         ||
     54   
     55
     56
     57     
    3558   
    3659