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 <div class="description 
Theorem”>,
while Lemma gets the generic <div class="description”>.

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


Attachment: inci3.tex
Description: Binary data



 
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to