ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in \framed and \inframed
@ 2021-05-06 13:45 Johann Birnick
  2021-05-06 15:07 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Johann Birnick @ 2021-05-06 13:45 UTC (permalink / raw)
  To: ntg-context

There is a bug with \framed and related commands: If this is the first object in
a line, a linebreak is inserted! See the following example:


\starttext                                                                     

This \inframed{works} fine.

\inframed{But} this not.

\stoptext


Thank you,
Johann

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Bug in \framed and \inframed
  2021-05-06 13:45 Bug in \framed and \inframed Johann Birnick
@ 2021-05-06 15:07 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2021-05-06 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 6 May 2021, Johann Birnick wrote:

> There is a bug with \framed and related commands: If this is the first object in
> a line, a linebreak is inserted! See the following example:
> 
> 
> \starttext                                                                     
> 
> This \inframed{works} fine.
> 
> \inframed{But} this not.
> 
> \stoptext

https://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_after_some_commands.3F

Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-05-06 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 13:45 Bug in \framed and \inframed Johann Birnick
2021-05-06 15:07 ` Aditya Mahajan

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