From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21503 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: line break Date: Wed, 20 Jul 2005 14:02:22 +0200 Message-ID: <42DE3D4E.6070306@wxs.nl> References: <42D5748D.2060209@wxs.nl> <7ca589a651cd33aebd5a453616b23456@unibas.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1121861652 18152 80.91.229.2 (20 Jul 2005 12:14:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2005 12:14:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 20 14:14:11 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 1DvDSL-0008NN-Np for gctc-ntg-context-518@m.gmane.org; Wed, 20 Jul 2005 14:13:45 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E909C1280D; Wed, 20 Jul 2005 14:13:44 +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 32600-02-4; Wed, 20 Jul 2005 14:13:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62F6012807; Wed, 20 Jul 2005 14:13:40 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E2A71127D7 for ; Wed, 20 Jul 2005 14:13:30 +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 32711-01 for ; Wed, 20 Jul 2005 14:13:28 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 0905E127CD for ; Wed, 20 Jul 2005 14:13:27 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j6KCDO92006711 for ; Wed, 20 Jul 2005 14:13:24 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 47908314EA; Wed, 20 Jul 2005 13:18:14 +0200 (CEST) Original-Received: from [10.100.1.52] (unknown [10.100.1.52]) by server-1.pragma-net.nl (Postfix) with ESMTP id EEB3817AEB for ; Wed, 20 Jul 2005 11:18:12 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <7ca589a651cd33aebd5a453616b23456@unibas.ch> X-Virus-Scanned: ClamAV 0.86.1/984/Tue Jul 19 11:16:09 2005 on mailrelay01 X-Virus-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:21503 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21503 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 the =20 > 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 \p= ostponefootnotes % 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 -----------------------------------------------------------------