From: Willi Egger <w.egger@boede.nl>
Subject: Re: side figure and typing
Date: Fri, 23 Jul 2004 21:14:09 +0200 [thread overview]
Message-ID: <41016381.50701@boede.nl> (raw)
In-Reply-To: <60896.80.58.0.46.1090577540.squirrel@bitmail.bitmailer.com>
Hi,
If you place the 5th parameter in a buffer, it works with the following
version of ConTeXt and pdfTeX.
pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
ConTeXt ver: 2004.6.30 (beta)
\startbuffer[test]
\starttyping
pack .ok .cancel .help -side top
\stoptyping
\stopbuffer
\starttext
\SideFigure{right}{pack2}{figure.jpg}{0.25}
{
\getbuffer[test]
}
\stoptext
kind regards Willi
jimarin@bayesinf.com wrote:
> Hi all !
>
> let us imagine we have defined the following command:
>
> \def\SideFigure#1#2#3#4#5%
> {
> \placefigure[#1]{#2}{\externalfigure[#3][width=#4\makeupwidth]}
> #5
> }
>
> which can be used to put a figure aside a companion text...
>
> but, what happens if the text is to be typed... ??
>
> I guess this won't work:
>
> \SideFigure{right}{pack2}{../figures/tcltk/pack2.jpg}{0.25}
> {
> \starttyping
> pack .ok .cancel .help -side top
> \stoptyping
> }
>
> How can I make it to work?
>
> thanks !
>
> -------------------------------------------------
> Jose Ignacio Marín Alberdi
>
> Bayes Inference, S.A.
> c/ Gran Vía, Nº39, 5º, E-28013 MADRID
> Tfn (91) 532.74.40, Fax (91) 532.26.36
> -------------------------------------------------
> email: jimarin@bayesinf.com
> -------------------------------------------------
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2004-07-23 19:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 10:12 jimarin
2004-07-23 18:43 ` Hans Hagen Outside
2004-07-23 19:14 ` Willi Egger [this message]
2004-07-24 6:29 ` Hans Hagen Outside
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=41016381.50701@boede.nl \
--to=w.egger@boede.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).