[NTG-context] Improving Pandoc Support for ConTeXt

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Oct 26 12:32:16 CET 2015

> Aditya Mahajan <mailto:adityam at umich.edu>
> 24. Oktober 2015 um 21:11
> On Mon, 19 Oct 2015, Andrew Dunning wrote:
>> It has been mentioned a few times on this list, with Pablo Rodríguez 
>> recently developing a set of templates for typesetting its XHTML 
>> output (at https://github.com/ousia/from-pandoc-to-context). One of 
>> its aims is to ease the process of producing a high-quality PDF; it 
>> has the strongest support for LaTeX at the moment, but it seems to me 
>> that ConTeXt would ultimately provide a more reliable and lightweight 
>> solution. The basic support is already in place; it only needs to be 
>> more thoroughly updated to take advantage of MkIV.
> This translation is not written in a ConTeXtish way. A lot of
> \startmode[*en,*uk] \chapter{...} \stopmode
> \startmode[*es] \chapter {...} \stopmode
> etc could be written using \labeltext. For example:
> \chapter{\labeltext{notes}]
> \setuplabeltext[en][notes={Notes}]
> \setuplabeltext[es][notes={Notas}]
> etc.
Why don’t you use \headtext?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20151026/e2a82aa4/attachment.html>

More information about the ntg-context mailing list