snapping hints
by Alexandre Prokoudine
Hi,
Snapping hints are awesome. However, there is one thing that worries
me a lot about them: they are constructed with English syntax in mind.
I foresee lots of complains from translators, including myself :)
Take 'cusp node to cusp node' for example. It's fine for English, but
in Russian these two 'cusp node' instances will be in different cases
and thus have different case endings --- both 'cusp' and 'node'.
Is there something we can do about that?
Alexandre
12 years, 2 months
Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?
by Zulli, Louis P
Well, there's probably a better way to do this, but adding the line
export PATH=$PATH:/usr/local/bin:/usr/texbin
just before
exec "$CWD/bin/inkscape" "$@"
in /Applications/Inkscape.app/Contents/Resources/script did the trick. Now I can start Inkscape.app by clicking its icon, without "losing" Render-->LaTeX.
Note: I have pstoedit in /usr/local/bin, with latex and dvips in /usr/texbin. Without the added line, the value of PATH is only /usr/bin:/bin:/usr/sbin:/sbin, rather than the value of PATH in my login shell.
Thanks again for the help.
----- Original Message -----
From: "Louis P Zulli" <zullil@...2149...>
To: "inkscape-devel" <inkscape-devel(a)lists.sourceforge.net>
Sent: Thursday, March 5, 2009 1:16:55 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?
Thanks, JiHO. Apparently, if I start Inkscape by clicking on the Inkscape.app icon, then my PATH variable is not read. However, if I start Inkscape by typing /Applications/Contents/MacOS/Inkscape in Terminal, I do have Extensions-->Render-->LaTeX (and it seems to work correctly).
Now I need to figure out why my first method failed.
Louis
----- Original Message -----
From: "jiho" <jo.irisson@...400...>
To: "Louis P Zulli" <zullil@...2149...>
Sent: Thursday, March 5, 2009 9:01:56 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?
On 2009-March-05 , at 13:28 , Zulli, Louis P wrote:
> I just installed the latest snapshot of Inkscape-20809-10.5-i386.dmg
> on my MacBook. There does not seem to be an option for including
> LaTeX formulas. With the stable version of Inkscape, I use the
> textext extension. However, I thought the ability to render LaTeX
> had now been built into Inkscape.
>
> Am I missing something, or is this feature not available yet? Thanks.
I have built this snapshot. I initially saw the same here = no Latex
extension. Nothing has changed in the .inx file itself so my best
guess is that something changed in the loading of extensions.
However, now, after running different versions of Inkscape including
the release one, I see the option in the devel version. No idea what
happened.
One thing I did and you may try, is to open Inkscape.app (right click,
show package content). Navigate to Contents/Resources/extensions and
open eqtexsvg.inx and remove the lines:
<dependency type="executable" location="path">latex</dependency>
<dependency type="executable" location="path">dvips</dependency>
<dependency type="executable" location="path">pstoedit</dependency>
it may be that Inkscape does not find these executables when it checks
them before loading the extension, even though they are on your system
(but in exotic places such as /usr/texbin or /opt/local/bin). Removing
the lines removes the check.
JiHO
---
http://jo.irisson.free.fr/
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Inkscape-devel mailing list Inkscape-devel(a)lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
12 years, 2 months
Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?
by Zulli, Louis P
Thanks, JiHO. Apparently, if I start Inkscape by clicking on the Inkscape.app icon, then my PATH variable is not read. However, if I start Inkscape by typing /Applications/Contents/MacOS/Inkscape in Terminal, I do have Extensions-->Render-->LaTeX (and it seems to work correctly).
Now I need to figure out why my first method failed.
Louis
----- Original Message -----
From: "jiho" <jo.irisson@...400...>
To: "Louis P Zulli" <zullil@...2149...>
Sent: Thursday, March 5, 2009 9:01:56 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?
On 2009-March-05 , at 13:28 , Zulli, Louis P wrote:
> I just installed the latest snapshot of Inkscape-20809-10.5-i386.dmg
> on my MacBook. There does not seem to be an option for including
> LaTeX formulas. With the stable version of Inkscape, I use the
> textext extension. However, I thought the ability to render LaTeX
> had now been built into Inkscape.
>
> Am I missing something, or is this feature not available yet? Thanks.
I have built this snapshot. I initially saw the same here = no Latex
extension. Nothing has changed in the .inx file itself so my best
guess is that something changed in the loading of extensions.
However, now, after running different versions of Inkscape including
the release one, I see the option in the devel version. No idea what
happened.
One thing I did and you may try, is to open Inkscape.app (right click,
show package content). Navigate to Contents/Resources/extensions and
open eqtexsvg.inx and remove the lines:
<dependency type="executable" location="path">latex</dependency>
<dependency type="executable" location="path">dvips</dependency>
<dependency type="executable" location="path">pstoedit</dependency>
it may be that Inkscape does not find these executables when it checks
them before loading the extension, even though they are on your system
(but in exotic places such as /usr/texbin or /opt/local/bin). Removing
the lines removes the check.
JiHO
---
http://jo.irisson.free.fr/
12 years, 2 months
pledgie
by Alexandre Prokoudine
Hi,
I'm not really best guy when it comes to PHPO and stuff, so could
somebody please put the banner from http://pledgie.com/campaigns/2926
to our main page to help collecting more money to finance Libre
Graphics Meeting?
Alexandre
12 years, 2 months
Creating fonts
by ryrych@...400...
hello :)
Guys, can you tell me how to create font with Inkscape? I use SVN
version but can't see any menus/option for them. Maybe SVGFonts hasn't
implemented yet? I've created my first font (rather vector objects yet)
and I'd like to covert it to SVGFont and finally to truetype.
How to deal with it?
cheers,
Wojtek
12 years, 2 months
Extensions-->Render-->LaTeX doesn't exist?
by Zulli, Louis P
I just installed the latest snapshot of Inkscape-20809-10.5-i386.dmg on my MacBook. There does not seem to be an option for including LaTeX formulas. With the stable version of Inkscape, I use the textext extension. However, I thought the ability to render LaTeX had now been built into Inkscape.
Am I missing something, or is this feature not available yet? Thanks.
12 years, 2 months
Re: [Inkscape-devel] gdk_pointer_ungrab() not working in middle-mouse-drag
by Ed Halley
<message ignored, maybe due to attached patch>
For some reason, I've been having a lot of mouse hangups in Node and Pen
(Bezier) tools in the SVN. I found it easier to reproduce in some
drawings
than in others, but I was able to reproduce it even on a blank canvas.
Mid-drag, the canvas stops being dragged around, but now all mouse
buttons
are ignored forever, and the mouse cursor remains in Inkscape's shapes
even outside Inkscape's window. Some people say they figured out work-
arounds that released the mouse buttons, but none worked for me.
(I'm on MacOS X using X11.app.)
I found https://bugs.launchpad.net/inkscape/+bug/291795 and it seemed
similar, so I started trying to determine how the panning feature
worked.
I appended my one-line patch to that bug report.
In essence, some versions of Gdk seem to be unreliable at maintaining
the
button state while middle-mouse dragging. There is a check for this in
the src/event_state.cpp to account for this, and it aborts the drag for
safety reasons. But it calls gdk_pointer_ungrab() with a specific time
that *should* match the time it was grabbed. In most cases, this
appears
to work, but not always.
http://ftp.moblin.org/moblin/releases/test/alpha1/doc/gdk/gdk-General.htm...
I found that giving the generic GDK_CURRENT_TIME is more reliable in
actually releasing the mouse, than trying to remember what time was
given
to the gdk_pointer_grab(). Since this is a safety-oriented release, I
think that ensuring the mouse is ungrabbed is more important than the
bookkeeping of time values.
Any comments? Any reason not to commit the patch?
--
[ e d @ h a l l e y . c c ]
12 years, 2 months
static compilation
by Bruno Contreras Moreira
Dear all,
I am having lots of trouble to get the dependencies of inkscape sorted
in a server, and was thinking of compiling it static in my machine and
the just move the binary. Has anybody ever compiled a static binary of
inkscape? I haven't seen any such options in the configure script, any
help in this direction is welcome,
Bruno
--
Bruno Contreras Moreira
Estación Experimental de Aula Dei /CSIC
Av.Montañana 1.005, 50059 Zaragoza (España).
Tel:(+34) 976716089 Fax:(+34) 976716145
bcontreras@...2147... http://www.eead.csic.es/compbio
12 years, 2 months
infinite loop by referencing
by unknown@example.com
Hi all,
I just added an infinite loop testcase to our testsuite.
The essential SVG part looks like this:
<g>
<rect id="rect1"
style="fill:#000000;fill-opacity:1"
width="491.42856" height="357.14285"
x="137.14285" y="169.50504"
filter="url(#filter1)" />
</g>
<defs>
<filter id="filter1">
<feImage xlink:href="#rect1" />
</filter>
</defs>
Note how rect1 refers to filter1 that refers to rect1...
I don't know how Inkscape should handle this. Already a warning is
reported:
** (inkscape.exe:2592): WARNING **: More than 32 iteration while
updating document
'D:\gsoc-testsuite\tester\.\testcases\basic\infinite-loop-01.svg'
But no further action is taken, so this warning is spammed until the
program runs out of memory and aborts execution.
Any ideas how to solve this?
cheers,
Johan
12 years, 2 months