Re: [dev-context] cont-en.xml

2010-09-11 Thread Marius
On 2 July 2010 10:41, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 30.06.10 12:57, schrieb Marius: Hello, I think that the best way is to put command syntax description just before its definition in the context file. This way it will be easier to keep it always in sync with

Re: [dev-context] cont-en.xml

2010-07-06 Thread Wolfgang Schuster
Am 05.07.10 12:26, schrieb Taco Hoekwater: On 07/05/2010 11:44 AM, Marius wrote: On Fri, Jul 2, 2010 at 1:21 PM, Taco Hoekwatert...@elvenkind.com wrote: I think this will be a wasted effort. I predict that any future version of context that will be able to do syntax checking is going to be

Re: [dev-context] cont-en.xml

2010-07-06 Thread taco
Wolfgang Schuster wrote: I'm against storing the command definition in the relevant files because the definitions are meant for documentation and it's nonsense in this way because you need sometimes references to other commands and who should you show a command for spacing which is written in a

Re: [dev-context] cont-en.xml

2010-07-06 Thread Hans Hagen
On 6-7-2010 8:23, taco wrote: sorry for delays in responding ... i'm still in the process of fixing hardware / installations etc Wolfgang Schuster wrote: I'm against storing the command definition in the relevant files because the definitions are meant for documentation and it's nonsense

Re: [dev-context] cont-en.xml

2010-07-05 Thread Marius
On Fri, Jul 2, 2010 at 1:21 PM, Taco Hoekwater t...@elvenkind.com wrote: I think this will be a wasted effort. I predict that any future version of context that will be able to do syntax checking is going to be based on lua for the verification process, not tex macros. There is already an

Re: [dev-context] cont-en.xml

2010-07-05 Thread Taco Hoekwater
On 07/05/2010 11:44 AM, Marius wrote: On Fri, Jul 2, 2010 at 1:21 PM, Taco Hoekwatert...@elvenkind.com wrote: I think this will be a wasted effort. I predict that any future version of context that will be able to do syntax checking is going to be based on lua for the verification process,

Re: [dev-context] cont-en.xml

2010-07-02 Thread Wolfgang Schuster
Am 30.06.10 12:57, schrieb Marius: Hello, I think that the best way is to put command syntax description just before its definition in the context file. This way it will be easier to keep it always in sync with the code. And most important point here is that it must be in sync always. If it is,

Re: [dev-context] cont-en.xml

2010-07-02 Thread Peter Münster
On Fri, Jul 02 2010, Wolfgang Schuster wrote: The idea is not bad but who is going to do this? Hans implemented in mkiv the function to check assignments list of valid keys but this function isn't used because nobody writes the necessary lists which contexts requires to do these checks and

Re: [dev-context] cont-en.xml

2010-07-02 Thread Taco Hoekwater
On 07/02/2010 11:28 AM, Peter Münster wrote: On Fri, Jul 02 2010, Wolfgang Schuster wrote: The idea is not bad but who is going to do this? Hans implemented in mkiv the function to check assignments list of valid keys but this function isn't used because nobody writes the necessary lists which

Re: [dev-context] cont-en.xml

2010-06-23 Thread Peter Münster
On Wed, Jun 16 2010, Wolfgang Schuster wrote: i plan to update cont-en.xml with changes in mkiv (new keys and commands) Hello Wolfgang, Since Hans said documentation about tex can best be done in tex, I've put my ideas into some files here: http://pmrb.free.fr/tmp/context-commands/ What do

Re: [dev-context] cont-en.xml

