Peter Danenberg | 7 Feb 2006 08:56
X-Face

Re: SVG Support?

> Now, I am trying to get SVG to work, but so far without success.

We  actually  removed  SVG  in 1.0.5, Gregor, since browsers
seem to be implementing SVG natively (see the  latest  Fire-
fox).

     If  it's  useful,  however,  I'll stick it back in come
1.0.6.

> In addition, I'd like to reference an existing .svg-file in the
> wiki. I read something was planned in a Changelog, what is the best
> way to do this?

We're also planning source files for 1.0.6; that will likely
be in the form:

     <svg src="source.svg"></svg>

Best, Peter
Gregor Rosenauer | 7 Feb 2006 15:11
Picon
Gravatar

Re: SVG Support?

Thanks for the quick answer.

We  actually  removed  SVG  in 1.0.5, Gregor, since browsers
seem to be implementing SVG natively (see the  latest  Fire-
fox).

I am using Firefox 1.5, but how do I expose native SVG in Wiki-markup?
I guess I'd still need some Wikitex-wrapper, or am I mistaken?
BTW I do have the necessary svg.tex.svg, and using the upcoming 1.0.6 aka R125, shouldn't it be supported then?

We're also planning source files for 1.0.6; that will likely
be in the form:

     <svg src="source.svg"></svg>
That would be just what I need, please make it so...:)

BTW it took me a while to figure out where the bleeding edge version hides... I thought it was in trunk, but it is in branches/1.0. Would be nice if the documentation hinted at that...

brg,
Gregor

_______________________________________________
Wikitex-l mailing list
Wikitex-l@...
http://lists.wikitex.org/listinfo/wikitex-l
Peter Danenberg | 11 Feb 2006 22:21
X-Face

Re: SVG Support?

> We're also planning source files for 1.0.6; that will likely
> > be in the form:
> >
> >      <svg src="source.svg"></svg>
> >
> That would be just what I need, please make it so...:)

     I  went  ahead  and deployed WikiTeX 1.1 on Wikisophia,
Gregor; if you get a chance,  try  out  the  source  feature
(see:

     http://wikisophia.org/wiki/Wikitex#SVG

for  an  example)  and  let  me know if it's what you had in
mind.

Best, Peter
Gregor B. Rosenauer | 13 Feb 2006 09:50
Picon
Gravatar

Re: SVG Support?

Peter Danenberg schrieb:

>      I  went  ahead  and deployed WikiTeX 1.1 on Wikisophia,
> Gregor; if you get a chance,  try  out  the  source  feature
> [..]and  let  me know if it's what you had in mind.
Thanks, looks great, just what I need - I'll deploy 1.1 on my local wiki
today and see if it works as fine over here, too:)

BTW is amsmath broken?
The example on wikisophia says "WikiTeX: unable to create working
directory.".

brg,
Gregor
Phil Boswell | 13 Feb 2006 10:52
Picon

Re: SVG Support?

"Gregor B. Rosenauer" 
<gregor.rosenauer@...> wrote in message 
news:43F0484D.2010308@...
> Peter Danenberg schrieb:
>
>>      I  went  ahead  and deployed WikiTeX 1.1 on Wikisophia,
>> Gregor; if you get a chance,  try  out  the  source  feature
>> [..]and  let  me know if it's what you had in mind.
> Thanks, looks great, just what I need - I'll deploy 1.1 on my local wiki
> today and see if it works as fine over here, too:)
>
> BTW is amsmath broken?
> The example on wikisophia says "WikiTeX: unable to create working
> directory.".

Something is definitely broken: that page displayed fine until I logged in, 
whereupon a heap of errors appeared.

HTH HAND
--

-- 
Phil
[[en:User:Phil Boswell]] 
Peter Danenberg | 13 Feb 2006 12:03
X-Face

Re: Re: SVG Support?

> Something is definitely broken: that page displayed fine until I logged in,
> whereupon a heap of errors appeared.

     Thanks, Phil; any other strangeness? It seems to create
images fine now.
Phil Boswell | 13 Feb 2006 13:23
Picon

Re: Re: SVG Support?

On 13/02/06, Peter Danenberg <pcd@...> wrote:
> > Something is definitely broken: that page displayed fine until I logged in,
> > whereupon a heap of errors appeared.
>     Thanks, Phil; any other strangeness? It seems to create
> images fine now.

That's better: nice butterfly BTW :-)

I found something odd here:
http://wikisophia.org/wiki/Wikitex_usability_review

Are there a bunch of images missing?
--
Phil
Peter Danenberg | 13 Feb 2006 12:42
X-Face

Re: Re: SVG Support?

> I found something odd here:
> http://wikisophia.org/wiki/Wikitex_usability_review
>
> Are there a bunch of images missing?

     You're absolutely right, Phil; should be fixed.

     You  wouldn't  happen to have time, btw, to do a depth-
page on SVG, would you?

Best, Peter
Phil Boswell | 13 Feb 2006 15:22
Picon

Re: Re: SVG Support?

On 13/02/06, Peter Danenberg <pcd@...> wrote:
> > I found something odd here:
> > http://wikisophia.org/wiki/Wikitex_usability_review
> > Are there a bunch of images missing?
>     You're absolutely right, Phil; should be fixed.
>     You  wouldn't  happen to have time, btw, to do a depth-
> page on SVG, would you?

