[NTG-context] MetaFun: hlintext: `! Missing `)' has been inserted.`, `formatstr: ! Not implemented: (pair)-(unknown numeric).`

2011-10-14 Thread Paul Menzel
Dear ConTeXt folks, trying to draw a grid and label it, I get an error when using the (alsa attached) example from the MetaFun manual [1]. \starttext \startMPcode drawoptions(withpen pencircle scaled .25pt withcolor .5white) ; draw hlingrid(0, 20, .2, 20cm, 10cm)

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread Meer, H. van der
I made an example of the effect of this on \doifmode and \startmode. The example shows that the appearance of extra space in \doifmode follows a regular pattern. The startmode case differs in that respect because \startmode[condition-true] has the extra space but \startmode[condition-false]

[NTG-context] Behaviour of \tfx versus \tfa

2011-10-14 Thread Hans van der Meer
I found the following disparity in behaviour between \tfa, etc. and \tfx, \tfxx: \tfa, \tfb etc. do change mathsize too, but \tfx, \tfxx do not % These remedy it: \let\orgtfx\tfx \let\orgtfxx\tfxx \def\tfx{\orgtfx\dosetcurrentfontsize{x}} \def\tfxx{\orgtfxx\dosetcurrentfontsize{xx}} Is

Re: [NTG-context] bug in latest beta

2011-10-14 Thread luigi scarso
On Thu, Oct 13, 2011 at 9:46 PM, Hans Hagen pra...@wxs.nl wrote: On 13-10-2011 09:37, luigi scarso wrote: Please type another input file name: A new beta ... better check mp code as I've split all mkii/mkiv mp related code (i.e. metafun ii is frozen and metafun iv will be mainstream). I

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread Wolfgang Schuster
Am 14.10.2011 um 10:38 schrieb Meer, H. van der: I made an example of the effect of this on \doifmode and \startmode. The example shows that the appearance of extra space in \doifmode follows a regular pattern. The startmode case differs in that respect because \startmode[condition-true]

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread Meer, H. van der
On 14 okt. 2011, at 11:26, Wolfgang Schuster wrote: Am 14.10.2011 um 10:38 schrieb Meer, H. van der: I made an example of the effect of this on \doifmode and \startmode. The example shows that the appearance of extra space in \doifmode follows a regular pattern. The startmode case

Re: [NTG-context] bug in latest beta

2011-10-14 Thread Andreas Harder
On 13.10.2011, at 21:46, Hans Hagen wrote: On 13-10-2011 09:37, luigi scarso wrote: Please type another input file name: A new beta ... better check mp code as I've split all mkii/mkiv mp related code (i.e. metafun ii is frozen and metafun iv will be mainstream). I might have messed

Re: [NTG-context] Include section number in reference

2011-10-14 Thread Marco
On 2011-10-13 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupreferencestructureprefix[default][prefixsegments=2:*] Thanks. Wikified. (Although without explanations, just an example) Marco ___ If

Re: [NTG-context] Include section number in reference

2011-10-14 Thread Wolfgang Schuster
Am 14.10.2011 um 13:18 schrieb Marco: On 2011-10-13 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupreferencestructureprefix[default][prefixsegments=2:*] Thanks. Wikified. (Although without explanations, just an example) I can also provide the entry from my command

[NTG-context] Creating a new page in the wiki

2011-10-14 Thread Marco
Hi, I stumbled upon the problem of how to add a command to the command reference in the wiki. More general: How to add a new page (not editing an existing one)? Am I missing the obvious? What is the secret trick? Marco

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread luigi scarso
On Fri, Oct 14, 2011 at 2:29 PM, Marco net...@lavabit.com wrote: Hi, I stumbled upon the problem of how to add a command to the command reference in the wiki. More general: How to add a new page (not editing an existing one)? Am I missing the obvious? What is the secret trick? Marco

Re: [NTG-context] MetaFun: hlintext: `! Missing `)' has been inserted.`, `formatstr: ! Not implemented: (pair)-(unknown numeric).`

