On 7/10/07, Edin Salkovic <[EMAIL PROTECTED]> wrote:
> On 7/10/07, John Hunter <[EMAIL PROTECTED]> wrote:
> > Hey Edin, if you get a minute, could you contribute a patch against
> > the faq in htdocs/faq.html.template explaining how to install the
> > bakoma fonts for svg viewers? Is this sufficie
On 7/10/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
> Hi Edin,
> Good point. I tried just now on Firefox and got the same error.
> For an image of what I mean see this
> http://python-pieces.blogspot.com/2007/07/latex-and-svg-export.html
>
>
> I'm attaching the svg output here in case someone want
Hi Edin,
> Hmm. I'm not sure whether this is a problem with matplotlib or
> inkscape. I had some weird problems with inkscape on Ubuntu Feisty
> recently, like: when I open the file from Nautilus (right click->open
> with Inkscape) it is completely turned around; when I open Inkscape
> (blank f
On 7/10/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
> Thanks Edin! Yes, that worked!
You're welcome!
> There is still an issue with sub/super
> scripts though. They are inverted i.e. superscripts become subscripts.
> I'm attaching an example, created using
>
> m.text(0 ,0 ,'$\sum_{n=1}^{100} = 9
On 7/10/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
> >
> > I looked into this. You just have to install (copy) the BaKoMa fonts
> > (TrueType version of the Computer Modern fonts) into your system's
> > font dir, so the svg viewer can see them. These fonts are located in
> > the "matplotli
>
> I looked into this. You just have to install (copy) the BaKoMa fonts
> (TrueType version of the Computer Modern fonts) into your system's
> font dir, so the svg viewer can see them. These fonts are located in
> the "matplotlib/mpl-data/fonts/ttf" dir (the cm*.ttf files).
>
Thanks Edin! Yes
On 7/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote:
> On 7/6/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
> > Hi Edin,
(...)
> > Actually the original string renders as desired. Its the svg save that
> > causes the problem.
> >
> > I gather this is due to incomplete implementation of svg export.
>
On 7/6/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
> Hi Edin,
>
> Edin Salkovic wrote:
> >>
> >> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
> >
> > Shouldn't that be:
> > r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
> >
> > or:
> >
> > '$\\sum_{n=1}^{100}$' # Escaped b
Hi Edin,
Edin Salkovic wrote:
>>
>> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> Shouldn't that be:
> r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
>
> or:
>
> '$\\sum_{n=1}^{100}$' # Escaped backslash
>
Actually the original string renders as desired. Its the sv
Edin Salkovic wrote:
> Hi kaushik,
>
> On 7/6/07, kaushik.ghose <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> When I do
>>
>> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> Shouldn't that be:
> r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
>
> or:
>
> '$\\sum_{n=1}^{100}$'
Hi kaushik,
On 7/6/07, kaushik.ghose <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I do
>
> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
Shouldn't that be:
r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
or:
'$\\sum_{n=1}^{100}$' # Escaped backslash
Does this help?
Cheers,
kaushik.ghose wrote:
> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> matplotlib renders it fine, but won't save it to svg correctly - the
> summation symbol doesn't show up.
>
> Is this a configuration issue on my part, or is svg support for latex
> currently incompl
Hi,
When I do
m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
matplotlib renders it fine, but won't save it to svg correctly - the
summation symbol doesn't show up.
Is this a configuration issue on my part, or is svg support for latex
currently incomplete?
I'm on win vis
13 matches
Mail list logo