ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* comment flush?
@ 2006-08-28 20:46 nico
  0 siblings, 0 replies; only message in thread
From: nico @ 2006-08-28 20:46 UTC (permalink / raw)


Hello,

There's a strange behaviour with comments when using  
\startcomment...\stopcomment. In some cases the comments are skipped. The  
comment always appears with \comment{...}.

Here is a summary of the tests I've done:

Case OK: comment starting a paragraph
Case KO: comment at the end of a single paragraph
Case OK: another paragraph follows the comment
Case KO: the comment is within a single paragraph
Case NOK: the comment appears (not in the last paragraph), but not in the  
middle of the paragraph, but at the end.


Case OK: comment starting a paragraph

\setupcolors[state=start]
\setupinteraction[state=start]
\setupinteractionscreen[options=max]

\starttext

\startcomment
blah blah
blah blah
blah blah
\stopcomment
\input tufte

\stoptext

Case KO: comment at the end of a single paragraph

\setupcolors[state=start]
\setupinteraction[state=start]
\setupinteractionscreen[options=max]

\starttext

\input tufte
\startcomment
blah blah
blah blah
blah blah
\stopcomment

\stoptext

Case OK: another paragraph follows the comment

\setupcolors[state=start]
\setupinteraction[state=start]
\setupinteractionscreen[options=max]

\starttext

\input tufte
\startcomment
blah blah
blah blah
blah blah
\stopcomment

\input tufte

\stoptext

Case KO: the comment is within a single paragraph

\setupcolors[state=start]
\setupinteraction[state=start]
\setupinteractionscreen[options=max]

\starttext

\input tufte
\startcomment
blah blah
blah blah
blah blah
\stopcomment
\input tufte

\stoptext

Case NOK: the comment appears, but not in the middle of the paragraph, but  
at the end

\setupcolors[state=start]
\setupinteraction[state=start]
\setupinteractionscreen[options=max]

\starttext

\input tufte
\startcomment
blah blah
blah blah
blah blah
\stopcomment
\input tufte

\input tufte
\stoptext

Regards,
BG

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-28 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-28 20:46 comment flush? nico

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