Difference between revisions of "Output format requirements"
Jump to navigation
Jump to search
m (link fix) |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= Tips for getting Extensions to work = | = Tips for getting Extensions to work = | ||
Inkscape's extensions allow for importing and exporting non-SVG file types and direct editing of the current SVG document. For more information about the Extensions that appear in the Effects menu read GettingEffectsWorking. | Inkscape's extensions allow for importing and exporting non-SVG file types and direct editing of the current SVG document. For more information about the Extensions that appear in the Effects menu read [[GettingEffectsWorking]]. | ||
=== Open *.TXT === | === Open *.TXT === | ||
| Line 9: | Line 9: | ||
- install perl and optionally Image::Magick | - install perl and optionally Image::Magick | ||
- Only handles Illustrator versions prior to using PDF as the internal format (Version Number?) | - Only handles Illustrator versions prior to using PDF as the internal format (Version Number?) | ||
=== Save *.AI === | === Save *.AI === | ||
- requires pstoedit with the ps2ai filter | - requires pstoedit with the ps2ai filter | ||
- uses Inkscapes internal ps output extension | - uses Inkscapes internal ps output extension | ||
=== Open *.PS === | |||
- requires skconvert python script from sketch =>> install sketch | |||
=== Open *.WMF === | |||
- requires wmf2svg, part of libwmf (http://wvware.sourceforge.net/libwmf.html) | |||
=== Save *.PDF (Win32) === | |||
<pre> | |||
- install [[GhostScript]] http://www.cs.wisc.edu/~ghost/doc/AFPL/get851.htm | |||
- create ps2pdf.cmd in %instdir%/share/extensions/ | |||
REM BEGIN | |||
@echo off | |||
REM edit %GSDIR% to match the ghostscript installation directory | |||
set GSDIR=%PROGRAMFILES%\gs\gs8.51\ | |||
set GSBINDIR=%GSDIR%bin | |||
set GSLIBDIR=%GSDIR%lib | |||
set PATH=%GSBINDIR%;%GSLIBDIR%;%PATH% | |||
ps2pdf.bat %1 - | |||
REM END | |||
- edit pdf_output.inx | |||
<inkscape-extension> | |||
<name>PDF Output</name> | |||
<id>org.inkscape.output.pdf</id> | |||
<dependency type="extension">org.inkscape.output.ps</dependency> | |||
<dependency type="executable" location="extensions">ps2pdf.cmd</dependency> | |||
<!--<dependency type="executable">ps2pdf</dependency>--> | |||
<output> | |||
<extension>.pdf</extension> | |||
<mimetype>image/x-portable-document-format</mimetype> | |||
<filetypename>Adobe PDF (*.pdf)</filetypename> | |||
<filetypetooltip>Adobe Portable Document Format</filetypetooltip> | |||
</output> | |||
<script> | |||
<command reldir="extensions">ps2pdf.cmd</command> | |||
<helper_extension>org.inkscape.output.ps</helper_extension> | |||
</script> | |||
</inkscape-extension> | |||
</pre> | |||
Revision as of 02:33, 22 January 2006
Tips for getting Extensions to work
Inkscape's extensions allow for importing and exporting non-SVG file types and direct editing of the current SVG document. For more information about the Extensions that appear in the Effects menu read GettingEffectsWorking.
Open *.TXT
- install perl - install SVG perl module
Open *.AI
- install perl and optionally Image::Magick - Only handles Illustrator versions prior to using PDF as the internal format (Version Number?)
Save *.AI
- requires pstoedit with the ps2ai filter - uses Inkscapes internal ps output extension
Open *.PS
- requires skconvert python script from sketch =>> install sketch
Open *.WMF
- requires wmf2svg, part of libwmf (http://wvware.sourceforge.net/libwmf.html)
Save *.PDF (Win32)
- install [[GhostScript]] http://www.cs.wisc.edu/~ghost/doc/AFPL/get851.htm
- create ps2pdf.cmd in %instdir%/share/extensions/
REM BEGIN
@echo off
REM edit %GSDIR% to match the ghostscript installation directory
set GSDIR=%PROGRAMFILES%\gs\gs8.51\
set GSBINDIR=%GSDIR%bin
set GSLIBDIR=%GSDIR%lib
set PATH=%GSBINDIR%;%GSLIBDIR%;%PATH%
ps2pdf.bat %1 -
REM END
- edit pdf_output.inx
<inkscape-extension>
<name>PDF Output</name>
<id>org.inkscape.output.pdf</id>
<dependency type="extension">org.inkscape.output.ps</dependency>
<dependency type="executable" location="extensions">ps2pdf.cmd</dependency>
<!--<dependency type="executable">ps2pdf</dependency>-->
<output>
<extension>.pdf</extension>
<mimetype>image/x-portable-document-format</mimetype>
<filetypename>Adobe PDF (*.pdf)</filetypename>
<filetypetooltip>Adobe Portable Document Format</filetypetooltip>
</output>
<script>
<command reldir="extensions">ps2pdf.cmd</command>
<helper_extension>org.inkscape.output.ps</helper_extension>
</script>
</inkscape-extension>