Skip to content

Conversation

@mgeier
Copy link
Member

@mgeier mgeier commented Feb 10, 2019

Our math definitions cause problems when creating LaTeX output because they are not actually LaTeX compatible, they just happen to work with MathJax.

There are two reasons why this doesn't work in LaTeX:

  • the definitions are included multiple times, leading to \newcommand complaining about already defined macros
  • While in MathJax we need to be in math mode for anything to work, in LaTeX the \newcommand doesn't work in math mode.

My work-around is admittedly a bit non-obvious, does anyone have a better idea how to fix this?

mgeier added a commit that referenced this pull request Feb 11, 2019
An alternative to #80 and #81.
@mgeier mgeier mentioned this pull request Feb 11, 2019
@mgeier
Copy link
Member Author

mgeier commented Feb 28, 2019

I've merged #90 instead.

@mgeier mgeier closed this Feb 28, 2019
@mgeier mgeier deleted the latex-definitions branch February 28, 2019 16:50
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

Successfully merging this pull request may close these issues.

2 participants