ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions about \starttext
@ 2018-03-20 11:43 Tomas Hala
  2018-04-02 18:39 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Hala @ 2018-03-20 11:43 UTC (permalink / raw)
  To: Mailing list ConTeXt

Hi all,

doing some tests I discovered two interesting facts.

The first is that commands \starttext and \stoptext do not behave as a group.

Minimal example (tested on TL2015, TL2016, TL2017, current CTX from the Garden):

\starttext
text
  \starttext
  \bf text 
  \stoptext
text  % this text is in bold, too.
\stoptext

Is this the expected behaviour, or not? 

The second interesting thing is that the unbalanced document is compiled without protests:

Minimal example #1 (tested on TL2015, TL2016, TL2017, current CTX from the Garden):

\starttext
text			% in this case, the "text" is shipped out

Minimal example #2 (tested on TL2015, TL2016, TL2017, current CTX from the Garden):

text			% in this case, the "text" is not shipped out
\stoptext

If this is ok, it does not correspond to our garden wiki
(http://wiki.contextgarden.net/Command/starttext):

"The first command takes care of a number of initializations, and the last
command tells TEX that processing can stop. When this command is left out
TEX will display a * (a star) on the command line at the end of the job. TEX
will expect a command, for example \end."


Wishes,

Tomáš




                                         Tomáš Hála
------------------------------------------------------------------------
Mendel's University of Agriculture and Forestry,
Faculty of Business and Economics, Department of Informatics
------------------------------------------------------------------------
Mendelova zemědělská a lesnická univerzita, Provozně ekonomická fakulta,
Ústav informatiky, Zemědělská 5, CZ-613 00 Brno,  tel. +420 545 13 22 28
------------------------------------------------------------------------
http://www.mendelu.cz/~thala


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-15  8:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20 11:43 Questions about \starttext Tomas Hala
2018-04-02 18:39 ` Wolfgang Schuster
2018-04-02 22:02   ` John Culleton
2018-04-03  7:12     ` Hans Hagen
2018-04-15  8:54       ` Tomas Hala
2018-04-02 22:03   ` John Culleton

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