Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread gummybears
Hi, In reply to Hans, I am using the latest beta (ConTeXt version 2010.02.25 19:46. mkiv, LuaTeX version 50, LuaTeX revision 0, (LuaTeX date stamp 2009122521)) As Hans requested a small test file, \setupnumbering[way=bysection] % --- this used to work, but does not

[NTG-context] MkIV gray, no MkII black ?

2010-03-01 Thread Steffen Wolfrum
Hi, in MkII I set \setupcolors[state=start] to activate defined colors (for text, numbers etc.), and \setupcolors[state=stop] to set these colors to black. Now, in MkIV \setupcolors[state=stop] does set these colors to gray. Not to black. [Log: color : system gray is global

Re: [NTG-context] MkIV gray, no MkII black ?

2010-03-01 Thread Peter Rolf
Hi Steffen, Am 01.03.2010 13:41, schrieb Steffen Wolfrum: Hi, in MkII I set \setupcolors[state=start] to activate defined colors (for text, numbers etc.), and \setupcolors[state=stop] to set these colors to black. Now, in MkIV \setupcolors[state=stop] does set these colors to gray. Not

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Wolfgang Schuster
Am 01.03.10 09:39, schrieb gummybears: Hi, In reply to Hans, I am using the latest beta (ConTeXt version 2010.02.25 19:46. mkiv, LuaTeX version 50, LuaTeX revision 0, (LuaTeX date stamp 2009122521)) As Hans requested a small test file, \setupnumbering[way=bysection] % --- this used to

[NTG-context] METAPOST's superellipse with superness0.5 does not give a superellipse

2010-03-01 Thread James Fisher
Hi again, Another METAPOST problem. For the sake of curiosity, I've been looking at and playing with the superellipse() function in plain METAPOST. This is all fine and dandy until I try values of 'superness' less than 0.5, in which case it generates shapes that are seemingly not

Re: [NTG-context] MkIV gray, no MkII black ?

2010-03-01 Thread Hans Hagen
On 1-3-2010 15:02, Peter Rolf wrote: Hi Steffen, Am 01.03.2010 13:41, schrieb Steffen Wolfrum: Hi, in MkII I set \setupcolors[state=start] to activate defined colors (for text, numbers etc.), and \setupcolors[state=stop] to set these colors to black. Now, in MkIV \setupcolors[state=stop]

Re: [NTG-context] METAPOST's superellipse with superness0.5 does not give a superellipse

2010-03-01 Thread James Fisher
I should say that the vertices of the superellipse are calculated correctly. The problem, it seems, is that for the vertices at right, top, left, and bottom, the angles of entry and exit need to be explicitly defined, rather than just relying on the '...' which coincidentally works for s=0.5. I

Re: [NTG-context] METAPOST's superellipse with superness0.5 does not give a superellipse

2010-03-01 Thread Rory Molinari
James's explanation appears to be right. On p 126 of the METAFONTbook Knuth says that the superness should be between 0.5 (when you get a diamond) and 1.0 (when you get a square). Exercise 14.6 asks the reader to Try superellimpse with superness values less than 0.5 or greater than 1.0; explain

Re: [NTG-context] Math in MKIV - HOWTO

2010-03-01 Thread Zhichu Chen
Hi, I got some time today and checked some symbols of hlcra.tfm (LucidaNewMath-Arrows), and got this table: fonts.enc.math[lucida-ma] = { [0x025CB] = 0x00, -- circle [0x025CF] = 0x01, -- blackcircle [0x025A1] = 0x02, -- square

Re: [NTG-context] Math in MKIV - HOWTO

2010-03-01 Thread Zhichu Chen
Correction: [0x021D5] = 0x65, -- Downrightarrow It's wrong, should be: [0x021D8] = 0x65, -- Downrightarrow On Tue, Mar 2, 2010 at 12:26 AM, Zhichu Chen zhichu.c...@gmail.com wrote: Hi, I got some time today and checked some symbols of hlcra.tfm (LucidaNewMath-Arrows), and got this table:

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread gummybears
At Wolfgang Tried \definestructureprefixset[section][section-3][] \setupformulas[numbercolor=blue,numberstyle=bold,prefixset=section] alas it doesn't work. What version of Context are you using ? Thanks ___ If your

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Saptarshi Guha
Hello, I checked out context minimals and ran context on your sample file(OS X Leopard), it worked. The formula is numbered 1.1. context jh.tex MTXrun | run 1: luatex --fmt=/Users/yanger/mystuff/context/tex/texmf-cache/luatex-cache/context/6260f85025788ae8cf4a5735589294e1/formats/cont-en

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Wolfgang Schuster
Am 01.03.10 18:17, schrieb gummybears: At Wolfgang Tried \definestructureprefixset[section][section-3][] \setupformulas[numbercolor=blue,numberstyle=bold,prefixset=section] alas it doesn't work. What version of Context are you using ? MTXrun | current version: 2010.02.26 10:57 Wolfgang

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread gummybears
At saptarshi With MK-II the formula numbers came out (1.1.1), (1.1.2), numbered by section. Chapter 1, section 1, formula 1 - (1.1.1) Chapter 1, section 1, formula 2 - (1.1.2) The above is what I want. Now in MK-IV they come out numbered like Chapter 1, section 1, formula 1 - (1.1) Chapter 1,

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Wolfgang Schuster
Am 01.03.10 18:32, schrieb gummybears: At saptarshi With MK-II the formula numbers came out (1.1.1), (1.1.2), numbered by section. Chapter 1, section 1, formula 1 - (1.1.1) Chapter 1, section 1, formula 2 - (1.1.2) The above is what I want. Now in MK-IV they come out numbered like Chapter

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Saptarshi Guha
Thanks Wolfgang, this worked for me. On Mon, Mar 1, 2010 at 12:47 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 01.03.10 18:32, schrieb gummybears: At saptarshi With MK-II the formula numbers came out (1.1.1), (1.1.2), numbered by section. Chapter 1, section 1, formula

Re: [NTG-context] METAPOST's superellipse with superness0.5 does not give a superellipse

2010-03-01 Thread James Fisher
I've come up with a crude function that's doing more like what I want. I have two problems with it: 1. The most important: I need to differentiate the equations that generate a superellipse, in order to find the tangent at the defined vertices. I have failed to do this and so use a crude

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread gummybears
Wolfgang, works for me too. Thanks for your time. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] METAPOST's superellipse with superness0.5 does not give a superellipse

2010-03-01 Thread Rory Molinari
For 2: I think Metafont makes more sense if you don't think of a macro as a function that does some work in its own context and returns a value, but as something that expands textually in place. So there isn't any concept of return as there aren't separate stack frames to return from or to. So

[NTG-context] Dash broken in MKIV

2010-03-01 Thread Andreas Schneider
Hi, in MKIV, the long dash (--) seems to be broken. Example: \starttext some -- text \stoptext Outputs with literal -- instead of a longer - as it used to do before. It still worked ~2 weeks ago. I tested it with the minimals (beta) under Linux and Windows. Best Regards, Andreas Schneider.

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread gummybears
To all interested I found a simpler solution, not knowing how prefixsegments really work, but mainly understand from this example, is \setupformulas[prefixsegments=chapter:section] instead of using \setupformulas[prefixsegments=1:100] Both setups gives the same numbering scheme of the formula

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Wolfgang Schuster
Am 01.03.10 22:40, schrieb gummybears: To all interested I found a simpler solution, not knowing how prefixsegments really work, but mainly understand from this example, is \setupformulas[prefixsegments=chapter:section] instead of using \setupformulas[prefixsegments=1:100] interesting

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread Hans Hagen
On 1-3-2010 22:40, gummybears wrote: To all interested I found a simpler solution, not knowing how prefixsegments really work, but mainly understand from this example, is \setupformulas[prefixsegments=chapter:section] instead of using \setupformulas[prefixsegments=1:100] Both setups gives

Re: [NTG-context] MK-II to MK-IV

2010-03-01 Thread gummybears
With the help of Wolfgang (thanks) the solution is (tested) \setupformulas[prefix=yes,prefixsegments=chapter:section,way=bysection] On Mon, Mar 1, 2010 at 10:40 PM, gummybears oracle...@gmail.com wrote: To all interested I found a simpler solution, not knowing how prefixsegments really

Re: [NTG-context] table alignment

2010-03-01 Thread Wolfgang Werners-Lucchini
Thank you Aditya and Wolfgang, I will try it both: No page breaks possible: \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before =,after=] \starttext vorher \startnarrower text \starttablebox \starttable[s0|l|] \NC table entry \NC\AR \stoptable

Re: [NTG-context] Dash broken in MKIV

2010-03-01 Thread Hans Hagen
On 1-3-2010 20:43, Andreas Schneider wrote: Hi, in MKIV, the long dash (--) seems to be broken. Example: \starttext some -- text \stoptext Outputs with literal -- instead of a longer - as it used to do before. It still worked ~2 weeks ago. I tested it with the minimals (beta) under Linux and

Re: [NTG-context] Dash broken in MKIV

2010-03-01 Thread Andreas Schneider
Hans Hagen wrote: fixed in next beta ... Awesome, fast as usual :-) Thanks a lot! Andreas. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] [MkII] Difference in output in minimals versus TeX Live 2009

2010-03-01 Thread Mojca Miklavec
2010/2/28 Vedran Miletić wrote: 2010/2/26 Mojca Miklavec wrote: I suspect (though I don't really know) that the difference comes from different versions of TeX Gyre. There's a quick experiment you can do:    rsync -av \        /usr/local/texlive/2009/texmf-dist/fonts/tfm/public/tex-gyre/ \