2010-06-23 Thread Aditya Mahajan
On Wed, 16 Jun 2010, Wolfgang Schuster wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate definition file for mkiv which contains the extra keys for the commands (e.g.

Re: [dev-context] cont-en.xml

2010-06-18 Thread Hans Hagen
On 17-6-2010 3:11, Mojca Miklavec wrote: On Wed, Jun 16, 2010 at 19:56, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate

Re: [dev-context] cont-en.xml

2010-06-18 Thread Mojca Miklavec
On Fri, Jun 18, 2010 at 10:58, Hans Hagen wrote: On 17-6-2010 3:11, Mojca Miklavec wrote: Even though the fact that mkii is frozen might be true, most of valid options are still missing in those xml files. well, 'most' is not fair I'm sorry, I probably wanted to say that most of

Re: [dev-context] cont-en.xml

2010-06-17 Thread Hans Hagen
On 16-6-2010 7:56, Wolfgang Schuster wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate definition file for mkiv which contains the extra keys for the commands (e.g.

Re: [dev-context] cont-en.xml

2010-06-17 Thread Hans Hagen
On 16-6-2010 7:56, Wolfgang Schuster wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate definition file for mkiv which contains the extra keys for the commands (e.g.

Re: [dev-context] cont-en.xml

2010-06-17 Thread Mojca Miklavec
On Wed, Jun 16, 2010 at 19:56, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate definition file for mkiv which contains the

Re: [dev-context] cont-en.xml

2010-06-17 Thread Wolfgang Schuster
Am 17.06.10 15:11, schrieb Mojca Miklavec: On Wed, Jun 16, 2010 at 19:56, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a

[dev-context] cont-en.xml

2010-06-16 Thread Wolfgang Schuster
Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate definition file for mkiv which contains the extra keys for the commands (e.g. sectionsegments for \setuphead) and use the current

Re: [dev-context] cont-en.xml / unique keys

2008-12-23 Thread Taco Hoekwater
Patrick Gundlach wrote: Hi, (see setupinterlinespace2 for example, it has variant 2 but there is no setupinterlinespace2 with variant 1). IIRC, that trailing 2 in setupinterlinespace2 was just added due to my misunderstanding of how \showsetup works. Best wishes, Taco

[dev-context] cont-en.xml questions

2008-12-21 Thread Patrick Gundlach
Hi, in cont-en.xml there are two places that are unusal 1) cd:inherit with optional=no: cd:command name=setupbodyfontenvironment file=font-ini.tex category=font s cd:sequence cd:string value=setupbodyfontenvironment/ /cd:sequence cd:arguments cd:keywords n=1

[dev-context] cont-en.xml / unique keys

2008-12-21 Thread Patrick Gundlach
Hi, could we add some unique key to the commands? That way we could have a more reliable way to know which command is which. It is useful when you use cd:inherit and refer to a command, such as color (which can be an environment or a standalone command) or commands with variants. It even removes

Re: [dev-context] cont-en.xml / unique keys

2008-12-21 Thread Hans Hagen
Patrick Gundlach wrote: Hi, could we add some unique key to the commands? That way we could have a more reliable way to know which command is which. It is useful when you use cd:inherit and refer to a command, such as color (which can be an environment or a standalone command) or commands with

Re: [dev-context] cont-en.xml and alike

2008-04-23 Thread Hans Hagen
Patrick Gundlach wrote: Hi, could this: symalign references symalign, which is not defined. cd:parameter name=symalign cd:resolve name=symalign/ /cd:parameter in setupitemgroup, line 6072. and cd:keywords optional=yes cd:constant name=lefttext/

Re: [dev-context] cont-en.xml and alike

2008-04-20 Thread Patrick Gundlach
Hi, So you also use the advanced feature with the cd:define keys? I recently came across a problem there, but I can't remember which it was, I'll try and find out again. symalign references symalign, which is not defined. cd:parameter name=symalign cd:resolve name=symalign/

Re: [dev-context] cont-en.xml and alike

2008-04-20 Thread Taco Hoekwater
Patrick Gundlach wrote: Hi, So you also use the advanced feature with the cd:define keys? I recently came across a problem there, but I can't remember which it was, I'll try and find out again. symalign references symalign, which is not defined. cd:parameter name=symalign

Re: [dev-context] cont-en.xml and alike

2008-04-19 Thread Hans Hagen
Patrick Gundlach wrote: Hi, how is cont-en.xml and the related files currently maintained? Is this file created of some other file or is it updated manually? manual (it would make sense to merge it in the sources but ..) What are the current applications that use the xml-files? reference