ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: ctxparskip is "Undefined control sequence" in project only
Date: Mon, 16 Jan 2012 12:34:44 +0100	[thread overview]
Message-ID: <4F140B54.9010201@wxs.nl> (raw)
In-Reply-To: <F3CD2BFF-1443-4404-8B0F-A7BF47BA56B1@st.estfiles.de>

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
___________________________________________________________________________________


  reply	other threads:[~2012-01-16 11:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 10:34 Steffen Wolfrum
2012-01-16 11:34 ` Hans Hagen [this message]
2012-01-16 12:01   ` Steffen Wolfrum
2012-01-16 12:27     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F140B54.9010201@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=context@st.estfiles.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).