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

* Re: annotation MODULE BUG
  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 ادريس   سماوي حامد
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-03 23:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

lol, the all-caps for 'module bug' was an accident, sorry for the noise!

On Thu, 03 Nov 2011 16:44:52 -0600, Idris Samawi Hamid ادريس   سماوي حامد  
<ishamid@colostate.edu> wrote:

> Dear gang, especially Wolf-gang ;-)

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

* Re: annotation MODULE BUG
  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 17:07 ` annotation MODULE BUG Wolfgang Schuster
  3 siblings, 0 replies; 9+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-03 23:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 03 Nov 2011 16:44:52 -0600, Idris Samawi Hamid ادريس   سماوي حامد  
<ishamid@colostate.edu> wrote:

> The annotation module seems to cancel indentation, so the paragraph  
> after a note starts with no indentation.

More precisely,

The annotation module seems to cancel indentation, so the paragraph after  
a paragraph that contains a note starts with no indentation.

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

* Re: annotation MODULE BUG
  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 17:07 ` annotation MODULE BUG Wolfgang Schuster
  3 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2011-11-04  7:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2011-11-03 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي  
حامد:

> Dear gang, especially Wolf-gang ;-)

AFAIK a wolf gang is called a pack or pride ;-)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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

* Re: gangs (was: annotation MODULE BUG)
  2011-11-04  7:43 ` Henning Hraban Ramm
@ 2011-11-04  8:29   ` Alan Braslau
  2011-11-04 12:40     ` Henning Hraban Ramm
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Braslau @ 2011-11-04  8:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Nov 04, 2011 at 08:43:42AM +0100, Henning Hraban Ramm wrote:
> 
> Am 2011-11-03 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي  
> حامد:
> 
> > Dear gang, especially Wolf-gang ;-)
> 
> AFAIK a wolf gang is called a pack or pride ;-)
> 

One says a pack of wolves, a pride of lions,
a pod of whales, a flock of sheep, a school of fish,
a herd of cows, a swarm of bees, ...
and a gang of thugs :)

Alan
___________________________________________________________________________________
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

* Re: gangs (was: annotation MODULE BUG)
  2011-11-04  8:29   ` gangs (was: annotation MODULE BUG) Alan Braslau
@ 2011-11-04 12:40     ` Henning Hraban Ramm
  0 siblings, 0 replies; 9+ messages in thread
From: Henning Hraban Ramm @ 2011-11-04 12:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2011-11-04 um 09:29 schrieb Alan Braslau:

> On Fri, Nov 04, 2011 at 08:43:42AM +0100, Henning Hraban Ramm wrote:
>>
>> Am 2011-11-03 um 23:44 schrieb Idris Samawi Hamid ادريس  
>> سماوي
>> حامد:
>>
>>> Dear gang, especially Wolf-gang ;-)
>>
>> AFAIK a wolf gang is called a pack or pride ;-)
>>
>
> One says a pack of wolves, a pride of lions,
> a pod of whales, a flock of sheep, a school of fish,
a gaggle of geese,
> a herd of cows, a swarm of bees, ...
> and a gang of thugs :)

gang of TUGs or Thugs (TeX hugs)?

;-)

Greetlings,
Hraban (bird of a feather)
___________________________________________________________________________________
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

* Re: annotation MODULE BUG
  2011-11-03 22:44 annotation MODULE BUG Idris Samawi Hamid ادريس   سماوي حامد
                   ` (2 preceding siblings ...)
  2011-11-04  7:43 ` Henning Hraban Ramm
@ 2011-11-04 17:07 ` Wolfgang Schuster
  2011-11-04 21:33   ` Idris Samawi Hamid ادريس  سماوي حامد
  3 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-11-04 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 03.11.2011 um 23:44 schrieb Idris Samawi Hamid ادريس سماوي حامد:

> 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:

Fixed.

> The display=yes option brings back the indentation, but it creates another problem: whitespace.

This is the purpose if the display option, it should either end the paragraph or add a vertical skip which can be set with space before/spaceafter.

Wolfgang
___________________________________________________________________________________
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

* Re: annotation MODULE BUG
  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 ادريس   سماوي حامد
  0 siblings, 1 reply; 9+ messages in thread
From: Idris Samawi Hamid ادريس  سماوي حامد @ 2011-11-04 21:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users



On Fri, 04 Nov 2011 11:07:40 -0600, Wolfgang Schuster  
<schuster.wolfgang@googlemail.com> wrote:

> Fixed.

Hmmm:

========
This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332)
:
! LuaTeX error <main ctx instance>:1: attempt to index global 'thirddata'  
(a nil value)
stack traceback:
	<main ctx instance>:1: in main chunk.

system          > tex > error on line 21 in file marginindenting.tex:  
LuaTeX error  ...

11       [alternative=command,
12        % paragraph=yes,
13        % display=no,
14        % display=yes,
15        % spacebefore=0ex,
16        % spaceafter=0ex,
17        indenting={medium,yes},
18        command=\MymarginCommand]
19
20     \starttext
21 >>  \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. }
22
23     \dorecurse{4}{This is a test of the annotation module and the  
indenting mechanism. }
24
25     \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. }
26
27     \dorecurse{4}{This is a test of the annotation module and the  
indenting mechanism. }
28
29     \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. }
30
31     \dorecurse{4}{This is a test of the annotation module and the  
indenting mechanism. }


\annotation_parameters ... \v!horizontal \fi ", }}
                                                   \normalexpanded  
{\annotati...
\annotation_cmd_content ...2},#1,\c!content ={#3}]
                                                   \executeifdefined  
{annotat...
<to be read again>

l.21 ...ion module and the indenting mechanism. }
                                                   \dorecurse{2}{This is a  
te...
?
========

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shiʿi 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

* Re: annotation MODULE BUG
  2011-11-04 21:33   ` Idris Samawi Hamid ادريس  سماوي حامد
@ 2011-11-05  3:12     ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 0 replies; 9+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-11-05  3:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 04 Nov 2011 15:33:41 -0600, Idris Samawi Hamid ادريس  سماوي حامد  
<ishamid@colostate.edu> wrote:

>
>
> On Fri, 04 Nov 2011 11:07:40 -0600, Wolfgang Schuster  
> <schuster.wolfgang@googlemail.com> wrote:
>
>> Fixed.
>
> Hmmm:
>
> ========
> This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332)
> :
> ! LuaTeX error <main ctx instance>:1: attempt to index global  
> 'thirddata' (a nil value)
> stack traceback:
> 	<main ctx instance>:1: in main chunk.

Testing from home seems to work, I may have unzipped the files  
incorrectly... My apologies. Still, we should not get a luatex error even  
in the case of a missing file, just a tex error, so there may be something  
going on here anyway...

THANK YOU, Wolfgang and Hans, for all your help and advice!

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