[NTG-context] Issues in export

Henning Hraban Ramm texml at fiee.net
Sat Jan 17 17:15:55 CET 2015


Hi, please consider the example at http://wiki.contextgarden.net/Export#More_useful_example
and its result at http://wiki.contextgarden.net/Export#raw.xml_2 etc.

The <metadata> tags end up within the first section (in this case: chapter), even if they’re defined before \starttext.

Please fix, thanks.



Further, I wonder about the tagging of footnotes (and probably other references, didn’t look into them yet):
This is completely visual instead of semantical:

(in *-raw.xml:)

Quoth<descriptionsymbol detail="footnote"><sup>1</sup></descriptionsymbol>
...
  <description detail="footnote" chain="footnote">
   <descriptiontag><sup>1</sup> </descriptiontag>
   <descriptioncontent>by Edgar Al­lan Poe</descriptioncontent>
  </description>

(in *-div.xhtml:)

Quoth<div class="descriptionsymbol footnote"><div class="sup">1</div></div>
...
  <div class="description footnote">
   <div class="descriptiontag"><div class="sup">1</div> </div>
   <div class="descriptioncontent">by Edgar Al­lan Poe</div>
  </div>


In raw.xml I’d prefer something like


Quoth<description detail="footnote" id="1">by Edgar Allan Poe</description> 


or


Quoth<description detail="footnote" id="1" />
...
  <description detail="footnote" id="1">
   <descriptiontag>1</descriptiontag>
   <descriptioncontent>by Edgar Al­lan Poe</descriptioncontent>
  </description>


and in div.xhtml something that works in HTML, like a title:


Quoth<div class="descriptionsymbol footnote" title="by Edgar Al­lan Poe"><div class="sup">1</div></div>


or a link:


Quoth<a href="#footnote_1"><div class="descriptionsymbol footnote"><div class="sup">1</div></div></a>
…
<a name=„footnote_1“>
  <div class="description footnote">
   <div class="descriptiontag"><div class="sup">1</div> </div>
   <div class="descriptioncontent">by Edgar Al­lan Poe</div>
  </div>
</a>


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



More information about the ntg-context mailing list