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

Editor preview borked example #125

Open
aisejohan opened this issue Aug 5, 2018 · 3 comments
Open

Editor preview borked example #125

aisejohan opened this issue Aug 5, 2018 · 3 comments

Comments

@aisejohan
Copy link
Member

The following latex code doesn't preview correctly in the editor (but does work when I latex it in a file):

Thanks for the typo. I am not sure what you first question was, but it might be related to the following general question: given a morphism $f : (X, \mathcal{O}_X) \to (Y, \mathcal{O}_Y)$ and a $\mathcal{O}_Y$-module $\mathcal{G}$, how does one define the canonical map $H^0(Y, \mathcal{G}) \to H^0(X, f^*\mathcal{G})$? A good answer is to go back to the definition of the pullback of a module in Section \ref{008R} and define it using the construction of the pullback $f^*\mathcal{G}$. A more highbrow method is to use the adjunction mapping $\mathcal{G} \to f_*f^*\mathcal{G}$ and then use that $H^0(Y, f_*f^*\mathcal{G}) = H^0(X, f^*\mathcal{G})$.

Not sure if there is a hidden character in this...

@chngr
Copy link
Collaborator

chngr commented Aug 5, 2018

Looks like it probably has to do with * and maybe _ being active characters in Markdown; the previewer wants to interpret these as italic or bold tags, and swallowing them before MathJaX can get to them.

@aisejohan
Copy link
Member Author

This may explain why a commenter seems to have used \* in a comment. See this comment.

@pbelmans
Copy link
Member

pbelmans commented Aug 5, 2018

Yeah, that's the cause.

The previewer isn't as smart as the actual renderer, which handles this comment correctly. I can try to improve the preview a bit at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants