Difference between revisions of "Extension requirements"

From Inkscape Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


<b>Unhide the Effects menu</b><Br>
<b>Unhide the Effects menu</b><Br>
     - On the "Misc" tab of the "Inkscape Preferences" dialog check the box labeled "Enable script effects"
     - On the "Misc" tab of the "Inkscape Preferences" dialog check the box labeled "Enable script effects" (0.42CVS onwards only)
     - Close and reopen Inkscape
     - Close and reopen Inkscape


Line 32: Line 32:
         5: copy contents of XML-XQL-*\lib\XML into C:\Perl\site\lib\XML
         5: copy contents of XML-XQL-*\lib\XML into C:\Perl\site\lib\XML
         6: copy XML-XQL-*\XQLParser\Parser.pm to C:\Perl\site\lib\XML\XQL
         6: copy XML-XQL-*\XQLParser\Parser.pm to C:\Perl\site\lib\XML\XQL
<b>Plugin Effects</b><br>
    - I have absolutely no idea. Please record your success here. :)
<b>What if it doesn't work?</b><br>
    - Run Inkscape from the console
    - Use the error messges printed to the console to diagnose the problem (very often missing dependencies)
    - On Windows you will have to redirect output to a text file like this: "inkscape > output.txt"

Revision as of 13:18, 20 June 2005

Setting Up Effects in Inkscape
For effects to work you need to be using inkscape .42 or a recent nightly build.
For info about what effects can do, screenshots, and how to make your own go to Aarons Site

Unhide the Effects menu

   - On the "Misc" tab of the "Inkscape Preferences" dialog check the box labeled "Enable script effects" (0.42CVS onwards only)
   - Close and reopen Inkscape

Python Effects
on Debian GNU / Linux

   - apt-get install python python-xml

on Microsoft Windows

   - Tutorial on Getting Effects to work on Windows 2000/XP

Perl Effects
on Debian GNU / Linux

   - apt-get install perl libxml-xql-perl

on Microsoft Windows

   - install ActivePerl
   - install XML::XQL::DOM (perhaps like this?)
       1: install prereqs with ppm:
	    install xml-dom
	    install parse-yapp
	    install datemanip
       2: download xml-xql from:
	    http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-XQL-0.68.tar.gz
       3: open command prompt and locate perl"s lib directory with:
	    perl -e "print qq(@INC)"    (mine was C:/Perl/site/lib)
       4: unpack xml-xql archive
       5: copy contents of XML-XQL-*\lib\XML into C:\Perl\site\lib\XML
       6: copy XML-XQL-*\XQLParser\Parser.pm to C:\Perl\site\lib\XML\XQL

Plugin Effects

   - I have absolutely no idea. Please record your success here. :)

What if it doesn't work?

   - Run Inkscape from the console
   - Use the error messges printed to the console to diagnose the problem (very often missing dependencies)
   - On Windows you will have to redirect output to a text file like this: "inkscape > output.txt"