ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Option margin with \placeblock
@ 2000-05-20 17:36 Berend de Boer
  2000-05-21 21:54 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Berend de Boer @ 2000-05-20 17:36 UTC (permalink / raw)


Hello All,

I tried to put a tabel in the margin, it did, but on the top of the page. Is
this option not working any more or is this by design? I want it next to my
text (if possible).

Groetjes,

Berend. (-:


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

* Re: Option margin with \placeblock
  2000-05-20 17:36 Option margin with \placeblock Berend de Boer
@ 2000-05-21 21:54 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-05-21 21:54 UTC (permalink / raw)
  Cc: ntg-context

At 07:36 PM 5/20/2000 +0200, Berend de Boer wrote:
>Hello All,
>
>I tried to put a tabel in the margin, it did, but on the top of the page. Is
>this option not working any more or is this by design? I want it next to my
>text (if possible).

Everything that does not work the way you want is of course by design -) 

There are two mechanisms: 

\startbuffer
\starttabulate[|||]
\NC test \NC test \NC \NR 
\NC test \NC test \NC \NR
\stoptabulate

\placetable[margin][tab:hm]{a useless table}{\getbuffer}

puts the table indeed in the margin, starting at the top. Actually this is
a separate layer. To be improved, etc etc. BTW, while testing I found out
that two succesive ones have suboptimal spacing. Is corrected. 

What you want is: 

\placetable[inleft][tab:hm]{a useless table}[\getbuffer]

Again, I found out that the spacing is suboptimal, so I patched it. I'll
send you the few lines needed. The [inmargin] directive produces some []
which is due to a low level change that never was reflected in this
particular macro. Repaired. 

So, you found me one bug and two ugly spacings. All repaired I hope.  

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

end of thread, other threads:[~2000-05-21 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-20 17:36 Option margin with \placeblock Berend de Boer
2000-05-21 21:54 ` Hans Hagen

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