From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37976 Path: news.gmane.org!not-for-mail From: "Santy, Michael" Newsgroups: gmane.comp.tex.context Subject: Re: LaTeX float pages in ConTeXt Date: Thu, 13 Dec 2007 09:22:13 -0600 Message-ID: <6703815B292B664DBAEC55EE3192386A20BD48@poseidon.in.dynetics.com> References: <6703815B292B664DBAEC55EE3192386A20BD39@poseidon.in.dynetics.com><6703815B292B664DBAEC55EE3192386A20BD3C@poseidon.in.dynetics.com><115224fb0712130037p73bac915md45f45f58d559533@mail.gmail.com><91150A04-6C56-46D7-AB42-FE5CB4F03A0E@boede.nl><4761041A.90509@wxs.nl> <115224fb0712130301l3ff381bdsc46d9fc4e93c6fae@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C83D9C.3FC213E3" X-Trace: ger.gmane.org 1197559526 23609 80.91.229.12 (13 Dec 2007 15:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2007 15:25:26 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 13 16:25:35 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J2pwB-0008Gj-Ao for gctc-ntg-context-518@m.gmane.org; Thu, 13 Dec 2007 16:25:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0D3D1FBAA; Thu, 13 Dec 2007 16:24:59 +0100 (CET) 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 27553-03-11; Thu, 13 Dec 2007 16:24:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 39E461FBBA; Thu, 13 Dec 2007 16:24:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6721F1FBC1 for ; Thu, 13 Dec 2007 16:24:43 +0100 (CET) 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 30615-01-2 for ; Thu, 13 Dec 2007 16:24:33 +0100 (CET) Original-Received: from myrddin.dynetics.com (myrddin.dynetics.com [204.154.192.33]) by ronja.ntg.nl (Postfix) with ESMTP id EE8621FBBA for ; Thu, 13 Dec 2007 16:24:31 +0100 (CET) Original-Received: from poseidon.in.dynetics.com ([10.1.15.106]) by myrddin.dynetics.com (8.13.1/8.13.1) with ESMTP id lBDFJHXB002031 for ; Thu, 13 Dec 2007 09:19:17 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [NTG-context] LaTeX float pages in ConTeXt Thread-Index: Acg9d8XvYpANYDbuSBy4aGH0Ytps1AAJCoY9 X-dynetics.com-MailScanner-Information: Please contact the ISP for more information X-dynetics.com-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.439, required 2, autolearn=disabled, ALL_TRUSTED -1.44, HTML_MESSAGE 0.00) X-MailScanner-From: michael.santy@dynetics.com X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37976 Archived-At: This is a multi-part message in MIME format. ------_=_NextPart_001_01C83D9C.3FC213E3 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C83D9C.3FC213E3" ------_=_NextPart_002_01C83D9C.3FC213E3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Wolfgang Schuster wrote: > but he want to "collect" the figures on one page and not > every on a new page. That's part of the issue, but not the entire issue. Attached is the = equivalent LaTeX source and the resultant PDF (both gzipped due to = ridiculously low 40k email limit). LaTeX appears to float a series of = figures placed with the "htbp" as follows: 1) Try to float the figures on the current page. They can be "here", or = at the top or bottom of the page. 2) If the figures weren't placed on the current page, finish out the = current page with content (see pdf page 1), unlike ConTeXt's "force" = option. Start a new page containing only floats and keep doing so until = all floats are flushed. (pages 2-4 of the PDF) 3) Try to place content on what would be the last float page (see page 5 = of the PDF). The closest analog that I can see in ConTeXt is the "force" placement = option for floats, which is mean to ensure strict ordering. The main = difference is that the LaTeX "htbp" placement option will fill the = remaining vertical whitespace with content before starting a float page. Cheers, Mike ------_=_NextPart_002_01C83D9C.3FC213E3 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [NTG-context] LaTeX float pages in ConTeXt

Wolfgang Schuster wrote:
> but he want to "collect" the figures on one page and = not
> every on a new page.

That's part of the issue, but not the entire issue.  Attached is = the equivalent LaTeX source and the resultant PDF (both gzipped due to = ridiculously low 40k email limit).  LaTeX appears to float a series = of figures placed with the "htbp" as follows:

