mathjax / MathJax-node

MathJax for Node
Apache License 2.0
615 stars 97 forks source link

remove speech-rule-engine integration #273

Closed pkra closed 7 years ago

pkra commented 7 years ago

Resolves #207

pkra commented 7 years ago

Ready for review.

pkra commented 7 years ago

@dpvc @zorkow I did a poll on twitter (some people responded in tweets, but those were all against "prefixes"); not exactly scientific but I think we should drop the equation title. What do you think?

(FWIW I have been thinking about proposing a redefinition of role=math, and prefixes would be one item that AT could provide an opt-in for.)

pkra commented 7 years ago

Also, https://github.com/pkra/mathjax-node-sre is now actually working.

pkra commented 7 years ago

I think we should drop the equation title. What do you think?

I've updated the commit.

zorkow commented 7 years ago

Certainly weird. It seems to duplicate comments.

pkra commented 7 years ago

I mostly dislike that it opens a new review when I'm just trying to respond to your comments. Especially since I'd have assumed that I can't review my own PR.

zorkow commented 7 years ago

Well, I sometimes review my own PRs in SRE, but remember github complaining, that I can't open a review on my own PR. But apparently you can review someone's review on your PR. Is that a meta-review???

Anyway, I would have thought that it clearly groups replies chronologically, if that makes sense.

pkra commented 7 years ago

@zorkow I've refactored the test.

dpvc commented 7 years ago

Here are a few other comments that I couldn't add as line comments, since they are not about lines in the change file.

I looked over the file as a whole, and found some issues that don't come directly from this pull request, but should be handled at some point anyway:

These are what I see at this point. Hope that helps.

pkra commented 7 years ago

The speech options need to be removed from the command-line tools.

Since you suggested the switch should stay, they should stay as well.

I looked over the file as a whole, and found some issues that don't come directly from this pull request, but should be handled at some point anyway:

I suggest we file those separately.

pkra commented 7 years ago

I hope I've addressed all review comments.

pkra commented 7 years ago

Sorry. I broke the tests (again).

pkra commented 7 years ago

Fixed the tests.

dpvc commented 7 years ago

The speech options need to be removed from the command-line tools.

Since you suggested the switch should stay, they should stay as well.

There were several options to control SRE that are no longer needed and should be removed from them. Also, now that the default for speakText is true, you may want the command line tools to default that way as well, which they currently don't.

dpvc commented 7 years ago

Also, you will want to remove the *2stree command-line tools, since those functions have been removed.

pkra commented 7 years ago

There were several options to control SRE that are no longer needed and should be removed from them.

Right. But cf #208, I still think they should all live in an entirely separate package anyway.

pkra commented 7 years ago

Also, now that the default for speakText is true, you may want the command line tools to default that way as well, which they currently don't.

Looks like they do?

pkra commented 7 years ago

PTAL.

pkra commented 7 years ago

Looks like they do?

Ah, I was wrong about that. Confusing the type with the default. Will add a default.

pkra commented 7 years ago

PTAL.

pkra commented 7 years ago

I've been doing a bit of testing today and realized that we should change the SVG approach: a title tag has a better chance of actually producing a result on AT.

pkra commented 7 years ago

PTAL.

dpvc commented 7 years ago

I'm OK with it at this point. @zorkow needs to accept your changes to complete his review. Then we can merge.

zorkow commented 7 years ago

Get rid of the superfluous "var" declarations. Then it's OK.

pkra commented 7 years ago

Get rid of the superfluous "var" declarations. Then it's OK.

Uhm. Which commit were you seeing these on? I have trouble spotting them :-(

pkra commented 7 years ago

Get rid of the superfluous "var" declarations. Then it's OK.

Cleared up F2F.