From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84187 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: outer floats on doublesided pages Date: Tue, 10 Sep 2013 08:23:56 +0200 Message-ID: <104B8316-B3DE-47BA-A556-2E5C18D9D9AA@hccnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/mixed; boundary="Apple-Mail=_7E0ACD66-1121-44B6-8C3B-C9D3C1E4FEC8" X-Trace: ger.gmane.org 1378794241 15855 80.91.229.3 (10 Sep 2013 06:24:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2013 06:24:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 10 08:24:05 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJHMr-0006mH-DN for gctc-ntg-context-518@m.gmane.org; Tue, 10 Sep 2013 08:24:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A41310223; Tue, 10 Sep 2013 08:22:23 +0200 (CEST) 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 pLhs+XnLFl9D; Tue, 10 Sep 2013 08:22:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 50B1A101EB; Tue, 10 Sep 2013 08:22:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59DF4101EB for ; Tue, 10 Sep 2013 08:22:19 +0200 (CEST) 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 CE4dx+wOb-Om for ; Tue, 10 Sep 2013 08:22:18 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id F01AE101E8 for ; Tue, 10 Sep 2013 08:22:16 +0200 (CEST) Original-Received: from cpsmtpb-ews02.kpnxchange.com (cpsmtpb-ews02.kpnxchange.com [213.75.39.5]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8A6Nu3U000716 for ; Tue, 10 Sep 2013 08:23:57 +0200 Original-Received: from cpsps-ews13.kpnxchange.com ([10.94.84.180]) by cpsmtpb-ews02.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 10 Sep 2013 08:23:56 +0200 X-Brand: 4ZrJ Original-Received: from CPSMTPM-CMT104.kpnxchange.com ([195.121.3.20]) by cpsps-ews13.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 10 Sep 2013 08:23:56 +0200 Original-Received: from [192.168.2.20] ([62.131.125.253]) by CPSMTPM-CMT104.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Tue, 10 Sep 2013 08:23:56 +0200 X-Mailer: Apple Mail (2.1283) X-OriginalArrivalTime: 10 Sep 2013 06:23:56.0091 (UTC) FILETIME=[53D988B0:01CEADEE] X-RcptDomain: ntg.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.75.39.5; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08KninUL6 - 72ca44c64341 - 20130910 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:84187 Archived-At: --Apple-Mail=_7E0ACD66-1121-44B6-8C3B-C9D3C1E4FEC8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Dear all, I have problems with the placement of floats. I need them to be placed = in the outer edge of the text, but Context puts them in the middle of = the page. The outer, inner, outeredge, inneredge, commands do not work. = Right and left do work. Preferably the criterium option should also work, e.g. criterium=3D0.67. A minimal test file is attached. Try it out with a dummy, or with cow = picture, or with any other picture of your liking. I updated my context installation today to a b=E8ta version. The version = is: 2013.08.30 02.05. All help is welcome! Many thanks in advance, Robert --Apple-Mail=_7E0ACD66-1121-44B6-8C3B-C9D3C1E4FEC8 Content-Disposition: attachment; filename=tmp1.tex Content-Type: application/octet-stream; x-mac-type=54455854; x-unix-mode=0644; name="tmp1.tex" Content-Transfer-Encoding: quoted-printable %engine=3Dluatex=0A%\enableregime[utf8]=0A\setuppapersize[A4][A4]=0A=0A= \setuppagenumbering[alternative=3Ddoublesided,location=3Dfooter]=0A=0A= \definefloat[edgefigure][figure]=0A=0A\setupfloat=0A=20=20[edgefigure]=0A= =20=20[leftmargindistance=3D-\outercombitotal,=0A=20=20=20= rightmargindistance=3D-\outercombitotal,=0A=20=20=20= default=3D{right,none,low,high}]=0A=0A= \setupcaption[edgefigure][number=3Dno]=0A=0A= %\setupexternalfigures[directory=3D{./../../MOP}]=0A=0A= \useexternalfigure[cow][./maatschstatus.jpg]=0A=0A= %\useexternalfigure[cow][./cow.pdf]=0A=0A\starttext=0A=0A= \startsection[title=3D{insight},reference=3Dinsight]=0A=0A= \placeedgefigure[][]{}{\framed[frame=3Doff]{\externalfigure[cow][scale=3D1= 50]}}=0AWhen=20the=20first=20volume=20of=20Donald=20Knuth's=20The=20Art=20= of=20Computer=20Programming=20was=20published=20in=201969,=20it=20was=20= typeset=20using=20hot=20metal=20type=20set=20by=20a=20Monotype=20= Corporation=20typecaster=20with=20a=20hot=20metal=20typesetting=20= machine=20from=20the=2019th=20century=20which=20produced=20a=20"good=20= classic=20style"=20appreciated=20by=20Knuth.=20When=20the=20second=20= edition=20of=20the=20second=20volume=20was=20published,=20in=201976,=20= the=20whole=20book=20had=20to=20be=20typeset=20again=20because=20the=20= Monotype=20technology=20had=20been=20largely=20replaced=20by=20= photographic=20techniques,=20and=20the=20original=20fonts=20were=20no=20= longer=20available.[4]=20When=20Knuth=20received=20the=20galley=20proofs=20= of=20the=20new=20book=20on=2030=20March=201977,=20he=20found=20them=20= awful.[5]=20Around=20that=20time,=20Knuth=20saw=20for=20the=20first=20= time=20the=20output=20of=20a=20high-quality=20digital=20typesetting=20= system,=20and=20became=20interested=20in=20digital=20typography.=20The=20= disappointing=20galley=20proofs=20gave=20him=20the=20final=20motivation=20= to=20solve=20the=20problem=20at=20hand=20once=20and=20for=20all=20by=20= designing=20his=20own=20typesetting=20system.=20On=2013=20May=201977,=20= he=20wrote=20a=20memo=20to=20himself=20describing=20the=20basic=20= features=20of=20TeX.[6]=0A=0A= \placeedgefigure[][]{}{\framed[frame=3Doff]{\externalfigure[cow][scale=3D2= 50]}}=0AHe=20planned=20to=20finish=20it=20on=20his=20sabbatical=20in=20= 1978,=20but=20as=20it=20happened=20the=20language=20was=20not=20frozen=20= until=201989,=20more=20than=20ten=20years=20later.=20Guy=20Steele=20= happened=20to=20be=20at=20Stanford=20during=20the=20summer=20of=201978,=20= when=20Knuth=20was=20developing=20his=20first=20version=20of=20TeX.=20= When=20Steele=20returned=20to=20MIT=20that=20autumn,=20he=20rewrote=20= TeX's=20I/O=20to=20run=20under=20the=20ITS=20operating=20system.=20The=20= first=20version=20of=20TeX=20was=20written=20in=20the=20SAIL=20= programming=20language=20to=20run=20on=20a=20PDP-10=20under=20Stanford's=20= WAITS=20operating=20system.=20For=20later=20versions=20of=20TeX,=20Knuth=20= invented=20the=20concept=20of=20literate=20programming,=20a=20way=20of=20= producing=20compilable=20source=20code=20and=20cross-linked=20= documentation=20typeset=20in=20TeX=20from=20the=20same=20original=20= file.=20The=20language=20used=20is=20called=20WEB=20and=20produces=20= programs=20in=20DEC=20PDP-10=20Pascal.=0A=0A=0A= \placeedgefigure[][]{}{\framed[frame=3Doff]{\externalfigure[cow][scale=3D2= 50]}}=0AWhen=20the=20first=20volume=20of=20Donald=20Knuth's=20The=20Art=20= of=20Computer=20Programming=20was=20published=20in=201969,=20it=20was=20= typeset=20using=20hot=20metal=20type=20set=20by=20a=20Monotype=20= Corporation=20typecaster=20with=20a=20hot=20metal=20typesetting=20= machine=20from=20the=2019th=20century=20which=20produced=20a=20"good=20= classic=20style"=20appreciated=20by=20Knuth.=20When=20the=20second=20= edition=20of=20the=20second=20volume=20was=20published,=20in=201976,=20= the=20whole=20book=20had=20to=20be=20typeset=20again=20because=20the=20= Monotype=20technology=20had=20been=20largely=20replaced=20by=20= photographic=20techniques,=20and=20the=20original=20fonts=20were=20no=20= longer=20available.[4]=20When=20Knuth=20received=20the=20galley=20proofs=20= of=20the=20new=20book=20on=2030=20March=201977,=20he=20found=20them=20= awful.[5]=20Around=20that=20time,=20Knuth=20saw=20for=20the=20first=20= time=20the=20output=20of=20a=20high-quality=20digital=20typesetting=20= system,=20and=20became=20interested=20in=20digital=20typography.=20The=20= disappointing=20galley=20proofs=20gave=20him=20the=20final=20motivation=20= to=20solve=20the=20problem=20at=20hand=20once=20and=20for=20all=20by=20= designing=20his=20own=20typesetting=20system.=20On=2013=20May=201977,=20= he=20wrote=20a=20memo=20to=20himself=20describing=20the=20basic=20= features=20of=20TeX.[6]=0AHe=20planned=20to=20finish=20it=20on=20his=20= sabbatical=20in=201978,=20but=20as=20it=20happened=20the=20language=20= was=20not=20frozen=20until=201989,=20more=20than=20ten=20years=20later.=20= Guy=20Steele=20happened=20to=20be=20at=20Stanford=20during=20the=20= summer=20of=201978,=20when=20Knuth=20was=20developing=20his=20first=20= version=20of=20TeX.=20When=20Steele=20returned=20to=20MIT=20that=20= autumn,=20he=20rewrote=20TeX's=20I/O=20to=20run=20under=20the=20ITS=20= operating=20system.=20The=20first=20version=20of=20TeX=20was=20written=20= in=20the=20SAIL=20programming=20language=20to=20run=20on=20a=20PDP-10=20= under=20Stanford's=20WAITS=20operating=20system.=20For=20later=20= versions=20of=20TeX,=20Knuth=20invented=20the=20concept=20of=20literate=20= programming,=20a=20way=20of=20producing=20compilable=20source=20code=20= and=20cross-linked=20documentation=20typeset=20in=20TeX=20from=20the=20= same=20original=20file.=20The=20language=20used=20is=20called=20WEB=20= and=20produces=20programs=20in=20DEC=20PDP-10=20Pascal.=0A=0A= \stopsection=0A=0A\stoptext=0A= --Apple-Mail=_7E0ACD66-1121-44B6-8C3B-C9D3C1E4FEC8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii %%%%%%%%%%%%%%%%%% \setuppapersize[A4][A4] \setuppagenumbering[alternative=3Ddoublesided,location=3Dfooter] \definefloat[edgefigure][figure] \setupfloat [edgefigure] [leftmargindistance=3D-\outercombitotal, rightmargindistance=3D-\outercombitotal, default=3D{outer,none,low,high}] \setupcaption[edgefigure][number=3Dno] \useexternalfigure[cow][./cow.pdf] \starttext \startsection[title=3D{insight},reference=3Dinsight] = \placeedgefigure[][]{}{\framed[frame=3Doff]{\externalfigure[cow][scale=3D1= 50]}} When the first volume of Donald Knuth's The Art of Computer Programming = was published in 1969, it was typeset using hot metal type set by a = Monotype Corporation typecaster with a hot metal typesetting machine = from the 19th century which produced a "good classic style" appreciated = by Knuth. When the second edition of the second volume was published, in = 1976, the whole book had to be typeset again because the Monotype = technology had been largely replaced by photographic techniques, and the = original fonts were no longer available.[4] When Knuth received the = galley proofs of the new book on 30 March 1977, he found them awful.[5] = Around that time, Knuth saw for the first time the output of a = high-quality digital typesetting system, and became interested in = digital typography. The disappointing galley proofs gave him the final = motivation to solve the problem at hand once and for all by designing = his own typesetting system. On 13 May 1977, he wrote a memo to himself = describing the basic features of TeX.[6] = \placeedgefigure[][]{}{\framed[frame=3Doff]{\externalfigure[cow][scale=3D1= 50]}} He planned to finish it on his sabbatical in 1978, but as it happened = the language was not frozen until 1989, more than ten years later. Guy = Steele happened to be at Stanford during the summer of 1978, when Knuth = was developing his first version of TeX. When Steele returned to MIT = that autumn, he rewrote TeX's I/O to run under the ITS operating system. = The first version of TeX was written in the SAIL programming language to = run on a PDP-10 under Stanford's WAITS operating system. For later = versions of TeX, Knuth invented the concept of literate programming, a = way of producing compilable source code and cross-linked documentation = typeset in TeX from the same original file. The language used is called = WEB and produces programs in DEC PDP-10 Pascal. = \placeedgefigure[][]{}{\framed[frame=3Doff]{\externalfigure[cow][scale=3D1= 50]}} When the first volume of Donald Knuth's The Art of Computer Programming = was published in 1969, it was typeset using hot metal type set by a = Monotype Corporation typecaster with a hot metal typesetting machine = from the 19th century which produced a "good classic style" appreciated = by Knuth. When the second edition of the second volume was published, in = 1976, the whole book had to be typeset again because the Monotype = technology had been largely replaced by photographic techniques, and the = original fonts were no longer available.[4] When Knuth received the = galley proofs of the new book on 30 March 1977, he found them awful.[5] = Around that time, Knuth saw for the first time the output of a = high-quality digital typesetting system, and became interested in = digital typography. The disappointing galley proofs gave him the final = motivation to solve the problem at hand once and for all by designing = his own typesetting system. On 13 May 1977, he wrote a memo to himself = describing the basic features of TeX.[6] He planned to finish it on his sabbatical in 1978, but as it happened = the language was not frozen until 1989, more than ten years later. Guy = Steele happened to be at Stanford during the summer of 1978, when Knuth = was developing his first version of TeX. When Steele returned to MIT = that autumn, he rewrote TeX's I/O to run under the ITS operating system. = The first version of TeX was written in the SAIL programming language to = run on a PDP-10 under Stanford's WAITS operating system. For later = versions of TeX, Knuth invented the concept of literate programming, a = way of producing compilable source code and cross-linked documentation = typeset in TeX from the same original file. The language used is called = WEB and produces programs in DEC PDP-10 Pascal. \stopsection \stoptext = __________________________________________________________________________= _________ 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 = __________________________________________________________________________= __________________________________________________________________________= __________________ 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 = __________________________________________________________________________= _________= --Apple-Mail=_7E0ACD66-1121-44B6-8C3B-C9D3C1E4FEC8 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Apple-Mail=_7E0ACD66-1121-44B6-8C3B-C9D3C1E4FEC8--