You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Also how would one distinguish <para xml:id="p1"> from <para xml:id="p2">?
I am not sure what the expected behaviour would be. Depending on whether text[@font='bold']/indexmark/indexphrase/text() is supposed to inherit the boldness from the text ancestor I would expect
Normally, you want that inheritance (which was hard enough to get right in LaTeXML! :> ). But in the case of metadata like \index which gets pulled out of its context and used elsewhere, it both needs to restart from a default font, and record it's own font standalone. I couldn't quite solve this without creating (yet) another magic attribute _standalone_font which marks elements which need this treatment. I think this should work now, w/o (seemingly) cluttering up the common cases. Thanks for the report!
When converting
with LaTeXML version 0.8.2; revision 48de2c4
I get
In
<para xml:id="p2">
we havewhile in
<para xml:id="p5">
and<para xml:id="p8">
we haveAlso how would one distinguish
<para xml:id="p1">
from<para xml:id="p2">
?I am not sure what the expected behaviour would be. Depending on whether
text[@font='bold']/indexmark/indexphrase/text()
is supposed to inherit the boldness from thetext
ancestor I would expectin
<para xml:id="p1">
orin
<para xml:id="p2">
.italic markup shows an analog problem. I have not tested with
\emph{}
The text was updated successfully, but these errors were encountered: