[NTG-context] About graphictext macro (Metafun)

2015-08-26 Thread Fabrice Couvreur
Hi, I try to understand how this macro by testing a simple example. Why pdf file is empty ? This question follows my question Cover page (Metafun) http://www.ntg.nl/pipermail/ntg-context/2015/083078.html Thank you. \setuppagenumbering[location=] \setupcolors [state=start]

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Alan BRASLAU
1\highordinalstr{st} etc. On Tue, 25 Aug 2015 09:19:21 +0200 Otared Kavian ota...@gmail.com wrote: \high{th} \high{nd} \high{st} On 24 Aug 2015, at 23:19, John Culleton j...@wexfordpress.com wrote: Forgot how to do these. -- John Culleton -- Alan Braslau CEA

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Mojca Miklavec
On Mon, Aug 24, 2015 at 11:19 PM, John Culleton wrote: Forgot how to do these. In case that you were looking for an automated way to print the date, here's one option: \setuplanguage[en][date={weekday,{, },day:ord,{~},month,{,~},year}] (And the documentation is somewhat wrong, I think it

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Otared Kavian
Hi, I don’t see the difference between \high and \highordinalstr, as in the example below. Is there something hidden there? \starttext August 21\high{st} August 21\highordinalstr{st} \stoptext Best regards: OK On 26 Aug 2015, at 19:06, Alan BRASLAU alan.bras...@cea.fr wrote:

Re: [NTG-context] Refering to parent in XML

2015-08-26 Thread Hans Hagen
On 8/25/2015 8:18 PM, Xan wrote: Hi, I have this environment: \startenvironment processadorxml % Activitat: defineix \Activitat{activitat-id} \def\Activitat#1% {\xmlfilter{rebost} {/activitats/activitat[@id=='#1']/command(xml:list)} } % Simplement llistam totes les presentacions.

Re: [NTG-context] XML expression to read HTML classes

2015-08-26 Thread massifr
A working example to clarify my request: \startluacode -- splits the attribute class using spaces as classes' separator -- returns an array of strings function xml.functions.classes(classAttr) local classes = {} if classAttr then for c in string.gmatch(classAttr, %S+) do

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Wolfgang Schuster
Otared Kavian mailto:ota...@gmail.com 26. August 2015 22:43 Hi, I don’t see the difference between \high and \highordinalstr, as in the example below. Is there something hidden there? \starttext August 21\high{st} August 21\highordinalstr{st} \stoptext Try it with uppercase letters in the

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Wolfgang Schuster
Mojca Miklavec mailto:mojca.miklavec.li...@gmail.com 26. August 2015 19:36 In case that you were looking for an automated way to print the date, here's one option: \setuplanguage[en][date={weekday,{, },day:ord,{~},month,{,~},year}] (And the documentation is somewhat wrong, I think it suggests to