ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Broken Nightly (2012.07.10)
@ 2012-07-12 22:09 Kip Warner
  2012-07-13  7:16 ` Alan BRASLAU
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Kip Warner @ 2012-07-12 22:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1327 bytes --]

Hey Hans, Wolfgang, et al,

The nightly for 2012.07.10 appears to be broken. When attempting to
compile my book, I get the following.

! Argument of \PlaceSection has an extra }.
<inserted text> 
                \par 
<to be read again> 
                   }
\strc_rendering_inject_text ...ameter \c!command }
                                                  \ifx \p_command \empty
\di...
\strc_rendering_place_head_text ...ng_inject_text 
                                                  }\fi
\strc_rendering_stop_...
\strc_sectioning_handle ...dering_place_head_text 

\strc_sectioning_after_yes...
l.8     \title{Contents at a Glance}
                                    
E
? You want to edit file Makeup/Table_of_Contents.tex at line 8

<https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Makeup/Table_of_Contents.tex>

This is just a piece of advice from one programmer to another, but it
might be useful if you use some kind of unit testing framework with
ConTeXt since most of the nightlies it seems are usually broken for
somebody. You just need some test cases, e.g. people's documents that
draw on as many features as possible.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-12 22:09 Broken Nightly (2012.07.10) Kip Warner
@ 2012-07-13  7:16 ` Alan BRASLAU
  2012-07-13 16:01   ` Kip Warner
  2012-07-13  7:22 ` Wolfgang Schuster
  2012-07-13  7:42 ` Hans Hagen
  2 siblings, 1 reply; 13+ messages in thread
From: Alan BRASLAU @ 2012-07-13  7:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: kip

The subject of this ongoing string is not very informative
and indeed slightly unpleasant considering the efforts that
many contributors make towards the development of ConTeXt.

The present message is not intended to start any sort of debate;
it only represents a reaction to a latent feeling that I have
for some time now...

Alan
___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-12 22:09 Broken Nightly (2012.07.10) Kip Warner
  2012-07-13  7:16 ` Alan BRASLAU
@ 2012-07-13  7:22 ` Wolfgang Schuster
  2012-07-16  5:45   ` Kip Warner
  2012-07-13  7:42 ` Hans Hagen
  2 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2012-07-13  7:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 13.07.2012 um 00:09 schrieb Kip Warner:

> Hey Hans, Wolfgang, et al,
> 
> The nightly for 2012.07.10 appears to be broken. When attempting to
> compile my book, I get the following.

Use

\define[2]\PlaceSection
  {…}

or

\unexpanded\def\PlaceSection#1#2%
  {…}

in your environment file.

Wolfgang
___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-12 22:09 Broken Nightly (2012.07.10) Kip Warner
  2012-07-13  7:16 ` Alan BRASLAU
  2012-07-13  7:22 ` Wolfgang Schuster
@ 2012-07-13  7:42 ` Hans Hagen
  2012-07-13  7:49   ` luigi scarso
  2012-07-16  5:32   ` Kip Warner
  2 siblings, 2 replies; 13+ messages in thread
From: Hans Hagen @ 2012-07-13  7:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Kip Warner

On 13-7-2012 00:09, Kip Warner wrote:

> This is just a piece of advice from one programmer to another, but it
> might be useful if you use some kind of unit testing framework with
> ConTeXt since most of the nightlies it seems are usually broken for
> somebody. You just need some test cases, e.g. people's documents that
> draw on as many features as possible.

feel free to do the testing .. (there is an achive with test files but i 
have no time to run/check it each time)

concerning 'broken' ... that's what you have with betas ... most recent 
changes concern reshuffling code, better namespace protection, cleanup 
and speedup, etc, all part of the mkii -> mkiv move

