Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 02 19:38
    mrob95 opened #22
  • Jun 02 19:36

    mrob95 on texmaker

    Add basic TeXMaker support (compare)

  • Apr 24 07:18

    mrob95 on master

    Create requirements.txt (compare)

  • Apr 24 07:17

    mrob95 on master

    Create install.bat (compare)

  • Jan 31 21:25

    mrob95 on master

    change to \(\) for inline math,… add equation* and align* update docs and 2 more (compare)

  • Jan 31 21:25
    mrob95 closed #21
  • Jan 31 21:25
    mrob95 commented #21
  • Jan 31 19:03
    annakirkpatrick opened #21
  • Jan 26 14:38

    mrob95 on master

    (compare)

  • Jan 26 14:34

    mrob95 on breathe

    Transition sublime and template Update dependencies Add install script and 2 more (compare)

  • Jan 15 20:50

    mrob95 on master

    Create LICENSE (compare)

  • Nov 17 2019 14:49

    mrob95 on master

    Add core context (compare)

  • Nov 17 2019 14:28

    mrob95 on master

    Add install script (compare)

  • Nov 01 2019 07:33

    mrob95 on master

    Update dependencies (compare)

  • Oct 27 2019 17:56
    mrob95 synchronize #19
  • Oct 27 2019 17:56

    mrob95 on languages

    Improve formatting (compare)

  • Oct 27 2019 17:03
    mrob95 synchronize #19
  • Oct 27 2019 17:03

    mrob95 on languages

    Initial multilanguage support load to edit Further improvement and 1 more (compare)

  • Oct 27 2019 16:50

    mrob95 on master

    Transition sublime and template (compare)

  • Oct 27 2019 16:17
    mrob95 closed #20
esc123
@esc123
oh? perhaps it's an issue with my machine in particular
oldish tablet surface pro 4 with eight gigs of RAM. Would that be an issue do you think?
Mike Roberts
@mrob95
I'm not quite sure how the grammar complexity is calculated, I'll look into it at the weekend. I don't think hardware should be a problem
Just to check, try saying "disable LaTeX" to make sure multiple grammars aren't active at the same time
esc123
@esc123
I ran the dependencies.bat script and restarted Dragon. Now the bad grammar error occurs directly after start-up before even initiating a command.
I disabled latex and now attempting to execute commands using scientific notebook mathfly is responding but the bad grammar error is repeated in the natlink window after every command
Mike Roberts
@mrob95
Hmm okay, I haven't actually added any new features so you wouldn't be losing anything by staying on an old version while I fix this
esc123
@esc123
regarding the grammar complexity issue. I remember coming across an article on synkarius blog a while back
that addressed the issues revolving around grammar complexity
yeah that's no problem at all. I'll be switching back to the older version now as its working perfectly
thanks for getting back to me. I know you must be busy going through all that 20 year old natlink python code.
appreciate your work!
Mike Roberts
@mrob95
Haha, for the moment we're stuck at the "Dragon crashes every time I try to load a Python 3 grammar" stage. Love PY3!
esc123
@esc123
lol good times!
Mike Roberts
@mrob95
Okay I can reproduce the issue but don't have much time to debug at the moment. For now I have reverted master to a known good commit, as I say the recent changes didn't really add new features so not a big loss. Thanks for letting me know :-)
btw it would not be difficult to create a scientific notebook grammar for caster rather than having to switch between two grammars, let me know if that would be useful
esc123
@esc123
hmm I never considered that. That would be useful indeed as I have a coding module and a Math/probability module. Switching between them is not overly laborious but not having to do that would be nice :-)
ma-anwar
@ma-anwar
Hi everyone...I'm a new user to mathfly and have found it really useful. Unfortunately it has suddenly stopped working. I use it with Lyx but now when I'm dictating text, dictation only works in math mode. Otherwise, dragon keeps giving me a message saying "please say that again". Dictation works fine across other apps like Word, Chrome, and even in mathmode in Lyx but not outside of math mode. I'd appreciate any help
Mike Roberts
@mrob95
Hi! Glad you're finding it useful. Is it just dictation which is not working? Dragon's dictation can be very picky about which apps it does and doesn't work with, I'm not sure I've got a good solution. You could also try the say <text> command, which should allow you to input text without using Dragon dictation
ma-anwar
@ma-anwar
Say <text> seems to be working fine for now. It's just kind of weird because up until yesterday I was dictating fine in Lyx, in and outside of math mode. So this is kind of weird. But I'll use say text for now. Thanks.
ma-anwar
@ma-anwar
Nevermind...it seems reinstalling dragon and re configuring natlink fixed everything. Thanks!
Mike Roberts
@mrob95
Great, I know a number of people have had the same problem, it seems to just come and go - sometimes Dragon wants to play ball and sometimes not. For most things now I open up a notepad window, dictate into that and then copy across
Anna Kirkpatrick
@annakirkpatrick

