Re: [NTG-context] proportional oldstyle figure not working in MKIV

2011-01-01 Thread Hans Hagen
On 1-1-2011 7:11, Yue Wang wrote: Hi, Hans: I think there are problems with the current MKIV font loading code. sample code: \definefontfeature[minion][language=dflt, script=latn, onum=yes, kern=yes, pnum=yes] \definefontsynonym[Minion][MinionPro-Regular][features=minion]

[NTG-context] framed float with offset

2011-01-01 Thread Sanjoy Mahajan
Is there a way to have figures placed on a slightly larger colored background and then have paragraph text flow around the enlarged area? I tried the following (using ver 2009.11.26 16:28 MKII): \setupcolors[state=start] \starttext \placefigure[right,none]{}% {\externalfigure[sample/cow.pdf]%

Re: [NTG-context] framed float with offset

2011-01-01 Thread Peter Münster
Sanjoy Mahajan san...@olin.edu writes: \starttext \placefigure[right,none]{}% {\externalfigure[sample/cow.pdf]% [scale=500, frame=on, frameoffset=20pt, framecolor=black, background=color, backgroundcolor=lightgray,

Re: [NTG-context] How to get graph module (metapost) to work with ConTeXt minimals?

2011-01-01 Thread Wolfgang Schuster
Am 31.12.2010 um 10:36 schrieb Verhaag, G.C.H.M.: So I understand that both statements: \loadmarkfile{m-graph} \usemodule[graph] are actually the same thing! Both work but they are not the same thing. \loadmarkfile loads only the given file with the extension “mkii” MkII and “mkiv”

[NTG-context] line numbers - method=page

2011-01-01 Thread Daniel Schopper
Dear all, on trying to reproduce the TEI to ConTeXt example on http://wiki.contextgarden.net/TEI_xml I haven't been able to get the line numbering per page working right. I directly copy-pasted the relevant part of the seventh listing which goes like this: \setuplinenumbering[location=inner,

Re: [NTG-context] proportional oldstyle figure not working in MKIV

2011-01-01 Thread Yue Wang
Thanks. got it. BTW, what are the conditions that mode != node are used? On Sat, Jan 1, 2011 at 7:01 AM, Hans Hagen pra...@wxs.nl wrote: On 1-1-2011 7:11, Yue Wang wrote: Hi, Hans: I think there are problems with the current MKIV font loading code. sample code:

[NTG-context] Escaping in LuaTeX

2011-01-01 Thread Fulvio Satta
I have a problem with Lua and the # operator. If I execute the following code I receive an error. \def\luacode% {\startluacode local t = {1, 2, 3} tex.print(#t) \stopluacode} \starttext \luacode \stoptext ConTeXt give me the message: ! Illegal parameter number in definition of

Re: [NTG-context] framed float with offset

2011-01-01 Thread Sanjoy Mahajan
Peter, \placefigure[right]{This is ok!}{\framed[offset=20pt, background=color, backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}} \input knuth Ah, I had tried almost that recipe (of wrapping the \externalfigure in a \framed) but had used backgroundoffset and