2011-10-14 Thread Hans Hagen
On 14-10-2011 08:02, Paul Menzel wrote: Dear ConTeXt folks, trying to draw a grid and label it, I get an error when using the (alsa attached) example from the MetaFun manual [1]. Fixed in next beta (however, instead of mp formatting lua formatting is used, a prelude to the graph rewrite

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread Hans Hagen
On 14-10-2011 10:38, Meer, H. van der wrote: I made an example of the effect of this on \doifmode and \startmode. The example shows that the appearance of extra space in \doifmode follows a regular pattern. The startmode case differs in that respect because \startmode[condition-true] has the

Re: [NTG-context] bug in latest beta

2011-10-14 Thread Hans Hagen
On 14-10-2011 12:26, Andreas Harder wrote: \startMPpage[offset=1ex] draw function (1,x,sin(x),0,2*pi,.001) scaled 20 ; \stopMPpage fixed in next beta - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Behaviour of \tfx versus \tfa

2011-10-14 Thread Hans Hagen
On 14-10-2011 11:01, Hans van der Meer wrote: I found the following disparity in behaviour between \tfa, etc. and \tfx, \tfxx: \tfa, \tfb etc. do change mathsize too, but \tfx, \tfxx do not % These remedy it: \let\orgtfx\tfx \let\orgtfxx\tfxx \def\tfx{\orgtfx\dosetcurrentfontsize{x}}

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread Marco
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote: I stumbled upon the problem of how to add a command to the command reference in the wiki. More general: How to add a new page (not editing an existing one)? Am I missing the obvious? What is the secret trick? Marco 1)

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread luigi scarso
On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote: 2) How to delete pages? There is tab delete just near the head of the page (if you have the right permission) -- luigi ___ If your question is of

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread Marco
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote: On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote: 2) How to delete pages? There is tab delete just near the head of the page (if you have the right permission) Hmm. I don't see it. Maybe I don't have

Re: [NTG-context] nice friends-book with ConText - quite ready

2011-10-14 Thread Jan Heinen
Hello it was a ConText-night, and as a newby I learned a lot about ConText :-) Here is what I wanted to get: http://www.imagebanana.com/view/f4o3un2c/Entwurffriends.png And here are my results: http://www.imagebanana.com/view/8vq30irn/ContextLayers.png There are only little things which

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread luigi scarso
On Fri, Oct 14, 2011 at 6:57 PM, Marco net...@lavabit.com wrote: On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote: On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote: 2) How to delete pages? There is tab delete just near the head of the page (if you have

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread Aditya Mahajan
On Fri, 14 Oct 2011, Marco wrote: On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote: On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote: 2) How to delete pages? There is tab delete just near the head of the page (if you have the right permission) Hmm. I don't see

Re: [NTG-context] nice friends-book with ConText - quite ready

2011-10-14 Thread Marco
On 2011-10-14 Jan Heinen jahei...@gmx.de wrote: And here are my results: http://www.imagebanana.com/view/8vq30irn/ContextLayers.png There are only little things which could be improved: How?? 1. where comes the frame around the foto from? How can I switch it off? You introduced one pair

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread Marco
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote: On Fri, Oct 14, 2011 at 6:57 PM, Marco net...@lavabit.com wrote: On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote: On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote: 2) How to delete pages?

Re: [NTG-context] Creating a new page in the wiki

2011-10-14 Thread Patrick Gundlach
1) After having created a new page for Reference/en/whatever How to add it to the command reference http://wiki.contextgarden.net/Category:Reference/en ? add [[Category:Reference/en|whatever]] to the page (at the bottom, for example) Patrick

[NTG-context] beta

2011-10-14 Thread Hans Hagen
Hi, A new beta has been uploaded. Nothing new apart from some experimental code and a few bugfixes. I also uploaded http://www.pragma-ade.com/preliminaries/hybrid-italics.pdf Files in that path will come and go. Hans -

[NTG-context] Fatal Error Return Code 70

2011-10-14 Thread Kip Warner
Hey list, I am trying to compile a book typeset in ConTeXt. I am running the following version: $ context --version resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/contextcnf.lua' resolvers | resolving | loading configuration file

Re: [NTG-context] Difference in doifinset in MkII and MkIV

2011-10-14 Thread Aditya Mahajan
On Wed, 21 Sep 2011, Wolfgang Schuster wrote: Am 21.09.2011 um 05:20 schrieb Aditya Mahajan: The following works in MkIV but fails in MkIV: \unprotect \def\!!yesandon{yes,on} \doifinsetelse{yes}\!!yesandon \ExpandSecondAfter\doifinsetelse{yes}\!!yesandon It’s awkward but this how it works

[NTG-context] Exporting verbatim text

2011-10-14 Thread Aditya Mahajan
Hi, In the vim module, I use vim to generate TeX code that looks roughly as ~~~ \SYN[Type]{public} \SYN[Type]{static} \SYN[Type]{void} main\SYN[javaParen]{(}String args\SYN[javaParen]{)} \{ System.out.println\SYN[javaParen]{(}\SYN[Constant]{Hello World}\SYN[javaParen]{)} ; \} ~~~