From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105091 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: nicolas mondon Newsgroups: gmane.comp.tex.context Subject: Re: special book layout problem in ConTeXt Date: Thu, 19 Sep 2019 20:17:32 +0200 Message-ID: References: <5d7a7896.1c69fb81.b1d8a.95d1@mx.google.com> <412e6500-c7be-0329-22cd-487379ebd7d9@gmail.com> <5d83b85e.1c69fb81.af06c.7ba3@mx.google.com> <14583a07-0b0e-a0f8-22d0-527060a29965@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2715156102530123441==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190434"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 21 14:53:47 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBetX-000nQN-BM for gctc-ntg-context-518@m.gmane.org; Sat, 21 Sep 2019 14:53:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8B644161092; Sat, 21 Sep 2019 14:50:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oSg4WaOiiyF4; Sat, 21 Sep 2019 14:49:59 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 650441611AA; Sat, 21 Sep 2019 14:49:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3F215161092 for ; Thu, 19 Sep 2019 20:17:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yJx3lkGOxH9k for ; Thu, 19 Sep 2019 20:17:46 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.182; helo=mail-qk1-f182.google.com; envelope-from=nmondon@gmail.com; receiver= Original-Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 473FF16108C for ; Thu, 19 Sep 2019 20:17:46 +0200 (CEST) Original-Received: by mail-qk1-f182.google.com with SMTP id f16so4366126qkl.9 for ; Thu, 19 Sep 2019 11:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R+aiWSkQXRHcP8iKamwHojv4NiwUMrrTz/exsrTxgqA=; b=C6arwjBve6wzfcAcY9E+ibvoVBCLnshMumY6hSJ5ce/N/W5wC/kke2Xyk0AA14qjbH JNDvM51jZfX7B5me3G6EDEk8x/MQ6nXEyMvddxbsORFaWEbvirW5fvyFkI032E9enhwO PsH8HNyf3Rl6c/d8GtFTkqjwGrY8BSDNGwQ8Z5UWlzWvEI4gfO5eeQvtn84xsHSNswFE hnem0ZCSU/8OLg/QhYmZDU+3V/XzgeWN8ByYgzhwvEQo7CfX66Iv7vlI5O2nYU869y+Z GBnTN3u1QUy9h/5P/RY2yb28CLu5EQ4OYGJOD6fDPZ1UFlyygXw216Oy+/UWJqwlMAFo d9bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R+aiWSkQXRHcP8iKamwHojv4NiwUMrrTz/exsrTxgqA=; b=Mv/MRGXVETJmUKnIJ3y+G2yrw8P+CgleCnOX8uqIBMF7Wsz/aolQOqC1ajTJsnJQ0G B+Wr6qRMZAjYHG2AEh6gxyr2CXte+mL7TJebpSopmfODWe4HP/+dtRbT2qKCEb+9GAeB 7yeGjGzjW3h8eXB2JvEezpxKC/LE3aCdaVeLS3WLx/JkAH8z6+ws08t3thBaY27+2KCj MNlG2wzW6eRdfdK7steCIzF9GzSI70hViKmVFHidHYihZj+UTb7FBajnK/RUQM3QS6V6 fnzVdwzMU7AWQAb/xRabbKE45Bi7K8xB/tdu8Cx9xlx3jpmtk+cMMwRx4m7XzXWLd1v0 tQOA== X-Gm-Message-State: APjAAAXu6a+7tq0N4KKcnJwQuSBVVqce0DhuMMWnaQoWRwPbHdrUhnJh lg+Il38X7eovdBhPhPTHb6mPnnu6Vh0kyyvjSjc= X-Google-Smtp-Source: APXvYqw2osdeXn9RKciLVj/opzzB4x2Gcs0f4Xd9FZZRf+XEEBEXv3S8RT0tCW+k8HwCFT2KxujorBOF1iN7ZWat0/0= X-Received: by 2002:a37:b045:: with SMTP id z66mr3974559qke.428.1568917064749; Thu, 19 Sep 2019 11:17:44 -0700 (PDT) In-Reply-To: <14583a07-0b0e-a0f8-22d0-527060a29965@gmail.com> X-Mailman-Approved-At: Sat, 21 Sep 2019 14:49:58 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.org gmane.comp.tex.context:105091 Archived-At: --===============2715156102530123441== Content-Type: multipart/alternative; boundary="0000000000005399690592ebf8e4" --0000000000005399690592ebf8e4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Woaw! Thanks a lot... Let's try! Le jeu. 19 sept. 2019 =C3=A0 19:49, Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> a =C3=A9crit : > Nicolas Mondon schrieb am 19.09.2019 um 19:18: > > > > Thank you Wolfgang for your answer. > > > > So, yes the figures/tables should appear before the text on a even > > (left side) page while the text would appear only on odd (right side) > > pages. The left page should be empty when there are no figures/tables > > for the following right page, and the float doesn't have to appear > > strictly at the same vertical position as the reference, but as > > possible only. Specially beacause, it may have several references in > > only one paragraph for exemple on the right page, and so the figure > > should appear in the right order on the left page, but couldn't be > > exactly at the same height. Also, if there are too many references in > > on right page, the figures which can't fit the left page should go on > > the top od the next left page... > > > > It's possible that my answer change the proposition you made at the > > end of your message. Nevertherless, there is some thing in your last > > paragrph which is not clear for me : " Afterwards you split each page > > in half and create two separate pages from one single page which can > > be done with a loop (can be done theoretically with the imposition > > mechanism but a separate document is easier)." > > > Step 1: > > Create a document with a very big left margin where you can place all > floats. > > \setuppapersize > [A3,landscape] > > \setuplayout > [backspace=3D23.5cm, > width=3D15cm,edge=3D14cm] > > \showframe > > \setupfloat > [default=3Dleftedge, > minwidth=3D14cm] > > \starttext > > \input ward > > \startplacefigure > \externalfigure[dummy] > \stopplacefigure > > \input knuth > > \startplacetable > \starttabulate[|c|c|c|] > \FL > \NC A \NC B \NC C \NC\NR > \ML > \NC X \NC Y \NC Z \NC\NR > \LL > \stoptabulate > \stopplacetable > > \input zapf > > \stoptext > > > Step 2: > > Split each page into two separate pages where one contains all floats > while the other page contains the text. > > Wolfgang > > --=20 *catalogue, =C3=A9coutes et infos concerts :* *http://n.mondon.free.fr/* --0000000000005399690592ebf8e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Woaw!= Thanks a lot... Let's try!

