OK, I've got to the point where I've converted my command line svg barcode tool to the inkscape extentions format and created an inx file.
I have two problems:
* I need an inx param type of enumberation for encoding (preset options of EAN8 Code39 Code128) * I don't know how to initalise the extention within inkscape for Mac OS X (the extentions folder was in the package direction)
Best Regards, Martin Owens
On Wed, 2005-12-21 at 07:20 -0600, aaron@...749... wrote:
Martin Owens wrote:
- I need an inx param type of enumberation for encoding (preset
options of EAN8 Code39 Code128)
Yes, we do. Ted can we have something like this?
Hmm, don't see why not. Here's what I'm thinking:
<param name="encoding" type="enum" gui-text="Bar code encoding"> <value pass="1">EAN8</value> <value pass="2">Code39</value> <value pass="3" default="true">Code128</value> </param>
Where "pass" would be the value passed to the script. If it wasn't there, the content of the tag would be passed as a string.
Does that have everything that you'd need?
--Ted
PS - I'm still working on the effects menu stuff, and I won't do this until after I'm done. But, if someone wanted this right away, it would be really easy as all you need to do is subclass the parameter object. All the other parameters are already subclasses, so there is lots of example code. It might be fun for someone wanting to do a small GTKmm project also as you'll have to make the widget with a couple of boxes.
On Wed, Dec 21, 2005 at 09:30:37AM +0000, Martin Owens wrote:
OK, I've got to the point where I've converted my command line svg barcode tool to the inkscape extentions format and created an inx file.
Cool, this is great to hear!
I have two problems:
- I need an inx param type of enumberation for encoding (preset options of EAN8 Code39 Code128)
- I don't know how to initalise the extention within inkscape for Mac OS X (the extentions folder was in the package direction)
Unfortunately, I don't have good ideas for either of these. Aaron's right that Ted's our man for the first issue. The second is probably solvable via our Inkscape/OSX folks, but I haven't followed the status of extensions on Mac so am not sure who the best person is here.
Bryce
On 21 déc. 05, at 18:44, Bryce Harrington wrote:
On Wed, Dec 21, 2005 at 09:30:37AM +0000, Martin Owens wrote:
OK, I've got to the point where I've converted my command line svg barcode tool to the inkscape extentions format and created an inx file.
Cool, this is great to hear!
I have two problems:
- I need an inx param type of enumberation for encoding (preset
options of EAN8 Code39 Code128)
- I don't know how to initalise the extention within inkscape for
Mac OS X (the extentions folder was in the package direction)
Unfortunately, I don't have good ideas for either of these. Aaron's right that Ted's our man for the first issue. The second is probably solvable via our Inkscape/OSX folks, but I haven't followed the status of extensions on Mac so am not sure who the best person is here.
I am probably not the best person but still here are my 2c'. Extensions on mac os X are not really satisfying by now. the problems are: - they do not include fink's tree in the path. so if you have any executable in /sw/bin you need to use you have to create a sym link from a more classic binary folder (/usr/bin works) - I have problems with perl extensions. which induce a warning:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = ".UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Can't locate SVG.pm in @INC (@INC contains: /System/Library/Perl/ 5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/ Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/ Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/ Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/ 5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 / Library/Perl/5.8.1 .) at Contents/Resources/extensions/txt2svg.pl line 6. BEGIN failed--compilation aborted at Contents/Resources/extensions/ txt2svg.pl line 6.
I did not have the time to look closer into the first problem but it seemed easy to solve. Some hints are in the history of the mailling list with the subject: PATH variable for extensions (problem on OSX) I have no clue for the second (never tried to find a solution in fact).
JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- Web site: http://jo.irisson.free.fr/
participants (5)
-
unknown@example.com
-
Bryce Harrington
-
jiho
-
Martin Owens
-
Ted Gould