From: Hans Hagen <pragma@wxs.nl>
Subject: Re: treat framed and externalfigure as characters
Date: Tue, 09 May 2006 22:53:36 +0200 [thread overview]
Message-ID: <44610150.6060200@wxs.nl> (raw)
In-Reply-To: <4460EBE1.1050104@elvenkind.com>
Taco Hoekwater wrote:
> Peter M�nster wrote:
>
>> Hello Taco and Hans,
>>
>> in http://context.literatesolutions.com/collector/89
>> you write
>> "Both Hans and me have documents that depend on \framed staying in
>> vertical mode."
>>
>> Could you give me an example please?
>>
>
> For instance in a recipe booklet, where one of the macros
> goes like this:
>
> \def\startrecipe[#1]%
> {\getparameters[Recipe]
> [Title=,Summary=,Image=none,#1]% ..
> \framed{\tfd \RecipeTitle}%
> \externalfigure[\RecipeImage]%
> {\bf\RecipeSummary}%
> \blank }
>
> I am not saying that that is the best way to write macros (and I
> certainly do not do it like that anymore) but changing the behaviour
> would break quite a lot of my existing documents, including some
> I have been payed for to do.
>
> Maybe Hans is willing to add a global switch that you can set at
> the top of your document(s).
>
> For Hans: Peter would like an implicit \dontleavehmode added to
> \framed and \externalfigure, so they behave more like characters
> (not like \hboxes).
>
as you say, a dangerous feature that would break much (keep in mind that
\framed is used all over the place)
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
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
prev parent reply other threads:[~2006-05-09 20:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-09 16:11 Peter Münster
2006-05-09 19:22 ` Taco Hoekwater
2006-05-09 20:19 ` Peter Münster
2006-05-09 21:07 ` Hans Hagen
2006-05-10 15:37 ` Peter Münster
2006-05-10 18:35 ` Hans Hagen
2006-05-09 20:53 ` 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=44610150.6060200@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).