ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* margintext in mkii and mkiv
@ 2010-11-05  4:51 Vladimir Lomov
  2010-11-05 12:54 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Lomov @ 2010-11-05  4:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

Hi.

Consider the attached example. When compiled with mkii (texexec) I get
text in margin while if I compile the file with mkiv (context) I get
only text with nothing in margin.

I'm using context minimal:
$ context --version | grep version
MTXrun | current version: 2010.11.03 19:42

Did I miss something?

---
WBR, Vladimir Lomov

[-- Attachment #2: ex1.tex --]
[-- Type: application/x-tex, Size: 91 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: margintext in mkii and mkiv
  2010-11-05  4:51 margintext in mkii and mkiv Vladimir Lomov
@ 2010-11-05 12:54 ` Hans Hagen
  2010-11-06  9:01   ` Vladimir Lomov
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2010-11-05 12:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5-11-2010 5:51, Vladimir Lomov wrote:
> Hi.
>
> Consider the attached example. When compiled with mkii (texexec) I get
> text in margin while if I compile the file with mkiv (context) I get
> only text with nothing in margin.
>
> I'm using context minimal:
> $ context --version | grep version
> MTXrun | current version: 2010.11.03 19:42
>
> Did I miss something?

put this in cont-new.mkiv

\def\doflushmargincontents
   {\ifconditional\margintextcollected
      \expandafter\flushmargincontentsindeed
    \fi}

(when cleaning up status variables something got lost)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

* Re: margintext in mkii and mkiv
  2010-11-05 12:54 ` Hans Hagen
@ 2010-11-06  9:01   ` Vladimir Lomov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Lomov @ 2010-11-06  9:01 UTC (permalink / raw)
  To: Hans Hagen, General mailing list for ConTeXt users

** Hans Hagen [2010-11-05 13:54:06 +0100]:

> On 5-11-2010 5:51, Vladimir Lomov wrote:
>>Hi.
>>
>>Consider the attached example. When compiled with mkii (texexec) I get
>>text in margin while if I compile the file with mkiv (context) I get
>>only text with nothing in margin.
>>
>>I'm using context minimal:
>>$ context --version | grep version
>>MTXrun | current version: 2010.11.03 19:42
>>
>>Did I miss something?
 
> put this in cont-new.mkiv
> 
> \def\doflushmargincontents
>   {\ifconditional\margintextcollected
>      \expandafter\flushmargincontentsindeed
>    \fi}
Thanks Hans. (If I add them into cont-new.mkiv the file would be
overwritten next time when I run update procedure, is it right?)

> (when cleaning up status variables something got lost)
That's Ok.

I hope that these lines will in proper place in next beta, it's not
hurry.

-- 
If I am elected, the concrete barriers around the WHITE HOUSE will be
replaced by tasteful foam replicas of ANN MARGARET!
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2010-11-06  9:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05  4:51 margintext in mkii and mkiv Vladimir Lomov
2010-11-05 12:54 ` Hans Hagen
2010-11-06  9:01   ` Vladimir Lomov

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