ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* annotation MODULE BUG
@ 2011-11-03 22:44 Idris Samawi Hamid ادريس   سماوي حامد
  2011-11-03 23:01 ` Idris Samawi Hamid ادريس   سماوي حامد
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-03 22:44 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2011-11-05  3:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-03 22:44 annotation MODULE BUG Idris Samawi Hamid ادريس   سماوي حامد
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 ادريس   سماوي حامد

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