<= div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0jeu. 19 sept. 2019 =C3=A0=C2= =A019:49, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> a =C3=A9crit=C2=A0:
=
Nicolas Mondon schr= ieb am 19.09.2019 um 19:18:
>
> Thank you Wolfgang for your answer.
>
> So, yes the figures/tables should appear before the text on a even > (left side) page while the text would appear only on odd (right side) =
> pages. The left page should be empty when there are no figures/tables =
> for the following right page, and the float doesn't have to appear=
> strictly at the same vertical position as the reference, but as
> possible only. Specially beacause, it may have several references in <= br> > only one paragraph for exemple on the right page, and so the figure > should appear in the right order on the left page, but couldn't be=
> exactly at the same height. Also, if there are too many references in =
> on right page, the figures which can't fit the left page should go= on
> the top od the next left page...
>
> It's possible that my answer change the proposition you made at th= e
> end of your message. Nevertherless, there is some thing in your last <= br> > paragrph which is not clear for me : " Afterwards you split each = page
> in half and create two separate pages from one single page which can <= br> > be done with a loop (can be done theoretically with the imposition > mechanism but a separate document is easier)."
>
Step 1:

=C2=A0=C2=A0Create a document with a very big left margin where you can pla= ce all
floats.

\setuppapersize
=C2=A0=C2=A0 [A3,landscape]

\setuplayout
=C2=A0=C2=A0 [backspace=3D23.5cm,
=C2=A0=C2=A0=C2=A0 width=3D15cm,edge=3D14cm]

\showframe

\setupfloat
=C2=A0=C2=A0 [default=3Dleftedge,
=C2=A0=C2=A0=C2=A0 minwidth=3D14cm]

\starttext

\input ward

\startplacefigure
\externalfigure[dummy]
\stopplacefigure

\input knuth

\startplacetable
=C2=A0=C2=A0 \starttabulate[|c|c|c|]
=C2=A0=C2=A0 \FL
=C2=A0=C2=A0 \NC A \NC B \NC C \NC\NR
=C2=A0=C2=A0 \ML
=C2=A0=C2=A0 \NC X \NC Y \NC Z \NC\NR
=C2=A0=C2=A0 \LL
=C2=A0=C2=A0 \stoptabulate
\stopplacetable

\input zapf

\stoptext


Step 2:

Split each page into two separate pages where one contains all floats
while the other page contains the text.

Wolfgang



--
catalogue, =C3=A9coutes et infos concerts = :
--0000000000005399690592ebf8e4-- --===============2715156102530123441== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2715156102530123441==--