ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ctxparskip is "Undefined control sequence" in project only
@ 2012-01-16 10:34 Steffen Wolfrum
  2012-01-16 11:34 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2012-01-16 10:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

Hi,

here's another "Undefined control sequence" with recent beta:

when using \ctxparskip in a project's component (see attached) the following error below pops up.
(When running the same example as a stand-alone-file it works fine!)

Steffen


! Undefined control sequence.

system          > tex > error on line 7 in file chap_X.tex: Undefined control sequence ...

 1     %&context
 2     %!TEX TS-program = luatex
 3     \startcomponent chap_X
 4     \project MyProject
 5     
 6     
 7 >>  \startexdent
 8     
 9     test
10     
11     \stopexdent
12     
13     \stopcomponent
14     


\117>exdent:before ->\ctxparskip 
                                 4.6pt plus1pt minus1pt
\syst_startstop_start ...pparameter {#1}\c!before 
                                                  \bgroup \def \currentstart...




[-- Attachment #2: project_ctxparskip.zip --]
[-- Type: application/zip, Size: 10062 bytes --]

[-- Attachment #3: 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] 4+ messages in thread

* Re: ctxparskip is "Undefined control sequence" in project only
  2012-01-16 10:34 ctxparskip is "Undefined control sequence" in project only Steffen Wolfrum
@ 2012-01-16 11:34 ` Hans Hagen
  2012-01-16 12:01   ` Steffen Wolfrum
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2012-01-16 11:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

On 16-1-2012 11:34, Steffen Wolfrum wrote:
> Hi,
>
> here's another "Undefined control sequence" with recent beta:
>
> when using \ctxparskip in a project's component (see attached) the following error below pops up.
> (When running the same example as a stand-alone-file it works fine!)
>
> Steffen
>
>
> ! Undefined control sequence.
>
> system>  tex>  error on line 7 in file chap_X.tex: Undefined control sequence ...
>
>   1     %&context
>   2     %!TEX TS-program = luatex
>   3     \startcomponent chap_X
>   4     \project MyProject
>   5
>   6
>   7>>   \startexdent
>   8
>   9     test
> 10
> 11     \stopexdent
> 12
> 13     \stopcomponent
> 14
>
>
> \117>exdent:before ->\ctxparskip

Why don't you use \setupindenting? Setting some low level variable is 
pretty fragile and \ctxparskip is now a protected one i.e. even more low 
level. Actually, using it in the past was never a guaranteed to work 
option as other (synchronization) mechanisms could overload your setting.

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] 4+ messages in thread

* Re: ctxparskip is "Undefined control sequence" in project only
  2012-01-16 11:34 ` Hans Hagen
@ 2012-01-16 12:01   ` Steffen Wolfrum
  2012-01-16 12:27     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2012-01-16 12:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 16.01.2012 um 12:34 schrieb Hans Hagen:

> On 16-1-2012 11:34, Steffen Wolfrum wrote:
>> Hi,
>> 
>> here's another "Undefined control sequence" with recent beta:
>> 
>> when using \ctxparskip in a project's component (see attached) the following error below pops up.
>> (When running the same example as a stand-alone-file it works fine!)
>> 
>> Steffen
>> 
>> 
>> ! Undefined control sequence.
>> 
>> system>  tex>  error on line 7 in file chap_X.tex: Undefined control sequence ...
>> 
>>  1     %&context
>>  2     %!TEX TS-program = luatex
>>  3     \startcomponent chap_X
>>  4     \project MyProject
>>  5
>>  6
>>  7>>   \startexdent
>>  8
>>  9     test
>> 10
>> 11     \stopexdent
>> 12
>> 13     \stopcomponent
>> 14
>> 
>> 
>> \117>exdent:before ->\ctxparskip
> 
> Why don't you use \setupindenting? 


To have discrete control over stretch tolerances, both baseline and parskip: plus XXpt  minusYYpt

Steffen

___________________________________________________________________________________
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] 4+ messages in thread

* Re: ctxparskip is "Undefined control sequence" in project only
  2012-01-16 12:01   ` Steffen Wolfrum
@ 2012-01-16 12:27     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2012-01-16 12:27 UTC (permalink / raw)
  To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users

On 16-1-2012 13:01, Steffen Wolfrum wrote:
>
> Am 16.01.2012 um 12:34 schrieb Hans Hagen:
>
>> On 16-1-2012 11:34, Steffen Wolfrum wrote:
>>> Hi,
>>>
>>> here's another "Undefined control sequence" with recent beta:
>>>
>>> when using \ctxparskip in a project's component (see attached) the following error below pops up.
>>> (When running the same example as a stand-alone-file it works fine!)
>>>
>>> Steffen
>>>
>>>
>>> ! Undefined control sequence.
>>>
>>> system>   tex>   error on line 7 in file chap_X.tex: Undefined control sequence ...
>>>
>>>   1     %&context
>>>   2     %!TEX TS-program = luatex
>>>   3     \startcomponent chap_X
>>>   4     \project MyProject
>>>   5
>>>   6
>>>   7>>    \startexdent
>>>   8
>>>   9     test
>>> 10
>>> 11     \stopexdent
>>> 12
>>> 13     \stopcomponent
>>> 14
>>>
>>>
>>> \117>exdent:before ->\ctxparskip
>>
>> Why don't you use \setupindenting?
>
>
> To have discrete control over stretch tolerances, both baseline and parskip: plus XXpt  minusYYpt

you can always manipulate \parskip then


-----------------------------------------------------------------
                                           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] 4+ messages in thread

end of thread, other threads:[~2012-01-16 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-16 10:34 ctxparskip is "Undefined control sequence" in project only Steffen Wolfrum
2012-01-16 11:34 ` Hans Hagen
2012-01-16 12:01   ` Steffen Wolfrum
2012-01-16 12:27     ` Hans Hagen

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).