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

Math fonts needs surrounding {-} #931

Closed
AndreG-P opened this issue Jan 17, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@AndreG-P
Copy link

@AndreG-P AndreG-P commented Jan 17, 2018

I'm still working with latexmlc and it works fine. Here is my input:

latexmlc \
  --includestyles\
  --format=xhtml\
  --whatsin=math\
  --whatsout=math\
  --pmml\
  --cmml\
  --nodefaultresources\
  --linelength=90\
  --preload=LaTeX.pool\
  --preload=article.cls\
  --preload=amsmath.sty\
  --preload=amsthm.sty\
  --preload=amstext.sty\
  --preload=amssymb.sty\
  --preload=eucal.sty\
  --preload=[dvipsnames]xcolor.sty\
  --preload=url.sty\
  --preload=hyperref.sty\
  --preload=[ids]latexml.sty\
  --preload=texvc\
  literal:"\frac{a}{b}"

However, when I enter \mathbf{x} there is a warning about "mathbf" should only appear in math mode and the output is a html fragment. Same for \mathcal{x}. When I enter {\mathbf{x}} everything works again...

@dginev

This comment has been minimized.

Copy link
Collaborator

@dginev dginev commented Jan 17, 2018

Thanks for the report. Looks like the math guards of --whatsin=math may need a fresh look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.