ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \inmargin followed by \startlines = alignment fault?
@ 2009-05-14  5:26 Corsair
  2009-05-14  7:11 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Corsair @ 2009-05-14  5:26 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 785 bytes --]

Hi guys,

I find that the `lines' environment (or description, itemize, etc.)
after text in margin does not align right.  Consider the following
code:

\starttext
\inmargin{What I want}
First line \crlf
Second line

\vskip 1cm

\inmargin{What it renders}
\startlines
  First line
  Second line
\stoplines
\stoptext

The \crlf approach is the effect I want while the `lines' approach
fails to do it.  So is it a feature or a bug?  Or I understand
something totally wrong?  I know I can put the \inmargin in the
`lines' environment, but this time I really need it outside.

Thanks.

Corsair
-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: \inmargin followed by \startlines = alignment fault?
  2009-05-14  5:26 \inmargin followed by \startlines = alignment fault? Corsair
@ 2009-05-14  7:11 ` Hans Hagen
  2009-05-14  8:14   ` Corsair
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2009-05-14  7:11 UTC (permalink / raw)
  To: ntg-context

Corsair wrote:
> Hi guys,
> 
> I find that the `lines' environment (or description, itemize, etc.)
> after text in margin does not align right.  Consider the following
> code:
> 
> \starttext
> \inmargin{What I want}
> First line \crlf
> Second line
> 
> \vskip 1cm
> 
> \inmargin{What it renders}
> \startlines
>   First line
>   Second line
> \stoplines
> \stoptext
> 
> The \crlf approach is the effect I want while the `lines' approach
> fails to do it.  So is it a feature or a bug?  Or I understand
> something totally wrong?  I know I can put the \inmargin in the
> `lines' environment, but this time I really need it outside.

in that case you can try \margintext {...} which saves the note and 
flushes it later


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: \inmargin followed by \startlines = alignment fault?
  2009-05-14  7:11 ` Hans Hagen
@ 2009-05-14  8:14   ` Corsair
  0 siblings, 0 replies; 3+ messages in thread
From: Corsair @ 2009-05-14  8:14 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 619 bytes --]

On Thu, May 14, 2009 at 09:11:04AM +0200, Hans Hagen wrote:
> Corsair wrote:
> > Hi guys,
> > 
> > I find that the `lines' environment (or description, itemize, etc.)
> > after text in margin does not align right.  Consider the following
> > code:
> 
> in that case you can try \margintext {...} which saves the note and 
> flushes it later

Wow~  It works.  Thank you very much!  I should read the manual more
carefully next time :-p.

-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2009-05-14  8:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14  5:26 \inmargin followed by \startlines = alignment fault? Corsair
2009-05-14  7:11 ` Hans Hagen
2009-05-14  8:14   ` Corsair

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