the problem reported by you (as wolfgang already pointed out) relates to 
the fact that (from now on) such commands have to be defined 
unexpandable (due to a different way of checking them) .. also, some of 
these 'command' options will be (or are already) replaced by setups

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-13  7:42 ` Hans Hagen
@ 2012-07-13  7:49   ` luigi scarso
  2012-07-13 16:02     ` Kip Warner
  2012-07-16  5:32   ` Kip Warner
  1 sibling, 1 reply; 13+ messages in thread
From: luigi scarso @ 2012-07-13  7:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 722 bytes --]

On Fri, Jul 13, 2012 at 9:42 AM, Hans Hagen <pragma@wxs.nl> wrote:

> On 13-7-2012 00:09, Kip Warner wrote:
>
>  This is just a piece of advice from one programmer to another, but it
>> might be useful if you use some kind of unit testing framework with
>> ConTeXt since most of the nightlies it seems are usually broken for
>> somebody. You just need some test cases, e.g. people's documents that
>> draw on as many features as possible.
>>
>
> feel free to do the testing .. (there is an achive with test files but i
> have no time to run/check it each time)
>
> http://standalone.contextgarden.net/current/context/test/

and with rsync
rsync -avz rsync://contextgarden.net/standalone/current/context/test .


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1353 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-13  7:16 ` Alan BRASLAU
@ 2012-07-13 16:01   ` Kip Warner
  0 siblings, 0 replies; 13+ messages in thread
From: Kip Warner @ 2012-07-13 16:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 801 bytes --]

On Fri, 2012-07-13 at 09:16 +0200, Alan BRASLAU wrote:
> The subject of this ongoing string is not very informative
> and indeed slightly unpleasant considering the efforts that
> many contributors make towards the development of ConTeXt.
> 
> The present message is not intended to start any sort of debate;
> it only represents a reaction to a latent feeling that I have
> for some time now...
> 
> Alan

Hey Alan. I'm not sure what you mean. If you thought my post came off
poorly, I think you misunderstood. I wasn't criticizing anyone. I was
just pointing out that a recent nightly was broken. That happens all the
time - including with my own projects. It isn't personal.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-13  7:49   ` luigi scarso
@ 2012-07-13 16:02     ` Kip Warner
  0 siblings, 0 replies; 13+ messages in thread
From: Kip Warner @ 2012-07-13 16:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 349 bytes --]

On Fri, 2012-07-13 at 09:49 +0200, luigi scarso wrote:
> and with rsync
> rsync -avz rsync://contextgarden.net/standalone/current/context/test .

Thanks Luigi. I actually do test every new nightly and have been for
several months now.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-13  7:42 ` Hans Hagen
  2012-07-13  7:49   ` luigi scarso
@ 2012-07-16  5:32   ` Kip Warner
  2012-07-16 13:37     ` Hans Hagen
  1 sibling, 1 reply; 13+ messages in thread
From: Kip Warner @ 2012-07-16  5:32 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1109 bytes --]

On Fri, 2012-07-13 at 09:42 +0200, Hans Hagen wrote:
> feel free to do the testing .. (there is an achive with test files but i 
> have no time to run/check it each time)

I do test. I test every nightly that I can. My book is useful for that
because it draws on a lot of frequently fragile features.

> concerning 'broken' ... that's what you have with betas ... most recent 
> changes concern reshuffling code, better namespace protection, cleanup 
> and speedup, etc, all part of the mkii -> mkiv move

Ah I see.

> the problem reported by you (as wolfgang already pointed out) relates to 
> the fact that (from now on) such commands have to be defined 
> unexpandable (due to a different way of checking them) .. also, some of 
> these 'command' options will be (or are already) replaced by setups

Sorry, I'm a little lost. Are you referring to within the ConTeXt source
or do you mean that users need to modify their typesetting commands they
are using for their documents?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-13  7:22 ` Wolfgang Schuster
@ 2012-07-16  5:45   ` Kip Warner
  2012-07-16 11:59     ` Martin Bruchanov
  0 siblings, 1 reply; 13+ messages in thread
From: Kip Warner @ 2012-07-16  5:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

