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

[Bug] multiline math issues #21

Open
1 task done
zzhixin opened this issue Jan 6, 2024 · 2 comments
Open
1 task done

[Bug] multiline math issues #21

zzhixin opened this issue Jan 6, 2024 · 2 comments
Labels
bug Something isn't working upstream MathLive's issue

Comments

@zzhixin
Copy link

zzhixin commented Jan 6, 2024

What happened?

issues

It should be \begin{align}\end{align}

Logseq Version

0.10.3

Logseq Live Math Version

1.3.1

Quick check

  • There is no existing issue about this bug

Additional context

No response

@zzhixin zzhixin added the bug Something isn't working label Jan 6, 2024
@AllanChain
Copy link
Owner

Oh, this bug is very unfriendly to new users. While this is mainly caused by upstream, I'll try to fix it.

As a workaround, I created an inline shortcut (edit settings.json in the plugin settings page, link)

"align": "\\begin{align*}\n#? &= #? \\\\\n #? &= #?\\end{align*}",

After I typed "align", something like this will show

image

AllanChain added a commit that referenced this issue Jan 7, 2024
It's important as it's unfriendly to new users. (See #21.)
However, it's mainly caused by the design choice of MathLive.
There is currently nothing more we can do here except for this hack.
@AllanChain
Copy link
Owner

As a temporary fix, I changed lines environment to gather implicitly (see above commit and https://github.com/AllanChain/logseq-live-math/releases/tag/v1.4.0). Further fixes require upstream fixes.

@AllanChain AllanChain added the upstream MathLive's issue label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream MathLive's issue
Projects
None yet
Development

No branches or pull requests

2 participants