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

Nested emph #874

HansOlsson opened this Issue Oct 5, 2017 · 2 comments


None yet
3 participants

HansOlsson commented Oct 5, 2017

As far as I can tell the following works correctly in pdflatex but not in LaTeXML (tested in 0.8.2):

\emph{Nest \emph{me}}

In pdflatex "me" is in normal font, in LaTeXML the entire text is italized.


This comment has been minimized.


dginev commented Oct 5, 2017

Wow, applying emph twice does reset the normal font, I had no idea myself. Marking as a bug, and thanks for the report!

@dginev dginev added the bug label Oct 5, 2017


This comment has been minimized.


brucemiller commented Oct 22, 2017

Well, I knew that emph toggled, but I mistakenly assumed that the HTML folks knew that as well! :>. I'd handled emph sorta semantically with just an emph element. Now I was rethinking whether it should be better handled by CSS rules for emph, but that would be awkward to handle arbitrary depths, so let's just handle it by font switches. Done! Thanks for the report!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment