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

proposal: x/tools/present: add support for math equations #24574

Closed
sbinet opened this issue Mar 28, 2018 · 7 comments
Closed

proposal: x/tools/present: add support for math equations #24574

sbinet opened this issue Mar 28, 2018 · 7 comments

Comments

@sbinet
Copy link
Member

sbinet commented Mar 28, 2018

it would be great to have some support for mathematic equations in talks and present.

an obvious candidate would be MathJAx:

@ALTree
Copy link
Member

ALTree commented Mar 28, 2018

This was asked in the past: #17978

Does the solution suggested here: #17978 (comment) work for you?

@robpike
Copy link
Contributor

robpike commented Mar 28, 2018

Please let's keep present's input language very simple.

@sbinet
Copy link
Member Author

sbinet commented Mar 28, 2018

@ALTree I tried the solution provided in #17978

here is my repo:
https://github.com/sbinet/talks/tree/master/2018/2018-03-28-matheq

but when I try to visit it via talks.godoc.org:
https://talks.godoc.org/github.com/sbinet/talks/2018/2018-03-28-matheq/talk.slide

I get:

$> curl https://talks.godoc.org/github.com/sbinet/talks/2018/2018-03-28-matheq/talk.slide
Internal server error.

Locally, it works, though.
(but in my field, CERN, High Energy Physics, we do like to be able to upload presentations to a central server or at least a link to another repository serving the presentation. for science! :P)

maybe some protection against HTML injection in talks.godoc.org ?

@dmitshur
Copy link
Contributor

“Internal server error.” sounds like a talks.godoc.org bug of some sort.

@myitcv
Copy link
Member

myitcv commented Mar 28, 2018

@sbinet as an interim/alternative, you could use my (very alpha) GopherJS version of present:

http://blog.myitcv.io/gopherjs_examples_sites/present/?url=https://raw.githubusercontent.com/sbinet/talks/master/2018/2018-03-28-matheq/talk.slide&hideAddressBar=true

Very happy to continue a discussion about that offline from here (Slack etc)

@bradfitz
Copy link
Contributor

bradfitz commented Apr 2, 2018

I still don't think we're going to do this. I don't see anything that's changed since the prior decision to keep present simple.

You're welcome to maintain a fork of a more featureful version of present, but it's not something we have much time to maintain.

@sbinet
Copy link
Member Author

sbinet commented Apr 2, 2018

I am ok with present not having a special syntax baked in.
but could the talks.godoc.org issue be solved so mathjax could be used?

@rsc rsc closed this as completed Apr 2, 2018
@golang golang locked and limited conversation to collaborators Apr 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants