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

Nested emph #874

HansOlsson opened this issue Oct 5, 2017 · 2 comments

Nested emph #874

HansOlsson opened this issue Oct 5, 2017 · 2 comments


Copy link

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.

Copy link

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
Copy link

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
None yet

No branches or pull requests

3 participants