Aditya Mahajan mailto:adityam@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?
Wolfgang