@mrob95 Not urgent as it only happens a few times an hour, but I wanted to report an error I'm getting with some of the longer strings of math dictation. In particular, I have latex-maths enabled and I'm getting some warnings in the Python output window. The relevant utterances also are simply not entered into my document. Here are a few examples:

WARNING:engine:Grammar MergeRule(Merged42Ma): failed to decode recognition (u'equals', u'uniform', u'sub', u'one', u'right', u'equals', u'uniform', u'sub', u'two', u'right', u'equals', u'uniform', u'sub', u'three', u'right', u'ampersand', u'equals').

and

WARNING:engine:Grammar MergeRule(Merged15Ma): failed to decode recognition (u'alpha', u'plus', u'x-ray', u'minus', u'one', u'right', u'prekris', u'one', u'minus', u'papa', u'right', u'super', u'script', u'eight', u'up', u'plus', u'november', u'minus', u'x-ray', u'minus', u'one', u'right').

Note that in the first example all of the component words are recognized correctly, while in the second example the word 'bravo' was misrecognized as 'eight up'. I believe even the misrecognition should have yielded a valid sequence of commands, however (if a somewhat silly one).
Like I said, not urgent, but probably a bug worth looking at some point. Let me know if I can provide any more information. Thanks.

Mike Roberts
@mrob95

Hi Anna, firstly I'm impressed that you can hold such a long string of commands in your head at once ^^. I have always needed a pause for thought after a few commands.

I am not 100% sure that this is the issue, but one thing you could try is bumping up the value of max_ccr_repetitions in settings.toml a bit. I don't think there is any science behind the current maximum of 16. Someone chose it a long time ago as a number that was big enough to rarely cause issues while also not triggering grammar complexity errors, and it stuck.

Anna Kirkpatrick
@annakirkpatrick
@mrob95 I think the ability to work with such long strings of commands is just a matter of practice. I dictate a lot of math with a lot of complicated expressions! Also remember that I had been dictating math, with a different system, for about 5 years before I switched to math fly. So, my brain has a lot of practice turning mathematical expressions into spoken words. :-)
I will take a look at the value you mention in settings.toml. Since I have not been able to trigger the errors consistently, it will take a few days to see if it works.
Anna Kirkpatrick
@annakirkpatrick
I am wondering if anyone has successfully used math fly as a substitute for handwriting in actually manipulating algebraic expressions?
I'm talking about working through a problem where you are not sure exactly what strategy to use in might need to try multiple things before finding the correct approach. (So, not a situation in a class where you basically know what to do and just have to mechanically follow the steps to do it.)
I have used math fly exclusively for dictating LaTeX. This is great for presenting my work, but I have never been able to use LaTeX when actually solving math problems. I just can't keep track of enough information in my head and/or is too hard to find the information I need in my source document and/or I am distracted by compilation errors.
Of course, LaTeX is (to oversimplify) basically a markup language. LyX and Scientific Notebook are significantly different in that you could at least see the math that you would dictating in real time.
As pain in my hands/wrist/arms/shoulders can make handwriting difficult, I'm considering whether it is worth the time investment (and, for Scientific Notebook, financial investment) to become proficient with mathfly + LyX or Scientific Notebook. I would be interested to hear anyone's experiences.
Mike Roberts
@mrob95

I definitely think it's possible - I can't write at all and used scientific notebook throughout my degree for all homeworks, exams, etc. I never needed extra time in exams so it's not a huge amount slower than handwriting I don't think. There is still a bit of mental overhead involved in mapping things to commands in your head and fixing errors but it's manageable when the output is rendered instantly.

The LyX grammar is fairly similar to the LateX one so it probably wouldn't be too much of an investment to try it out and see how it fits. Personally I prefer scientific notebook 5.5 but I think the only way to get hold of it is to buy mathtalk - version 6 is much worse for voice input imo. @esc123 has used both I think so they may be able to give an opinion on whether it would be worthwhile.

I'm looking into free alternatives to scientific notebook at the moment, there is a web-based one called mathcha which has potential but I haven't yet found a configuration I like
Jan Scheffczyk
@knork_gitlab

I also have trouble with working through a problem in latex. But I think with lots of grammar customization it should work. Just the difference going from "x-ray underscore number one" to "x-ray score one" already helped a lot.

I think lyx is much better suited as you can at least see what you are doing. For me the biggest hurdle is actually navigating within a formula in lyx. And I have not found a work around for that yet...

But my Arm pain has pushed me more towards programming and trying to avoid long math derivations... As paper still is for better for me and dictating math seems to be especially straining for my voice...
Mike Roberts
@mrob95

Would definitely be worth a try I think:

https://www.mackichan.com/index.html?products/dnloadreq55.html~mainFrame

There is none of the "nested boxes" nonsense you get in lyx

Jan Scheffczyk
@knork_gitlab
A that pesky windows software :P Maby I should actually work on windows for everything but coding...
Anna Kirkpatrick
@annakirkpatrick
@mrob95 @knork_gitlab Thanks for your thoughts! I will probably start by giving LyX a try, as it is free, and I do have some colleagues who have actually used it.
@mrob95 I would definitely be interested to hear if you find a good free alternative to scientific notebook.
@knork_gitlab I don't think grammar customization can entirely solve the problem of it being hard to work through problems in LaTeX. I am so "fluent" in the mathfly LaTeX grammar (with a few personal modifications) that I can transcribe entire mathematical expression/equations from a written form with essentially no pauses. (In fact, I may have broken the grammar complexity rules by dictating too much without pausing. See discussion above.) So, I have absolutely no challenges taking an equation in my head and inputting it to the software. That mapping is so ingrained that I sometimes accidentally use a phonetic alphabet when speaking about math to others. So, I'm really not convinced that needing to remember how to speak expressions is a limiting factor for me. (Granted, I am pretty sure I have literally spent hundreds of hours dictating math with math fly...)
Where I run into trouble is the need to then operate on those expressions to create new expressions. When my expressions get long, it can be really hard to find the parts that I need with in potentially multiple lines of text in my text editor. This is especially true when there are many nested functions and it's hard to keep track of which curly braces go together. I think my issue really is related to the fact that written mathematical notation serves a purpose as essentially spare memory. It is really hard to hold a long expression in working memory, so the notation helps us keep track of all of the parts of an expression/equation. When my expressions get complex enough/long enough that I can't easily read and interpret the LaTeX source, I essentially lose the function of that extra working memory.
This does pose the question of whether an editor that does real-time compilation could be helpful. I suspect it could be, but then we have to worry about how that editor will behave with Dragon. Of course, the math fly commands themselves are just keystrokes and should be fine, but actual mathematical proofs also contain sentences. Having to open the dictation box (or remembering the "say" command) every time I need to place an 'and' between equations sounds pretty terrible. But it might be an idea worth looking into nonetheless.
Anna Kirkpatrick
@annakirkpatrick
@knork_gitlab since you commented that dictating math seems to be straining for your voice, I just wanted to mention that I have found several other ways to handle computer input besides just dictation. The biggest one is the combination of a Tobii gaming eyetracker (the gaming ones are way less expensive and sometimes have better technical specs!) and free software called OptiKey. If you are interested, I have previously shared a screen capture video of me using OptiKey to write code: https://www.youtube.com/watch?v=BWwKV0W7d-k&t=202s
I've also tried and researched a bunch of other assistive technology and happy to talk with anyone who would be interested in my thoughts.
Jan Scheffczyk
@knork_gitlab

Thanks for reply and the video link! Maybe I should have a look at more alternative input methods.

