From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25764 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: setupframedtexts Date: Wed, 1 Feb 2006 17:57:27 +0100 Message-ID: References: <43E0A55B.6050507@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/mixed; boundary="===============0469632509==" X-Trace: sea.gmane.org 1138824563 599 80.91.229.2 (1 Feb 2006 20:09:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 20:09:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 01 21:09:20 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F4OI2-0007RQ-KA for gctc-ntg-context-518@m.gmane.org; Wed, 01 Feb 2006 21:09:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B81412825; Wed, 1 Feb 2006 21:09:18 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29352-04-6; Wed, 1 Feb 2006 21:09:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8096B12820; Wed, 1 Feb 2006 21:09:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F9E012820 for ; Wed, 1 Feb 2006 21:09:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29352-04-5 for ; Wed, 1 Feb 2006 21:09:11 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id E700C1281F for ; Wed, 1 Feb 2006 21:09:11 +0100 (CET) Original-Received: from 118-200.uva.surfnetthuis.nl [145.98.118.200] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k11K97901075; Wed, 1 Feb 2006 21:09:08 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <43E0A55B.6050507@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25764 Archived-At: --===============0469632509== Content-Type: multipart/alternative; boundary=Apple-Mail-1--555425745 --Apple-Mail-1--555425745 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed In reply to Taco's and Hans' suggestions: Setting offset=0pt did help somewhat, but not enough. The small example below gives me text protruding outside the frame to the right ("010" sticking out) and seems to give about as much whitespace on the left inside the frame. Without offset=0pt somewhat more sticks out: "00010". Changing the setup to "width=fit,offset=0pt" seems needed for the right edge, but on the left there is still some whitespace. Then I realized that typing might have a margin, adding \setuptyping [margin=no] finally did the trick. Thanks for your help. \starttext \placefigure{Sterk gestructureerde tekst}{% \startframedtext[frame=on] \starttyping * MYSTERY PROGRAM 00000010 * D.E.KNUTH 00000020 * THE ART OF COMPUTER PROGRAMMING, VOL I 00000030 \stoptyping \stopframedtext} yours sincerely, dr. H. van der Meer On Feb 1, 2006, at 13:11, Taco Hoekwater wrote: > Hans van der Meer wrote: >> I guess I am getting a left margin when I enclose some text in a >> \framedtext and want to get rid of it. > > Don't you need the offset parameter? > > Cheers, Taco > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --Apple-Mail-1--555425745 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
In reply to = Taco's and Hans' suggestions:

Setting offset=3D0pt did help = somewhat, but not enough.

The small example below gives me = text protruding outside the frame to the right ("010" sticking out) and = seems to give about as much whitespace on the left inside the = frame.
Without offset=3D0pt somewhat = more sticks out:=A0 = "00010".

Changing the setup to "width=3Dfit,offset=3D0pt" = seems needed for the right edge, but on the left there is still some = whitespace.
Then I realized that typing = might have a margin, adding \setuptyping[margin=3Dno] finally did the = trick.

Thanks for your help.

\starttext
\placefigure{Sterk gestructureerde = tekst}{%
\startframedtext[frame=3Don]
\starttyping
* MYSTERY = PROGRAM=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = 00000010
* D.E.KNUTH=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 00000020
* = THE ART OF COMPUTER PROGRAMMING, VOL I =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = 00000030
\stoptyping
\stopframedtext}

yours sincerely,
dr. H. van der Meer



On Feb 1, 2006, at 13:11, Taco Hoekwater = wrote:

=
Hans van der Meer = wrote:
I guess I am = getting a left margin when I enclose some text in a
\framedtext and want to get rid of it.
=

Don't you need the offset parameter?

Cheers, = Taco
ntg-context mailing list

= --Apple-Mail-1--555425745-- --===============0469632509== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0469632509==--