ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* framed starts a paragraph...
@ 2005-01-03 16:33 Adam Lindsay
  2005-01-03 16:44 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2005-01-03 16:33 UTC (permalink / raw)


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

hi all.

What's happening here?

\starttext
hello world.\par
\framed{hello} world.\par
hello \framed{world}.\par
\stoptext

It looks like an extra \par is inserted after the first \framed.
Is this new? (Using latest beta.)

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[-- Attachment #2: framed-weird.pdf --]
[-- Type: application/pdf, Size: 4946 bytes --]

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: framed starts a paragraph...
  2005-01-03 16:33 framed starts a paragraph Adam Lindsay
@ 2005-01-03 16:44 ` Hans Hagen
  2005-01-03 21:10   ` Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2005-01-03 16:44 UTC (permalink / raw)


Adam Lindsay wrote:

> \starttext
> hello world.\par
> \framed{hello} world.\par
> hello \framed{world}.\par
> \stoptext
> 
> It looks like an extra \par is inserted after the first \framed.
> Is this new? (Using latest beta.)

this one of those tex side effects (\framed is a vbox)

hello \dontleavehmode \framed

(beware, \indent and \leavevmode can have side effects)

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.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: framed starts a paragraph...
  2005-01-03 16:44 ` Hans Hagen
@ 2005-01-03 21:10   ` Adam Lindsay
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2005-01-03 21:10 UTC (permalink / raw)


Hans Hagen said this at Mon, 3 Jan 2005 17:44:05 +0100:

>this one of those tex side effects (\framed is a vbox)
>
>hello \dontleavehmode \framed

Okay, I came across it when testing my export format. I'll not worry
about it, as it's a weird case. :/
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2005-01-03 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-03 16:33 framed starts a paragraph Adam Lindsay
2005-01-03 16:44 ` Hans Hagen
2005-01-03 21:10   ` Adam Lindsay

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