[NTG-context] Improving Pandoc Support for ConTeXt
Aditya Mahajan
adityam at umich.edu
Mon Oct 26 17:51:23 CET 2015
On Mon, 26 Oct 2015, Wolfgang Schuster wrote:
>> 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?
Because I did not know about it :-)
Aditya
More information about the ntg-context
mailing list