Hello Hans, 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...) - let align=left|right behave correctly Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Hi Peter, Peter Münster wrote:
Hello Hans,
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...)
I have no very strong feelings about this one, but note that such a change would mean a small loss of functionality. (staying in vmode is not the same as \indent ...\par)
- let align=left|right behave correctly
Switching the meaning of keywords that have existed for more than a decade does not seem wise to me. If something has to be done, then I would prefer scratching those two works altogether. But practically, we already have align=flushleft|flushright and the manuals should document these instead of bare left|right. Best wishes, Taco
Taco Hoekwater wrote:
Hi Peter,
Peter Münster wrote:
Hello Hans,
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...)
I have no very strong feelings about this one, but note that such a change would mean a small loss of functionality. (staying in vmode is not the same as \indent ...\par)
indeed. changing externalgraphic might be harmless (btw, normally it's never uses inline) but changing \framed is to tricky as it's a core macro used all over the place
- let align=left|right behave correctly
Switching the meaning of keywords that have existed for more than a decade does not seem wise to me. If something has to be done, then I would prefer scratching those two works altogether.
But practically, we already have
align=flushleft|flushright
and the manuals should document these instead of bare left|right.
indeed ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 19.08.2009 um 14:41 schrieb Peter Münster:
Hello Hans,
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 Wolfgang
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 is needed. For beginner, this behaviour creates headaches! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
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 -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Peter Münster
-
Taco Hoekwater
-
Wolfgang Schuster