1) Try to float the figures on the current page.  They can be = "here", or at the top or bottom of the page.
2) If the figures weren't placed on the current page, finish out the = current page with content (see pdf page 1), unlike ConTeXt's = "force" option.  Start a new page containing only floats = and keep doing so until all floats are flushed.  (pages 2-4 of the = PDF)
3) Try to place content on what would be the last float page (see page 5 = of the PDF).

The closest analog that I can see in ConTeXt is the "force" = placement option for floats, which is mean to ensure strict = ordering.  The main difference is that the LaTeX "htbp" = placement option will fill the remaining vertical whitespace with = content before starting a float page.

Cheers,
Mike

------_=_NextPart_002_01C83D9C.3FC213E3-- ------_=_NextPart_001_01C83D9C.3FC213E3 Content-Type: application/x-gzip; name="floats.tex.gz" Content-Transfer-Encoding: base64 Content-Description: floats.tex.gz Content-Disposition: attachment; filename="floats.tex.gz" H4sICMhGYUcAA2Zsb2F0cy50ZXgAtVO7jtwwDOz9FWzSLRZ5IOU1QZIqXZJqvQVXom3i9DqJvCxg 7L+HWt/i7hAESJPK4mg0HI7k0WenkZK4gK0d3r0vclyxCrtAl2HURgXdPc60zhXLwu78GhWO1Aw6 0cxpvYldhmH0NI1cmsb1zTAWrPAtV4pwhcDnkCs0FsBIsgOXUyMnJFoBPRdu7DjNQIFtt5G3E0Cs LWYPQrHYaU6OPXtNAioQ8GT6QLJpE0ScEwIGflDcw08BShxNHCL3xaOVGHfwoNwg5SZVPdCZqmNB 4ZxAQ8Do8qbcSWaqd7pKcjEyEJrzaJ7yNoG1kj187pKoQsBVzck2LCeoVCotlDxVm9yAxxy0WDsy OzYpUGsEjkO4RWQDKUw6MwqkbggsSSu07uHL2VER0p6jZZCdQ3LGc1rYo/QTNkWpmb1diaXYk7Km TkPBPjfkabKYETw1qn035tBtYA+ILY72lKvGPdzuVAydeLbB1gHg6eI34HJY5FSOBtvGdMrnwy/2 stx93L/ltIOFeF7k7kOvjuuVddm4DkuPfP0UcOnQaBndNIfeuD+OTvjK1Tx93yp7dtfXNLzw9F/W z/2tc07+TwOvPs/0HwvXv7L/mdbDePFn/QZdEdEaswMAAA== ------_=_NextPart_001_01C83D9C.3FC213E3 Content-Type: application/x-gzip; name="floats.tex.gz" Content-Transfer-Encoding: base64 Content-Description: floats.tex.gz Content-Disposition: attachment; filename="floats.tex.gz" H4sICMhGYUcAA2Zsb2F0cy50ZXgAtVO7jtwwDOz9FWzSLRZ5IOU1QZIqXZJqvQVXom3i9DqJvCxg 7L+HWt/i7hAESJPK4mg0HI7k0WenkZK4gK0d3r0vclyxCrtAl2HURgXdPc60zhXLwu78GhWO1Aw6 0cxpvYldhmH0NI1cmsb1zTAWrPAtV4pwhcDnkCs0FsBIsgOXUyMnJFoBPRdu7DjNQIFtt5G3E0Cs LWYPQrHYaU6OPXtNAioQ8GT6QLJpE0ScEwIGflDcw08BShxNHCL3xaOVGHfwoNwg5SZVPdCZqmNB 4ZxAQ8Do8qbcSWaqd7pKcjEyEJrzaJ7yNoG1kj187pKoQsBVzck2LCeoVCotlDxVm9yAxxy0WDsy OzYpUGsEjkO4RWQDKUw6MwqkbggsSSu07uHL2VER0p6jZZCdQ3LGc1rYo/QTNkWpmb1diaXYk7Km TkPBPjfkabKYETw1qn035tBtYA+ILY72lKvGPdzuVAydeLbB1gHg6eI34HJY5FSOBtvGdMrnwy/2 stx93L/ltIOFeF7k7kOvjuuVddm4DkuPfP0UcOnQaBndNIfeuD+OTvjK1Tx93yp7dtfXNLzw9F/W z/2tc07+TwOvPs/0HwvXv7L/mdbDePFn/QZdEdEaswMAAA== ------_=_NextPart_001_01C83D9C.3FC213E3 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ------_=_NextPart_001_01C83D9C.3FC213E3--