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

$\newcommand{\foo}{bar}$ renders as "$$" #36

Open
cben opened this issue Jul 13, 2015 · 0 comments
Open

$\newcommand{\foo}{bar}$ renders as "$$" #36

cben opened this issue Jul 13, 2015 · 0 comments

Comments

@cben
Copy link
Owner

cben commented Jul 13, 2015

I expected empty rendering (suboptimal, #10) or visible "$\newcommand{\foo}{bar}$" but not just the dollars.
What happens is my \newcommand visibility special casing sends this to MathJax:

$\newcommand{\foo}{bar}$ \($\newcommand{\foo}{bar}$\)

The intent was that the first part be visible while the would be processed by mathjax, but in this case both are processed and the dollars in the second part are visible.

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

1 participant