Re: [NTG-context] Position of MetaPost graphics

2011-04-03 Thread Tim Steenvoorden
Thanks Peter! You are right it is easier to draw both the wave and the line in Metapost. And the dx=-\cutspace is just what I needed for left pages! I striped the frames out of the code and placed just the graphics in the layer with a reuseMPgraphic. Also, I pulled out the definition of the wave i

Re: [NTG-context] Section stoppers

2011-04-03 Thread Aditya Mahajan
On Sun, 3 Apr 2011, Wolfgang Schuster wrote: Am 03.04.2011 um 21:23 schrieb Aditya Mahajan: Hi, I want the section titles to look like: Section 1 – Section heading How do I get the endash between the section number and the header in MkIV? \setuplabeltext[section={Section , – }] Than

Re: [NTG-context] Section stoppers

2011-04-03 Thread Wolfgang Schuster
Am 03.04.2011 um 21:23 schrieb Aditya Mahajan: > Hi, > > I want the section titles to look like: > >Section 1 – Section heading > > How do I get the endash between the section number and the header in MkIV? \setuplabeltext[section={Section , – }] Wolfgang ___

[NTG-context] Section stoppers

2011-04-03 Thread Aditya Mahajan
Hi, I want the section titles to look like: Section 1 – Section heading How do I get the endash between the section number and the header in MkIV? Thanks, Aditya___ If your question is of interest to others as

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread C.
Would you mind telling me how you fixed it? (even if your fix does not apply here) > -Ursprüngliche Nachricht- > Von: Bernhard Rosensteiner [mailto:brosenstei...@gmail.com] > Gesendet: Sonntag, 3. April 2011 18:31 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Small cap

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Wolfgang Schuster
Am 03.04.2011 um 15:35 schrieb C.: > Wolfgang, your solution works for the small caps, even without defining the > font feature. I guess it's because \sc is a standard (la)tex style switch > like \it. No, context doesn’t provide latex style switches but you can define them with \definealterna

Re: [NTG-context] Position of MetaPost graphics

2011-04-03 Thread Aditya Mahajan
On Fri, 1 Apr 2011, Tim Steenvoorden wrote: (Untested). \startuniqueMPgraphic{wave} numeric periods, width; path wave; periods := 3 + 1/4; width := periods * 2*pi; wave:= origin for x=0 step 0.1 until width: -- (x,x*sin(x)) endfor; pickup pencircle scaled 1pt; draw w

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Wolfgang Schuster
Am 03.04.2011 um 18:30 schrieb Bernhard Rosensteiner: > Hi all, > > sorry for the noise, indeed cmr have no smallcaps, but initially i used a > adobe font for testing and here it didn´t work. It seems oldstyle and > smallcaps fontfeature is not defined in the source anymore, so i had to > def

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Bernhard Rosensteiner
Hi all, sorry for the noise, indeed cmr have no smallcaps, but initially i used a adobe font for testing and here it didn´t work. It seems oldstyle and smallcaps fontfeature is not defined in the source anymore, so i had to define it myself and now all is ok. best regards Bernhard lg Bernhard

Re: [NTG-context] Position of MetaPost graphics

2011-04-03 Thread Peter Rolf
Am 01.04.2011 11:39, schrieb Tim Steenvoorden: > Dear list, > > I'm trying to make some fancy chapter headers. With MetaPost I drew a > wave, which I'd like to place in the margin. I've read details.pdf and > metafun.pdf, but I don't manage to get the positioning right. The wave > should begin whe

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread C.
Wolfgang, your solution works for the small caps, even without defining the font feature. I guess it's because \sc is a standard (la)tex style switch like \it. BUT: Defining (or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc f

Re: [NTG-context] wikimedia2context: any existing solutions?

2011-04-03 Thread R. Ermers
Well, that seems like a great idea. But beware: as far as I know it is impossible with context to process cals tables in an html or xml document. It is possible though to process cals tables in a separate document and insert the resulting pdf. Regards, Robert Op 30 mrt 2011, om 19:32 heef

[NTG-context] Using forms and saving values

2011-04-03 Thread Cecil Westerhof
I have –simplified– the following: \starttext \defineframed [action] [width=5cm, height=3cm, offset=none, frameoffset=.5\linewidth] \action{} \stoptext What I would like to do is to let the user input some text and display it in this frame. (In reality there will be more frames.) When the t

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Bernhard Rosensteiner
Hello all, i don´t use simplefonts but something is not working (see attachment). Before the latest beta the commads \addff and \addfs worked. best regards Bernhard On Samstag, 02. April 2011 at 08:09, Wolfgang Schuster wrote: > > Am 02.04.2011 um 00:40 schrieb C.: > > > Hello, > > could it

[NTG-context] Position of MetaPost graphics

2011-04-03 Thread Tim Steenvoorden
Dear list, I'm trying to make some fancy chapter headers. With MetaPost I drew a wave, which I'd like to place in the margin. I've read details.pdf and metafun.pdf, but I don't manage to get the positioning right. The wave should begin where the bottomframe ends and move on to the page border. Als