ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Issues in export
@ 2015-01-17 16:15 Henning Hraban Ramm
  2015-01-19  9:44 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2015-01-17 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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)

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-20 10:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-17 16:15 Issues in export Henning Hraban Ramm
2015-01-19  9:44 ` Hans Hagen
2015-01-20  8:52   ` Henning Hraban Ramm
2015-01-20  9:19     ` Henning Hraban Ramm
2015-01-20 10:31       ` Hans Hagen
2015-01-20 10:24     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).