Skip to content

Give a rough preview of TeX content #359

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

Closed
Tracked by #309
gnprice opened this issue Nov 1, 2023 · 1 comment · Fixed by #472
Closed
Tracked by #309

Give a rough preview of TeX content #359

gnprice opened this issue Nov 1, 2023 · 1 comment · Fixed by #472
Assignees
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents beta feedback Things beta users have specifically asked for

Comments

@gnprice
Copy link
Member

gnprice commented Nov 1, 2023

This is a stripped-down early version, for the beta, of:

Specifically, when we encounter TeX content (this Zulip feature: https://zulip.com/help/latex ), we'll want to show some usable approximation of it, pending the implementation of #46 with the full styling. This probably means showing the original TeX source — which conveniently is embedded inside the HTML — with perhaps some styling to indicate that it's TeX/LaTeX.

Handling these means parsing them in lib/model/content.dart, and then displaying them appropriately in lib/widgets/content.dart. In parsing, we should ignore all the parts of the HTML we won't yet be using — when we later pursue #46, we'll add parsing for those guided by our needs then.

This issue can also be seen as a special case of:

@gnprice gnprice added the a-content Parsing and rendering Zulip HTML content, notably message contents label Nov 1, 2023
@gnprice gnprice added this to the Beta milestone Nov 1, 2023
@gnprice gnprice modified the milestones: Beta 1, Beta 2 Nov 8, 2023
@gnprice gnprice modified the milestones: Beta 2, Beta 3 Nov 22, 2023
@gnprice gnprice added the beta feedback Things beta users have specifically asked for label Dec 30, 2023
@gnprice gnprice modified the milestones: Beta 3, Beta 2 Dec 30, 2023
@gnprice
Copy link
Member Author

gnprice commented Dec 30, 2023

A person who uses Zulip in a math-oriented community tried the beta and reported this unimplemented feature here:
https://chat.zulip.org/#narrow/stream/48-mobile/topic/TeX.20in.20Flutter.20app/near/1710610

This stripped-down version will be straightforward to implement, so I've gone ahead and bumped its milestone. (I'm more hesitant to prioritize the full implementation #46, because that will be a more substantial amount of work.) The one nontrivial question is how to style it.

@gnprice gnprice self-assigned this Jan 2, 2024
gnprice added a commit to gnprice/zulip-flutter that referenced this issue Jan 3, 2024
gnprice added a commit to gnprice/zulip-flutter that referenced this issue Jan 4, 2024
gnprice added a commit to gnprice/zulip-flutter that referenced this issue Jan 8, 2024
chrisbobbe pushed a commit that referenced this issue Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents beta feedback Things beta users have specifically asked for
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant