-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"fixes duplicate xlink attribute on svg result" broke svgtex on Linux #15
Comments
@serge-stroobandt , can you try the math expression |
For reference, this is the follow-on to this pull request, right? The commit in question has already been reverted in master, and this issue is about fixing the problem such that it doesn't break anything else? FWIW, I know that when I worked on this recently, I found it necessary to pull in the "fix" in question. |
Yes, that's the pull-request that was reverted. I worked on it this weekend and have had no success at all:
So while I'm glad serge has success without the fix, I can't seem to do anything without it. I have the fix in my own fork so I can continue working with that. |
Well, I have to say, I think reverting the fix in master was a bad idea. I remember that I only needed this fix when I upgraded to the latest phantomjs (2.0.0). @serge-stroobandt , is it possible that it's related to the phantomjs version number rather than the platform? |
tested on Windows, same results--it must have the revereted fix in order to render the SVG. This is on Win7 now, with phantomjs 2.0.0. Will check phantomjs version later on the mac tonight. The error I continue to get is ::
Just a guess that earlier versions of webkit or phantomjs were more lenient. |
okay, I installed phantomjs 1.9.8 and get success with the master branch of svgtex. This isn't my project so I don't mean to presume, but what about creating a new branch for phantomjs_pre2.0 (without the fix) and one for the current phantomjs that includes the fix? |
+1 |
I don't like the solution with two branches. Why wouldn't we inform the client (engine.js) which version we are running at the beggining of the function listenLoop Line 302 in baacbe9
and notifying this information to client with something like: Then, the fix can be applied or not based on on the current phatnomjs On 19 May 2015 at 16:42, Chris Maloney [email protected] wrote:
|
I like it very much. Better than two branches for sure. |
Docker - utility script
This "fix" has caused a major regression and rendered svgtex completely useless on GNU/Linux (Xubuntu LTS 14.04). On all my browsers (Firefox, Chrome, etc.), I now only see one or more horizontal lines instead of any formula. Reverting that commit fixes the problem.
The text was updated successfully, but these errors were encountered: