Skip to content
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

Math Formula Preview #1

Closed
hsk81 opened this issue Jun 19, 2013 · 1 comment
Closed

Math Formula Preview #1

hsk81 opened this issue Jun 19, 2013 · 1 comment
Assignees
Labels

Comments

@hsk81
Copy link
Owner

hsk81 commented Jun 19, 2013

If a math content is selected (or cursor put into) then a preview window should appear pre-rendering the formula.

@ghost ghost assigned hsk81 Jul 26, 2013
@hsk81
Copy link
Owner Author

hsk81 commented Jul 26, 2013

Had to fix an CodeMirror issue w.r.t. to the rst mode to be able to ask getModeAt

hsk81 pushed a commit that referenced this issue Jul 31, 2013
For math pre-rendering of LaTex formulae we need to figure out where
the `stex` inner-mode start and where they end. Thanks to CodeMirror's
`TextMarker`s it's possible to efficiently mark relevant parts of the
text with corresponding `stex` CSS and retrieve them later.
hsk81 pushed a commit that referenced this issue Jul 31, 2013
…ead of any) and if not (but still `stex` inner-mode) then figure out inner-mode boundaries.
hsk81 pushed a commit that referenced this issue Jul 31, 2013
There are some glitches though: With the `.. math::` directive things don't works as nicely, since (a) it can be multi-line and (b) the `stex` inner mode is not recognized due to an unknown reason; fix! Plus the preview window should be *off* center.
hsk81 pushed a commit that referenced this issue Jul 31, 2013
hsk81 pushed a commit that referenced this issue Aug 1, 2013
hsk81 pushed a commit that referenced this issue Aug 1, 2013
hsk81 pushed a commit that referenced this issue Aug 1, 2013
hsk81 pushed a commit that referenced this issue Aug 1, 2013
hsk81 pushed a commit that referenced this issue Aug 1, 2013
hsk81 pushed a commit that referenced this issue Aug 1, 2013
hsk81 pushed a commit that referenced this issue Aug 2, 2013
The help MathJax to identify mathematics faster we use `<script type="math/tex; mode=display">..</script>` instead of `$$..$$`
hsk81 pushed a commit that referenced this issue Aug 2, 2013
hsk81 pushed a commit that referenced this issue Aug 2, 2013
hsk81 pushed a commit that referenced this issue Aug 2, 2013
In FF the loading mask would simply refuse to disappear, since I guess `MathJaxBox.queue`'s internal script creation does not work with FF; strange but workaround with deferred mask cancellation works.
hsk81 pushed a commit that referenced this issue Aug 3, 2013
hsk81 pushed a commit that referenced this issue Aug 3, 2013
…efix due to improved `stex` inner mode recognition; plus MathJax was failing with equation alignments `&=` or e.g. `&\approx`; fixed.
@hsk81 hsk81 closed this as completed Aug 3, 2013
hsk81 pushed a commit that referenced this issue Aug 4, 2013
hsk81 pushed a commit that referenced this issue Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant