ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: Nicolas Mondon <nmondon@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: special book layout problem in ConTeXt
Date: Thu, 19 Sep 2019 19:49:04 +0200	[thread overview]
Message-ID: <14583a07-0b0e-a0f8-22d0-527060a29965@gmail.com> (raw)
In-Reply-To: <5d83b85e.1c69fb81.af06c.7ba3@mx.google.com>

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=23.5cm,
    width=15cm,edge=14cm]

\showframe

\setupfloat
   [default=leftedge,
    minwidth=14cm]

\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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-09-19 17:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10  6:56 Lower limit of integrals shifted Mikael P. Sundqvist
2019-01-11 10:36 ` Hans Hagen
2019-01-11 13:43   ` Mikael P. Sundqvist
2019-01-11 13:49     ` Hans Hagen
2019-09-12 16:55       ` special book layout problem in ConTeXt Nicolas Mondon
2019-09-15 11:52         ` Wolfgang Schuster
2019-09-15 12:55           ` Henning Hraban Ramm
2019-09-19 17:18           ` Nicolas Mondon
2019-09-19 17:49             ` Wolfgang Schuster [this message]
2019-09-19 18:17               ` nicolas mondon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14583a07-0b0e-a0f8-22d0-527060a29965@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=nmondon@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).