My apologies. XCode slipped (or left in) some +'s  and -'s that I failed to catch. Anyway, it is working now.

Many thanks!

Alan


On Tue, Jul 17, 2012 at 12:59 PM, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

Am 17.07.2012 um 18:55 schrieb Alan Bowen:

> Thanks, Wolfgang. I replaced the lines in strc-sec.mkiv with the one that you supplied and regenerated the formats. Now, I get the error message

I guess you did something wrong when you changed the command, the new definition of the command should be

\def\strc_sectioning_check_layout_yes
  {\page[\p_page]%
   \expandcheckedcsname\??headmarkyes{\headparameter\c!marking}\s!unknown
   \edef\p_header{\headparameter\c!header}%
   \ifx\p_header\empty \else
     \doifelselayouttextline\v!header{\normalexpanded{\setuplayouttext[\v!header][\c!state=\p_header]}}\donothing
   \fi
   \edef\p_text{\headparameter\c!text}%
   \ifx\p_text\empty \else
     \doifelselayouttextline\v!text  {\normalexpanded{\setuplayouttext[\v!text  ][\c!state=\p_text  ]}}\donothing
   \fi
   \edef\p_footer{\headparameter\c!footer}%
   \ifx\p_footer\empty \else
     \doifelselayouttextline\v!footer{\normalexpanded{\setuplayouttext[\v!footer][\c!state=\p_footer]}}\donothing
   \fi}

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
___________________________________________________________________________________