ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: suggestions for MKIV
Date: Wed, 19 Aug 2009 16:17:12 +0200	[thread overview]
Message-ID: <4A8C0968.7040602@wxs.nl> (raw)
In-Reply-To: <alpine.LNX.2.00.0908191542240.12903@gaston.couberia.bzh>

Peter Münster wrote:
> On Wed, 19 Aug 2009, Wolfgang Schuster wrote:
> 
>>> Since there is no more need, to keep compatibility with MKII (there are
>>> already a lot of differences), I suggest - for the benefit of beginners -
>>> to change at least 2 things:
>>>
>>> - let \framed or \externalfigure behave like \parbox and \includegraphics
>>> in LaTeX, i.e. no more need to put \dontleavehmode before the command
>>> (the current behaviour is just not very intuitive...)
>> no, no and no!
>>
>> \starttext
>> \placefigure{centered?}{\framed{vmode}}
>> \placefigure{centered?}{\dontleavehmode\framed{hmode}}
>> \stoptext
> 
> Hello Wolfgang,
> 
> I remember well your example. And again, it's more intuitive, if
> 
>                \placefigure{centered?}{test}
> and
>                \placefigure{centered?}{\framed{test}}
> and
>                \placefigure{centered?}{test \framed{test} test}
> 
> would behave the *same* way.
> 
> 
> There is no real problem for *me*, but it's very difficult to explain to a
> beginner (often coming from LaTeX), that here and there, a \dontleavehmode

\framed starts with a \bgroup which makes it possible to do

\setbox\vbox\framed

so we cannot change that without breaking things


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


      reply	other threads:[~2009-08-19 14:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 12:41 Peter Münster
2009-08-19 12:49 ` Taco Hoekwater
2009-08-19 13:40   ` Hans Hagen
2009-08-19 12:58 ` Wolfgang Schuster
2009-08-19 13:53   ` Peter Münster
2009-08-19 14:17     ` Hans Hagen [this message]

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=4A8C0968.7040602@wxs.nl \
    --to=pragma@wxs.nl \
    --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).