[NTG-context] handling HTML notes in ConTeXt

2014-12-28 Thread Pablo Rodriguez
Dear list, I would like to be able to parse HTML output from pandoc with ConTeXt XML parser (or whichever the right name is). The only issue I cannot solve are footnotes. From markdown: Text^[A footnote.] pandoc parses into HTML as: pTexta href=#fn1 class=footnoteRef

Re: [NTG-context] handling HTML notes in ConTeXt

2014-12-28 Thread Hans Hagen
On 12/28/2014 12:55 PM, Pablo Rodriguez wrote: Dear list, I would like to be able to parse HTML output from pandoc with ConTeXt XML parser (or whichever the right name is). The only issue I cannot solve are footnotes. From markdown: Text^[A footnote.] pandoc parses into HTML as:

Re: [NTG-context] handling HTML notes in ConTeXt

2014-12-28 Thread Pablo Rodriguez
Hans, many thanks for your sample. It is really amazing. Pablo On 12/28/2014 06:53 PM, Hans Hagen wrote: \startbuffer[demo] doc pText a href=#fn1 class=footnoteRef id=fnref1sup1/sup/a and a href=#fn2 class=footnoteRef id=fnref2sup2/sup/a /p div