ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Beta: bug in \setuphead[chapter]
@ 2012-01-03  5:41 Otared Kavian
  2012-01-03  7:38 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Otared Kavian @ 2012-01-03  5:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Hans, dear all,

My best wishes to all the community for this New Year!
With the latest beta, \setuphead[chapter] has a strange behavior: the order of two keys seems to be important…
More precisely

\setuphead
	[chapter]
	[header=high,
	align=middle
	]

results in an error (see below), while

\setuphead
	[chapter]
	[align=middle,
	header=high
	]

works as expected (I had a tough time to find the bug and this minimal example…).
Minimal example that does not work:

%%% begin bug-setuphead.tex
\setuphead
	[chapter]
	[header=high,
	align=middle
	]

\starttext
 \chapter{My chapter title}
 \input knuth
\stoptext
%%% end bug-setuphead.tex

The error message points to:

	\page_layouts_synchronize_element_indeed ...ounds 
                      						                            \else \ifx \previoustextst...
	\page_layouts_synchronize_element ...t_indeed {#1}
                                                  \fi 
	<inserted text> ..._element \currentlayoutelement 
                                                  \fi 
	\docommand ...=high]\the \everysetuplayoutelement 
                                                  
	\next1 #1,->\docommand {#1}
                           \syst_helpers_do_process_comma_item 
	\syst_helpers_do_process_comma_list ...rgument #1,
                            				                      ]\relax \global \advance \…


Best regards: OK
___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2012-01-03 13:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03  5:41 Beta: bug in \setuphead[chapter] Otared Kavian
2012-01-03  7:38 ` Wolfgang Schuster
2012-01-03 12:58   ` Otared Kavian
2012-01-03 13:05     ` Aditya Mahajan
2012-01-03 13:06     ` Wolfgang Schuster
2012-01-03 13:17       ` Otared Kavian

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