From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79134 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: margintext and placefigure Date: Sun, 11 Nov 2012 20:15:29 +0100 Message-ID: <885AD3C8-A39A-42A2-A748-890BA7707390@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352661337 9760 80.91.229.3 (11 Nov 2012 19:15:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2012 19:15:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 11 20:15:48 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TXd0V-0003lJ-8M for gctc-ntg-context-518@m.gmane.org; Sun, 11 Nov 2012 20:15:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 57AC7102E5; Sun, 11 Nov 2012 20:15:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TsUJbfevegKo; Sun, 11 Nov 2012 20:15:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 84D0410203; Sun, 11 Nov 2012 20:15:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8BBE10203 for ; Sun, 11 Nov 2012 20:15:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VVOtG5f4LemP for ; Sun, 11 Nov 2012 20:15:31 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id B195B10201 for ; Sun, 11 Nov 2012 20:15:31 +0100 (CET) Original-Received: from mout.web.de (mout.web.de [212.227.17.12]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qABJFUIm000854 for ; Sun, 11 Nov 2012 20:15:30 +0100 Original-Received: from [10.0.1.4] ([78.94.219.187]) by smtp.web.de (mrweb103) with ESMTPA (Nemesis) id 0LiUKG-1SuzOv41yW-00dHPa for ; Sun, 11 Nov 2012 20:15:30 +0100 X-Mailer: Apple Mail (2.1283) X-Provags-ID: V02:K0:G3VgjHIjZIPLKvVjDyW763yqSzQ3c+mXWYpdVLL1Uzz GWlJkB10yxlASxiA0jW5CrdICErYOv7bNJv1kfeBC7nvShvQhe q8Tr5p2rrwJfR8LEO9opCN5oF6KIU0V4msLSCXBJxfceib3zAT ocnthOmqo4KMFseiSqdt6Ypf7lrKi9RBIdfKRBhgoO1lUs/p/P JbOxxziSdPxnynH5h+g1Q== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.12; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RImjfuTK - 0356ee81dbb2 - 20121111 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79134 Archived-At: Dear all. I am having some trouble with figure placement in the margin. If you use the following code, please try to comment out first one and then both '\input knuth'. Somehow, the figure is not placed in the margin, but the center of the page, if a page breaks occurs close by. Is there a way to avoid that and have the figure always placed in the margin? Thanks, Andy -- code starts --- \useMPlibrary[dum] % To get dummy figures \definepapersize[wissenschaft][width=170mm, height=240mm] \setuppapersize [wissenschaft] \setuplayout[topspace=40pt, header=0pt, headerdistance=0pt, height=560pt, footer=0pt, % backspace=42pt, leftmargin=0pt, width=280pt, rightmargindistance=20pt, rightmargin=100pt] \setupmargindata [margintext] [location=outer, width=100pt, stack=continue] \starttext % \chapter{One} \input tufte \input knuth \input knuth \section{Figures} % \margintext {\startplacefigure[ title={A small rectangle put in the margin.}] \externalfigure[dummy] \stopplacefigure} \input tufte \stoptext -- code ends --- background: I started working on my module (caesar) again, since the ipad is supposed to render mathml now. That means, I could try the context epub output with formulas on an actual device (cp. http://support.apple.com/kb/HT5321) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________