From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: inframed : makes a newline
Date: Thu, 21 Aug 2008 09:29:40 +0200 [thread overview]
Message-ID: <115224fb0808210029y582f9f1dr3ee68c8c63ccb4e4@mail.gmail.com> (raw)
In-Reply-To: <20080820183247.GA6260@gaston.couberia.bzh>
On Wed, Aug 20, 2008 at 8:32 PM, Peter Münster <pmlists@free.fr> wrote:
> On Wed, Aug 20 2008, Peter Rolf wrote:
>
>> A \framed at the beginning of a paragraph starts in vertical mode (stuff
>> is ordered vertically). The macro \dontleavehmode ensures, that the
>> horizontal mode is used.
>
> Hello,
>
> Could you now change this behaviour please in MKIV? I think MKIV does not
> need to be backward compatible everywhere.
You forgot cases where this behavious is wanted and you would use one
\framed block on top of another one.
> For beginners (especially former LaTeX users), this is a real headache:
> \framed, \externalfigure and so on start sometimes a new paragraph, and
> sometimes not. In my opinion, these commands should behave like a simple
> hbox.
But this is exactly what \framed does.
\starttext
\framed{text}
\framed{text}
\hbox{text}
\hbox{text}
\stoptext
What you want produce also unwanted results in other commands.
\starttext
\placefigure
{Centered?}
{\dontleavehmode\framed{No!}}
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-08-21 7:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 9:38 Eric DÉTREZ
2008-08-20 10:47 ` Peter Rolf
2008-08-20 18:32 ` Peter Münster
2008-08-21 7:29 ` Wolfgang Schuster [this message]
2008-08-21 9:23 ` Peter Münster
2008-08-21 9:48 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=115224fb0808210029y582f9f1dr3ee68c8c63ccb4e4@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).