HTML/EPUB export: Lost Inheritance in enumerations.

13 Jul
2025
13 Jul
'25
11:15 p.m.
Dear All, Here is another issue: When defining enumerations, it is useful to use inheritance as in the minimal example inci.tex below. This compiles fine, and both PDF and HTML look good. However, when I style the elements in the exported style sheets, only “theorem" gets styled, not “lemma". In the HTML the Theorem style is invoked using
.
To reproduce this, one needs to add
<link type="text/css" rel="stylesheet" href="styles/inci3-templates.css" />
to inci3-div.html (to make the styles available to the html), and in
styles/inci3-templates.css one needs to change two styles to
description[detail=Theorem],
div.description.Theorem {
display: block ;
border-style: solid;
}
description[detail=Lemma],
div.description.Lemma {
display: block ;
border-style: solid;
}
The latter style is never used in inci3-div.html.
Thanks once again!
Matthias
6
Age (days ago)
6
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthias Weber