From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17553 Path: main.gmane.org!not-for-mail From: olivier Turlier Newsgroups: gmane.comp.tex.context Subject: floats pb in a list Date: Fri, 17 Dec 2004 00:23:40 +0100 Message-ID: <41C218FC.9010003@free.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030603070506000701030505" X-Trace: sea.gmane.org 1103239441 32155 80.91.229.6 (16 Dec 2004 23:24:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2004 23:24:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 17 00:23:51 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cf4yN-0003vE-00 for ; Fri, 17 Dec 2004 00:23:51 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F70E127BC; Fri, 17 Dec 2004 00:23:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13173-04; Fri, 17 Dec 2004 00:23:44 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 317EC1279F; Fri, 17 Dec 2004 00:23:44 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DABFB1279F for ; Fri, 17 Dec 2004 00:23:41 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13086-04 for ; Fri, 17 Dec 2004 00:23:40 +0100 (CET) Original-Received: from postfix3-2.free.fr (unknown [213.228.0.169]) by ronja.ntg.nl (Postfix) with ESMTP id C5E4012792 for ; Fri, 17 Dec 2004 00:23:40 +0100 (CET) Original-Received: from [127.0.0.1] (stjust-3-82-225-94-181.fbx.proxad.net [82.225.94.181]) by postfix3-2.free.fr (Postfix) with ESMTP id 282C6C177 for ; Fri, 17 Dec 2004 00:23:40 +0100 (CET) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: ntg X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17553 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17553 This is a multi-part message in MIME format. --------------030603070506000701030505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi contexers, I try writing step by step howtos for Autocad courses. I've borrowed (one more time) Hans example code written around p83 in cont-eni.pdf for combined items, and rename definitions. I'm unable to get correct float placement in a such list, even with small figures. On each new page, the float move towards topleft, above it's "anchor". Thanks for any answers. -- Olivier TURLIER --------------030603070506000701030505 Content-Type: text/plain; name="pb-howto.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pb-howto.tex" %pb-howto.tex \setupoutput [pdftex] \useregime[il1] \enableregime[il1] \useencoding[ffr] \usetypescript[palatino][texnansi] \setupbodyfont[palatino,rm,10pt] \definepapersize [cours] [width=\dimexpr(\paperwidth-.05\paperwidth), height=\dimexpr(\paperheight-.05\paperheight)] \setuppapersize [cours] [A4] \setuplayout [top=6mm,topdistance=6mm, bottom=6mm,bottomdistance=18mm, topspace=18mm, height=263mm,%middle header=6mm,headerdistance=6mm, footer=6mm,footerdistance=18mm, bakspace=46mm,%cutspace=50mm, width=164mm,%middle leftmargin=22mm,leftmargindistance=4mm, leftedge=5mm,leftedgedistance=5mm, rightmargin=28mm,rightmargindistance=4mm, rightedge=6mm,rightedgedistance=5mm %,grid=yes ] % \setuptolerance [verytolerant,stretch] \setuppagenumbering[alternative=doublesided] % \setupfloats[location=middle] \definefloat [etape] [figures] \defineparagraphs [Etape] [n=2,rule=off,align=lohi] \setupparagraphs [Etape] [2] [width=.5\textwidth] \defineenumeration [Explication] [location=left,text=,width=3em,before=,after=] \starttext \chapter[]{One} Some introduction text \section[]{two} Some longer introduction text \section[]{three} \startEtape \startExplication \dorecurse{2}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{3}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{4}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{5}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{6}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{7}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \stoptext --------------030603070506000701030505 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 --------------030603070506000701030505--