[NTG-context] Feature request for export: Interactive Notes

Pablo Rodriguez oinos at gmx.es
Sat Apr 25 21:19:47 CEST 2015


On 04/25/2015 02:19 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>>> [...]
>>>   Indeed, I plan to present the results of this experiment (porting an
>>>   entire academic article to xhtml and WP) in a future article for one  
>>>   of the TeX journals...
>>
>> I’m really interested in reading it. Also because I’m trying to use
>> ConTeXt to generate high-quality PDF documents from XHTML files
>> generated by pandoc ;-).
> 
> Ah, I'll be interested in seeing that workflow as well ;-)

Hi Idris,

I’m working on an article on this topic. But without bibligraphies, I
have never used myself in ConTeXt or in pandoc :-(.

>>>   Now we can of course already export xhtml footnotes from ConTeXt but  
>>>   there will be no interactive links. In the current project, there are 77
>>>   footnotes; I had to add the links manually to get the output to do  
>>>   what we wanted.
>>
>> I’m afraid that missing links for footnotes is a bug,
> 
> Hmm, what do you mean exactly?

If footnotes in ePub (or XHTML) have no links, how is the user supposed
to handle them?

I must be missing something, because I think footnotes are hardly
accesible in XHTML without links.

> This is why I said that it makes much more sense to export the footnotes  
> as endnotes. At the end of, e.g., a blog post you'll have a section for  
> footnotes/endnotes. In the context source I had to make a derivative  
> version and use something like
> 
> \startsubsubject[title=Endnotes]
> \placefootnotes
> \stopsubsubject
> 
> [Aside: I wonder if there is a way in ConTeXt to setup \placefootnotes  
> etc. in a mode so that it gets invoked only in the export. Will explore  
> this for the article.]

How about the system mode: \doifmode{*export}{\placefootnotes}?

I discovered this (http://wiki.contextgarden.net/Modes#System_modes)
after the reply from Hans to my own question.

Best,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list