summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6881d14)
raw | patch | inline | side by side (parent: 6881d14)
| author | gouldtj <gouldtj@users.sourceforge.net> | |
| Tue, 2 May 2006 05:26:25 +0000 (05:26 +0000) | ||
| committer | gouldtj <gouldtj@users.sourceforge.net> | |
| Tue, 2 May 2006 05:26:25 +0000 (05:26 +0000) |
Setting up the Adobe Illustrator XSLT script to run as an extension.
| share/extensions/Makefile.am | patch | blob | history | |
| share/extensions/aisvg.inx | [new file with mode: 0644] | patch | blob |
| share/extensions/aisvg.xslt | [new file with mode: 0644] | patch | blob |
| share/extensions/ill2svg.xslt | [deleted file] | patch | blob | history |
index 293a313a9ab9b692c982c3945082530b03938846..9571b60c202e71da705002cf4d883be75003134b 100644 (file)
gimp_xcf.py \
eqtexsvg.py
-otherstuff =
+otherstuff = \
+ aisvg.xslt
modules = \
svgz_input.inx \
svgz_output.inx \
ai_input.inx \
ai_output.inx \
+ aisvg.inx \
ps_input.inx \
eps_input.inx \
sk_input.inx \
diff --git a/share/extensions/aisvg.inx b/share/extensions/aisvg.inx
--- /dev/null
@@ -0,0 +1,13 @@
+<inkscape-extension>
+ <_name>AI SVG Input</_name>
+ <id>org.inkscape.input.aisvg</id>
+ <input>
+ <extension>.ai.svg</extension>
+ <mimetype>text/xml+svg</mimetype>
+ <_filetypename>Adobe Illustrator SVG (*.ai.svg)</_filetypename>
+ <_filetypetooltip>Cleans the cruft out of Adobe Illustrator SVGs before opening</_filetypetooltip>
+ </input>
+ <xslt>
+ <file reldir="extensions">aisvg.xslt</file>
+ </xslt>
+</inkscape-extension>
diff --git a/share/extensions/aisvg.xslt b/share/extensions/aisvg.xslt
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>\r
+<xsl:stylesheet xml:space="default" version="2.0" \r
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
+xmlns="http://www.w3.org/2000/svg"\r
+xmlns:svg="http://www.w3.org/2000/svg"\r
+xmlns:xlink="http://www.w3.org/1999/xlink"\r
+xmlns:x="http://ns.adobe.com/Extensibility/1.0/" \r
+xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" \r
+xmlns:graph="http://ns.adobe.com/Graphs/1.0/" \r
+xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" >\r
+<xsl:output indent="yes"/>\r
+ <xsl:template match="/">\r
+ <xsl:apply-templates />\r
+ </xsl:template>\r
+ <xsl:template match="*">\r
+ <xsl:copy>\r
+ <xsl:apply-templates select="@*|node()|text"/>\r
+ </xsl:copy>\r
+ </xsl:template>\r
+ <xsl:template match="@*">\r
+ <xsl:copy/>\r
+ </xsl:template>\r
+ <xsl:template match="i:*|@i:*|x:*|@x:*|graph:*|@graph:*|a:*|@a:*">\r
+ </xsl:template>\r
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/share/extensions/ill2svg.xslt b/share/extensions/ill2svg.xslt
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>\r
-<xsl:stylesheet xml:space="default" version="2.0" \r
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
-xmlns="http://www.w3.org/2000/svg"\r
-xmlns:svg="http://www.w3.org/2000/svg"\r
-xmlns:xlink="http://www.w3.org/1999/xlink"\r
-xmlns:x="http://ns.adobe.com/Extensibility/1.0/" \r
-xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" \r
-xmlns:graph="http://ns.adobe.com/Graphs/1.0/" \r
-xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" >\r
-<xsl:output indent="yes"/>\r
- <xsl:template match="/">\r
- <xsl:apply-templates />\r
- </xsl:template>\r
- <xsl:template match="*">\r
- <xsl:copy>\r
- <xsl:apply-templates select="@*|node()|text"/>\r
- </xsl:copy>\r
- </xsl:template>\r
- <xsl:template match="@*">\r
- <xsl:copy/>\r
- </xsl:template>\r
- <xsl:template match="i:*|@i:*|x:*|@x:*|graph:*|@graph:*|a:*|@a:*">\r
- </xsl:template>\r
-</xsl:stylesheet>
\ No newline at end of file