ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nico <nicolas.marsgui@libertysurf.fr>
Subject: comment flush?
Date: Mon, 28 Aug 2006 22:46:41 +0200	[thread overview]
Message-ID: <opte0hb3h09niby6@localhost> (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

                 reply	other threads:[~2006-08-28 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=opte0hb3h09niby6@localhost \
    --to=nicolas.marsgui@libertysurf.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).