![](https://secure.gravatar.com/avatar/e07e15a8be3c4c1723f5a0397bc17424.jpg?s=120&d=mm&r=g)
List, I am trying to use tables in an export with tagging to support CSS styling for eventual ebook production (with the added hope that cross-references and perhaps indexing someday might be supported). I have run into an odd limitation. It seems that only tagged element may not be present in a table. The primary use is to manage text in sidebars (first or last column, moved by CSS to the correct position, for a two- or three-column one-row table). * When there are three tagged (or more) elements in the table, the table is not present in the resulting html export, nor is much of the document following it, and the file is not well-formed. * When there are two tagged elements in the table, the resulting html export is without part of the document following the table and is not well-formed (even though the table appears complete with the tag divs). * When there is only one tagged element in the table, the resulting html export appears to include the complete document but is still not well-formed. * When there are none, all is well, except that there is nothing to which I can associate the needed CSS. * In all cases, the pdf output is correct, but the pdf is a throw-away when generating html exports. It looks like tagged elements are not currently supported within tables. I had thought of putting the table into a tagged element and using nth-child selectors to apply CSS to cells by column, but that is finicky and it does not offer the flexibility that tagged elements provide. Can anyone suggest another alternative? Example follows. As supplied, no tagged elements are generated and all is well. Uncomment either the start/stop element lines in the table to get one tagged element in the output, or the getbuffer line to get two (or all to get three, or...). There are similar problems with tabulate and xtables, but only TABLE is shown here. \setupstructure [state=start, method=auto] \setuptagging [state=start] \setupbackend [export=yes] \setupexport [title={Test Example}] \setelementbackendtag [Block] \setelementnature [Block][display] \setelementbackendtag [Column] \setelementnature [Column][display] \setelementbackendtag [Text] \setelementnature [Text][display] \define\DummyText{Lorem ipsum dolor sit amet, \ldots} \startbuffer[Demo] \startelement[Block] \startelement[Text] \DummyText \DummyText \DummyText \DummyText \stopelement \stopelement \stopbuffer \starttext \startchapter[title={One}] \startsection[title={OneDotOne}] \bTABLE \bTR \bTD % \startelement[Column]% adds 1 tagged elements \DummyText \DummyText % \getbuffer[Demo]% adds 2 tagged elements % \stopelement \eTD \bTD \DummyText \DummyText \eTD \eTR \eTABLE \stopsection% \startsection[title={OneDotTwo}] \startparagraph \DummyText \stopparagraph \stopsection \stopchapter \stoptext -- Rik