Everything is only build for windows so I should probably get it over with and migrate my Windows VM to KVM and try some of these tools ...

esc123
@esc123

Apologies, I'm significantly late to the discussion. @annakirkpatrick before using Castor and subsequently Mathfly I was toying with LaTeX as a means for getting around my RSI to do some courses in calculus and linear algebra. It didnt take long to run into the same problems as you describe i.e., difficulty editing LaTeX source code and keeping all the elements of the expressions in my head.
To address the latter problem for some time I was trying to get some form of LaTeX live preview going in Vim whereby the LaTeX output would update in real-time. But there was still the problem of editing the source code in amongst all those brackets!

In the end, as I had already purchased MathTalk before this out of desperation (and found basically useless) I already had scientific notebook installed. The combination of scientific notebook + Mathfly was sufficient for me to get through calculus and linear algebra. Im currently working on probability theory for a data science master's and things are going well.

Using scientific notebook for me has solved both the editing mathematics problem and eliminated the need to keep all mathematical expressions in your head as it is displayed readily in SN. Hence I was able to manipulate algebraic expressions while simultaneously trying to work out the problem in question like you described.

The caveat here is that you are probably working on a much higher level of mathematics than me so I can't say for sure whether the same will apply to you. This is especially pertinent given the fairly steep pricetag for MathTalk.

But in short, I have found the combination of MathFly + Scientific Notebook enough for me to successfully navigate my mathematics courses. Whether that's any use for you I don't know.

Regarding Lyx, I tried that as well and I think is definitely usable but I found scientific notebook more convenient and efficient particular relating to cursor navigation. Whether that's worth the pricetag for MathTalk is another question :)
Alex Boche
@alexboche
@annakirkpatrick it would be cool to see a video of what you're doing with dictating math. From what you're saying it sounds like you got much better at it than i ever did. I think my problem was partially that I kept switching the names of my commands so never got super used to them.
vincentvanmaths
@vincentvanmaths
Hi I am brand new to ALL of this - including posting on a notice board! I would like to start experimenting with mathfly to dictate maths (I am a maths teacher and a maths student). I see the installation instructions and I think I can work my way through those, but I've got three questions: (1) is there anything else I need to purchase besides Dragon? (2) is Dragon Professional Individual v15 what I want? and (3) as a mac user do I need to set up a windows boot, and do everything in there, in order to run any of this? Thank you for your advice. Happy maths, Vincent
Mike Roberts
@mrob95
Hi! DPI v15 should be all you need. Unfortunately it's only available for Windows so you would need to work either in a Windows VM or a Windows partition. I'm hopeful that there will be options for Mac/Linux in the not-too-distant future but it's not ready yet
vincentvanmaths
@vincentvanmaths
Thanks Mike - that was quick - just sent you an email to say hi also.
vincentvanmaths
@vincentvanmaths
As a die-hard Mac user I am going to have to set up some sort of Windows environment on my Mac in order to work with mathfly alongside all my other applications that reside on my Mac. Does anyone know what is my best option for Windows alongside macOS? I see options such as 'BootCamp', 'Parallels Desktop', 'VMWare Fusion' and 'VirtualBox' and 'CrossOver Mac'. It seems there is a trade-off between fluidity moving between the two environments and the level of Windows functionality enjoyed. I'll be grateful for advice from anyone who has experience in this area. Thank you. Happy maths, Vincent
Jan Scheffczyk
@knork_gitlab
As a mac user I would recommend checking out the talon project
https://talonvoice.com/
vincentvanmaths
@vincentvanmaths
Hi I have mathfly all installed on my parallel windows machine within my mac. However, everything is coming through as literal, not as maths. Is it possible for me to post a screen shot here on github?
Mike Roberts
@mrob95
Sure, has the "Messages from natlink" window appeared?
HWJRuser
@HWJRuser
Hi. Thanks for creating this amazing tool. Which latex editor would you recommend for best use with Mathfly (I am using Windows). Many thanks.
Mike Roberts
@mrob95
Hi, no worries! Are you looking to write and compile LaTeX directly or for a What You See Is What You Get editor?
HWJRuser
@HWJRuser
Thanks. I think the former