LaTeXML
LaTeXML copied to clipboard
formatting in thanks in author disappears
The following TeX:
\documentclass{article}
\usepackage[text={2in,2in},centering]{geometry}
\title{Title}
\author{Author\thanks{1 \texttt{2} 3 \textbf{4} 5 \emph{6} 7}}
\begin{document}
\maketitle
\end{document}
has the pdf:
We have the html:
<div class="ltx_authors">
<span class="ltx_creator ltx_role_author">
<span class="ltx_personname">Author</span>
<span class="ltx_author_notes">
<span>
1 <span class="ltx_text ltx_font_typewriter">2</span> 3
<span class="ltx_text ltx_font_bold">4</span> 5
<em class="ltx_emph ltx_font_italic">6</em> 7
</span>
</span>
</span>
</div>
Hovering over the askterisk for the thanks, we see
If I adjust the selectors at lib/LaTeXML/resources/CSS/LaTeXML.css#L74 to be
.ltx_authors_1line .ltx_author_notes > span
.ltx_authors_1line .ltx_author_notes:hover > span
then I get

Would this change have any other consequences? Are there occasions where we have .ltx_authors_1line .ltx_author_notes > (notspan) span that we don't want to display?
It looks like 0.8.7 has removed the .ltx_author_notes > span, so my proposal no longer works. On the other hand, we now have
where "1 3 5 6 7" is always present, and "4" shows up on hover. I'm not sure if this is what we wanted to happen with removing the span tag.