From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21521 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=F6rg_Hagmann?= Newsgroups: gmane.comp.tex.context Subject: Re: line break Date: Thu, 21 Jul 2005 10:25:53 +0200 Message-ID: <7beefc531e387a255b5652240ac664fc@unibas.ch> References: <42D5748D.2060209@wxs.nl> <7ca589a651cd33aebd5a453616b23456@unibas.ch> <42DE3D4E.6070306@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1121934506 13801 80.91.229.2 (21 Jul 2005 08:28:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2005 08:28:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 21 10:28:16 2005 Return-path: 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 1DvWPF-0007O1-Fv for gctc-ntg-context-518@m.gmane.org; Thu, 21 Jul 2005 10:27:49 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A39C127FC; Thu, 21 Jul 2005 10:27:49 +0200 (CEST) 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 17198-02; Thu, 21 Jul 2005 10:27:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 77E22127EB; Thu, 21 Jul 2005 10:26:00 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C47D127FC for ; Thu, 21 Jul 2005 10:25:59 +0200 (CEST) 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 17099-02 for ; Thu, 21 Jul 2005 10:25:58 +0200 (CEST) Original-Received: from balu1.urz.unibas.ch (balu1.urz.unibas.ch [131.152.1.51]) by ronja.ntg.nl (Postfix) with ESMTP id 36B3F127DD for ; Thu, 21 Jul 2005 10:25:55 +0200 (CEST) Original-Received: from [131.152.79.98] ([131.152.79.98]) by balu1.urz.unibas.ch (8.12.10/8.12.10) with ESMTP id j6L8PsRl004874 for ; Thu, 21 Jul 2005 10:25:54 +0200 In-Reply-To: <42DE3D4E.6070306@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.622) X-SMTP-Vilter-Version: 1.1.8 X-SMTP-Vilter-Virus-Backend: savse X-SMTP-Vilter-Status: clean X-SMTP-Vilter-savse-Virus-Status: clean X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21521 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21521 Thanks a lot! On Jul 20, 2005, at 2:02 PM, Hans Hagen wrote: > J=F6rg Hagmann wrote: > >> Some time ago, I inquired about the problem of an unwanted linebreak.=20= >> The linebreak is inserted after an \inothermargin command, if at the=20= >> same time there is a figure occupying the margin and some part of=20 >> the textarea on the opposite side (a type of figure here called =20 >> "vignette"). When I run the .tex file (see below) on the wiki, I get =20= >> the same result as on my computer. >> Could somebody tell me whether there is an abvious mistake in what I =20= >> did or that's the way it is, and nothing can be done (I include the =20= >> complete setuparea, just to be sure). > > > you can put this in cont-new.tex (after \unprotect); it solves the=20 > problem but i'm not that sure if it does not introduce new ones > > \def\dodoinmargin[#1][#2][#3][#4][#5]#6% > {\bgroup > \forgetall % otherwise sidefloat problems, added 2005/07/20 =20= > \postponefootnotes % group is (somehow) needed > \doifinsetelse\v!low{#4} > {\chardef\margincontentdisplacement\plusone} > {\chardef\margincontentdisplacement\zerocount}% > \doif\v!reverse{#2} > {\swapmacros\dorightmarginblock\doleftmarginblock}% > \processaction > [#1] > [ \v!left=3D>\let\next\doleftmarginblock, % no swapping > \v!right=3D>\let\next\dorightmarginblock, % no swapping > \v!inner=3D>\def\next{\doinmarginswapped > \dorightmarginblock\doleftmarginblock }, > \v!outer=3D>\def\next{\doinmarginswapped > \doleftmarginblock\dorightmarginblock}, > \s!unknown=3D>\ifdubbelzijdig > \doifcommonelse{+,-}{#4} > {\def\next{\doinmarginswapped > \dorightmarginblock\doleftmarginblock }} > {\def\next{\doinmarginswapped > \doleftmarginblock \dorightmarginblock}}% > \else > \let\next\doleftmarginblock > \fi]% > \next{#3}{#6}% > \rawpagereference\s!mar{#5}% naar binnen ! ! ! ! > \flushnotes > \egroup % don't forget the group > \ignorespaces} > > > ----------------------------------------------------------------- > 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 >