From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: ntg-context@ntg.nl
Subject: annotation MODULE BUG
Date: Thu, 03 Nov 2011 16:44:52 -0600 [thread overview]
Message-ID: <op.v4d6s2tcpw6hmh@ishamid-pc> (raw)
Dear gang, especially Wolf-gang ;-)
The annotation module seems to cancel indentation, so the paragraph after
a note starts with no indentation. Regular inmargin etc does not have this
problem:
=============================
\usemodule[annotation]
\define[2]\MymarginCommand
{\inoutermargin[scope=local]{#2}}
\setupindenting[medium,next,yes]
\defineannotation
[mymargin]
[alternative=command,
% display=yes,
command=\MymarginCommand,
indentnext=yes]
\starttext
\dorecurse{2}{This is a test of the annotation module and the indenting
mechanism} \mymargin{This is a test of the annotation module and the
indenting mechanism} \dorecurse{2}{This is a test of the annotation module
and the indenting mechanism}
\dorecurse{4}{This is a test of the annotation module and the indenting
mechanism}
\dorecurse{2}{This is a test of the annotation module and the indenting
mechanism} \mymargin{This is a test of the annotation module and the
indenting mechanism} \dorecurse{2}{This is a test of the annotation module
and the indenting mechanism}
\dorecurse{4}{This is a test of the annotation module and the indenting
mechanism}
\dorecurse{2}{This is a test of the annotation module and the indenting
mechanism} \inmargin{This is a test of the annotation module and the
indenting mechanism} \dorecurse{2}{This is a test of the annotation module
and the indenting mechanism}
\dorecurse{4}{This is a test of the annotation module and the indenting
mechanism}
\dorecurse{2}{This is a test of the annotation module and the indenting
mechanism} \inmargin{This is a test of the annotation module and the
indenting mechanism} \dorecurse{2}{This is a test of the annotation module
and the indenting mechanism}
\dorecurse{4}{This is a test of the annotation module and the indenting
mechanism}
\stoptext
=============================
The display=yes option brings back the indentation, but it creates another
problem: whitespace.
Please advise, thnx in advance, and
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-11-03 22:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 22:44 Idris Samawi Hamid ادريس سماوي حامد [this message]
2011-11-03 23:01 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-03 23:21 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-04 7:43 ` Henning Hraban Ramm
2011-11-04 8:29 ` gangs (was: annotation MODULE BUG) Alan Braslau
2011-11-04 12:40 ` Henning Hraban Ramm
2011-11-04 17:07 ` annotation MODULE BUG Wolfgang Schuster
2011-11-04 21:33 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-05 3:12 ` Idris Samawi Hamid ادريس سماوي حامد
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=op.v4d6s2tcpw6hmh@ishamid-pc \
--to=ishamid@colostate.edu \
--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).