ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug or needs warning documentation
@ 2013-10-12 12:15 d.henman
  2013-10-13  0:48 ` Marco Patzer
  2013-10-13 10:54 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: d.henman @ 2013-10-12 12:15 UTC (permalink / raw)
  To: ntg-context



I found what I consider a bug in startcombination processing.

context version used: version: 2013.09.03 16:23

Examples:  1.) Good compilable source and 2.) source that fails

The bad thing about this is that one, at least checks and checks syntax for errors and the error in fact is simply a blank line, which doesn't stand out as a syntax error in my mind, expecially when white space is supposed to be ignored by tex/context in usual modes. 

Has this been noticed before?

---------------- The below works successfully
\starttext
\placefigure
    [here,none]
    [fig: reference tag] 
    {citation text}
{ \startcombination[1*2]
	 {\externalfigure[test-image.png][width=34mm]}{}

	 {\externalfigure[test-image.png][width=34mm]}{}
\stopcombination 
}
\stoptext

----------------  The below fails
\starttext
\placefigure
    [here,none]
    [fig: reference tag] 
    {citation text}
{ \startcombination[1*2]
	 {\externalfigure[test-image.png][width=34mm]}{}

	 {\externalfigure[test-image.png][width=34mm]}{}
\stopcombination 
}
\stoptext
------------------this failure prints out the following in the log file.
system          > tex > error on line 8 in file /tmp/minexp.mkiv: Missing { inserted ...
system          > tex > error on line 1 in file /tmp/minexp.mkiv: You can't use ` ...
system          > tex > error on line 2 in file /tmp/minexp.mkiv: Undefined control sequence ...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

))
! Emergency stop.

system          > tex > error on line 0 in file : Emergency stop ...

% END

___________________________________________________________________________________
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:[~2013-10-13 21:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-12 12:15 bug or needs warning documentation d.henman
2013-10-13  0:48 ` Marco Patzer
2013-10-13 20:50   ` Hans Hagen
2013-10-13 21:26     ` Marco Patzer
2013-10-13 21:34       ` Hans Hagen
2013-10-13 10:54 ` 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).