erm...

I might do if I knew what it meant :-)

Do you mean like this:
http://wikisophia.org/wiki/Graph

Oh, and I just noticed: <fdp> and <neato> aren't working, is that intended?
--
Phil
Peter Danenberg | 13 Feb 2006 15:01
X-Face

Re: Re: SVG Support?

> Do you mean like this:
> http://wikisophia.org/wiki/Graph

Exactly; ;).

> Oh, and I just noticed: <fdp> and <neato> aren't working, is that
> intended?

I'll probably stick them in beta2; do you think they're use-
ful, btw, or merely taking up namespace?

Best, Peter
Phil Boswell | 13 Feb 2006 16:07
Picon

Re: Re: SVG Support?

On 13/02/06, Peter Danenberg <pcd@...> wrote:
> > Do you mean like this:
> > http://wikisophia.org/wiki/Graph
> Exactly; ;).

I'll see what I can come up with: not having a huge amount of SVG
stuff just lying around (;-) I'll have to scrape something up off the
web...

> > Oh, and I just noticed: <fdp> and <neato> aren't working, is that
> > intended?
> I'll probably stick them in beta2; do you think they're use-
> ful, btw, or merely taking up namespace?

I think they are tremendously useful, for being able to "tune" a graph
for best presentation. I think I've got samples on my Wikisophia user
page showing the difference: we should have some somewhere.

I would have said they were actually better done as a flag on the main
<graph> tag, YMMV

HTH HAND
--
Phil
Peter Danenberg | 13 Feb 2006 15:22
X-Face

Re: Re: SVG Support?

> I would have said they were actually better done as a flag on the
> main <graph> tag, YMMV

     That's brilliant! And now more than possible, since
we've instituted properties.

     Something along the lines of:

     <graph layout="neato"></graph>

is what you had in mind?
Phil Boswell | 13 Feb 2006 16:23
Picon

Re: Re: SVG Support?

On 13/02/06, Peter Danenberg <pcd@...> wrote:
> > I would have said they were actually better done as a flag on the
> > main <graph> tag, YMMV
>     That's brilliant! And now more than possible, since
> we've instituted properties.
>     Something along the lines of:
>     <graph layout="neato"></graph>
> is what you had in mind?

Pretty much: I was thinking "style" but that might overlap too much with CSS :-)
--
Phil
Peter Danenberg | 13 Feb 2006 15:31
X-Face

Re: Re: SVG Support?

> I was thinking "style" but that might overlap too much with CSS :-)

     "Style"  may  be  more  intuitive than "layout;" on the
other hand, we might want to reserve "style" for changes  to
the final image: borders, say, or magnification.

     HTML  links  in  graph are still on the TODO for beta2,
btw.

Best, Peter
Peter Danenberg | 13 Feb 2006 12:00
X-Face

Re: SVG Support?

> The example on wikisophia says "WikiTeX: unable to create working
> directory.".

     Whoops; should be fixed now.
Peter Danenberg | 10 Feb 2006 02:10
X-Face

Re: SVG Support?

> I am using Firefox 1.5, but how do I expose native SVG in
> Wiki-markup?

SVG-support is compiled by default, Gregor, starting in
Firefox 1.5.0.1; check out:

     http://www.mozilla.org/projects/svg

You should be able to upload SVG like any native image file,
provided it's been white-listed on the local wiki.

> BTW I do have the necessary svg.tex.svg, and using the upcoming
> 1.0.6 aka R125, shouldn't it be supported then?

I'm going to jump up to 1.1, actually, since I've made some
significant changes to the security model; I'll go ahead and
throw in ImageMagick's SVG, which is lighter than (but not
as complete as) Batik's.

> BTW it took me a while to figure out where the bleeding edge version
> hides... I thought it was in trunk, but it is in branches/1.0. Would
> be nice if the documentation hinted at that...

Done; bleeding edge, btw, is now branches/1.1.

Best, Peter
Gregor Rosenauer | 6 Feb 2006 15:24
Picon
Gravatar

SVG Support?

Hello,

I just recently came across WikiTex and it looks very promising.
Installation was not so easy but only because my php 5.0.1rc4 complained about "variables cannot be passed as reference" in wikitex.php

Now, I am trying to get SVG to work, but so far without success.
I always get an error (also mentioned on the wiki-discussion-page or sandbox under SVG):

This is TeX, Version 3.14159 (Web2C 7.4.5) (./8002b5e42feae5ce752d8d446c0d38e3 LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.1 <  ?xml version="1.0" standalone="no"?> ) ! Emergency stop. <*> 8002b5e42feae5ce752d8d446c0d38e3

I searched the entire mailinglist-archive, but couldn't find anything.

I am running Gentoo Linux with the TeX-version above and ImageMagick 6.2.5.5 and mediawiki 1.5.6.

In addition, I'd like to reference an existing .svg-file in the wiki. I read something was planned in a Changelog, what is the best way to do this?
(I could simply include the SVG-file from within a wrapper-SVG, but then I'd have to use the exact filename as opposed to the Wiki-link)

Thanks for this wonderful extension and all the information,
Gregor

_______________________________________________
Wikitex-l mailing list
Wikitex-l@...
http://lists.wikitex.org/listinfo/wikitex-l

Gmane