From: Michael Eidenbenz <eidenbenz@arch.ethz.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Typset Text on odd pages only
Date: Sun, 11 Sep 2016 21:08:24 +0200 [thread overview]
Message-ID: <5CBAF150-44CC-4462-8A7E-31E1CA44F803@arch.ethz.ch> (raw)
In-Reply-To: <04e808e2-deb8-43f3-6440-979245c4adf1@wxs.nl>
thanks a lot.
I definitely have to look at the basics of TeX sooner or later.
michael
> On 09 Sep 2016, at 08:10, Hans Hagen <pragma@wxs.nl> wrote:
>
> On 9/6/2016 5:48 PM, Michael Eidenbenz wrote:
>> Hello,
>>
>> I'm looking for a way to produce a doublesided document with text on the odd pages only and floats on the even pages.
>>
>> Can somebody guide me in the right direction?
>>
>> Will something like \doifoddpageelse {typsettext} {\page} work?
>
> \setuppagenumbering
> [alternative=doublesided]
>
> \starttext
>
> \newtoks \SavedFloats
>
> \appendtoks
> \the\SavedFloats
> \global\SavedFloats\emptytoks
> \page
> \to \everybeforeoutput
>
> \page[right]
>
> \dorecurse{100}{
> \input tufte
> \par
> \appendtoks
> \placefigure[here]{}{}
> \to \SavedFloats
> \input ward
> \par
> }
>
> \stoptext
>
> better is to hook it into the otr (flush spreads) and collect floats differently so that the output routine can flush only as much as can be on one page
>
> i can't make time now to write that (can be a quick hack but that's not ideal)
>
> Hans
>
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________
prev parent reply other threads:[~2016-09-11 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 15:48 Michael Eidenbenz
2016-09-09 6:10 ` Hans Hagen
2016-09-11 19:08 ` Michael Eidenbenz [this message]
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=5CBAF150-44CC-4462-8A7E-31E1CA44F803@arch.ethz.ch \
--to=eidenbenz@arch.ethz.ch \
--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).