On Fri, 2012-07-13 at 09:22 +0200, Wolfgang Schuster wrote:
> Use
> 
> \define[2]\PlaceSection
>   {}
> 
> or
> 
> \unexpanded\def\PlaceSection#1#2%
>   {}
> 
> in your environment file.
> 
> Wolfgang

Thanks Wolfgang. As usual, your magic worked. =)

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-16  5:45   ` Kip Warner
@ 2012-07-16 11:59     ` Martin Bruchanov
  0 siblings, 0 replies; 13+ messages in thread
From: Martin Bruchanov @ 2012-07-16 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

On Sun, Jul 15, 2012 at 10:45:46PM -0700, Kip Warner wrote:
> On Fri, 2012-07-13 at 09:22 +0200, Wolfgang Schuster wrote:
> > Use
> > 
> > \define[2]\PlaceSection
> >   {}
> > 
> > or
> > 
> > \unexpanded\def\PlaceSection#1#2%
> >   {}
> > 
> > in your environment file.
> > 
> > Wolfgang
> 
> Thanks Wolfgang. As usual, your magic worked. =)

Thanks, I have not used \define or \unexpanded\def in my definitions
of macros too, so I  found this problem in my project too... 

-- 
Martin Bruchanov

Skype     :  bruxytronics
WWW       :  http://bruxy.regnet.cz/
GPG-Key   :  http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53)
Linked-In :  http://www.linkedin.com/in/bruxy
Google+   :  http://gplus.to/BruXy

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-16  5:32   ` Kip Warner
@ 2012-07-16 13:37     ` Hans Hagen
  2012-07-16 16:00       ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2012-07-16 13:37 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

On 16-7-2012 07:32, Kip Warner wrote:

> Sorry, I'm a little lost. Are you referring to within the ConTeXt source
> or do you mean that users need to modify their typesetting commands they
> are using for their documents?

only the occasional ones that hook into 'command=' ... they'd best be 
\unexpanded\def's

Hans


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-16 13:37     ` Hans Hagen
@ 2012-07-16 16:00       ` Wolfgang Schuster
  2012-07-16 16:23         ` Kip Warner
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2012-07-16 16:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Kip Warner


Am 16.07.2012 um 15:37 schrieb Hans Hagen:

> On 16-7-2012 07:32, Kip Warner wrote:
> 
>> Sorry, I'm a little lost. Are you referring to within the ConTeXt source
>> or do you mean that users need to modify their typesetting commands they
>> are using for their documents?
> 
> only the occasional ones that hook into 'command=' ... they'd best be \unexpanded\def's

Or

  \define[<number>]\somecommand

which creates also a protected command.

Wolfgang
___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Broken Nightly (2012.07.10)
  2012-07-16 16:00       ` Wolfgang Schuster
@ 2012-07-16 16:23         ` Kip Warner
  0 siblings, 0 replies; 13+ messages in thread
From: Kip Warner @ 2012-07-16 16:23 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 280 bytes --]

On Mon, 2012-07-16 at 18:00 +0200, Wolfgang Schuster wrote:
> Or
> 
>   \define[<number>]\somecommand
> 
> which creates also a protected command. 

Right. Thanks.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-07-16 16:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-12 22:09 Broken Nightly (2012.07.10) Kip Warner
2012-07-13  7:16 ` Alan BRASLAU
2012-07-13 16:01   ` Kip Warner
2012-07-13  7:22 ` Wolfgang Schuster
2012-07-16  5:45   ` Kip Warner
2012-07-16 11:59     ` Martin Bruchanov
2012-07-13  7:42 ` Hans Hagen
2012-07-13  7:49   ` luigi scarso
2012-07-13 16:02     ` Kip Warner
2012-07-16  5:32   ` Kip Warner
2012-07-16 13:37     ` Hans Hagen
2012-07-16 16:00       ` Wolfgang Schuster
2012-07-16 16:23         ` Kip Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).