ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: multi-page floats
Date: Tue, 5 Jun 2012 18:17:29 +0200	[thread overview]
Message-ID: <CAG5iGsCC3Mg-O0oO1SiKgUjPj30+xqgkprz9GT+zKjyAECJn1w@mail.gmail.com> (raw)
In-Reply-To: <CAG5iGsCWax9KRc_7_PKj777qi5kQ-wbw7Gb4rCyWFWQ6oALBAw@mail.gmail.com>

On Tue, Jun 5, 2012 at 6:08 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Tue, Jun 5, 2012 at 6:01 PM, Henning Hraban Ramm <hraban@fiee.net> wrote:
>> Am 2012-06-05 um 14:42 schrieb luigi scarso:
>>
>>
>>> Another one
>>
>>
>>> \setuppagenumbering[alternative=doublesided]
>>>
>>> \definelayer[bg][x=0mm,y=-3mm,width=\dimexpr(\paperwidth+3mm),height=\dimexpr(\paperheight+6mm)]
>>>
>>> \unexpanded\def\DoDoublePicAt#1{
>>>      \page[right] % tried also makeups...
>>>      \resetlayer[bg]
>>>      \setlayer[bg]{\externalfigure[#1][height=\dimexpr(\paperheight+6mm)]}
>>>      \setupbackgrounds[page][background=bg]
>>>      \strut
>>>
>>>      \page[right]
>>>      \setuppagenumber[state=start]
>>>
>>>      \resetlayer[bg]
>>>
>>>  \setlayer[bg]{\externalfigure[#1-back][height=\dimexpr(\paperheight+6mm)]}
>>>
>>>      \setupbackgrounds[page][background=bg]
>>>      \strut
>>>      \page
>>> }
>>>
>>> \def\DoublePicAt#1#2{
>>> \startpostponing[#2]
>>> \DoDoublePicAt{#1}
>>> \stoppostponing
>>> }
>>>
>>>
>>>
>>> \starttext
>>> \DoublePicAt{hacker}{5}
>>>
>>> \dorecurse{30}{
>>>      \section{Knuth \recurselevel}
>>>      \input knuth
>>> }
>>>
>>> \stoptext
>>
>>
>> Thank you again, but, did you test that? I get:
>>
>> )
>> Runaway argument?
>> \dorecur\section{\ETC.r} \stoppostponing
>>
>> ! File ended while scanning use of \buff_gobble.
> Uhm I've tested but maybe I've made a wrong cut and paste.
> Re-check now.
Ah, it 's a side effect of the previous code


-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2012-06-05 16:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-27 14:06 Henning Hraban Ramm
2012-05-28 17:27 ` Hans Hagen
2012-05-28 19:47   ` Henning Hraban Ramm
2012-05-31 18:25     ` Henning Hraban Ramm
2012-05-31 21:48       ` Hans Hagen
2012-06-04 12:03         ` Henning Hraban Ramm
2012-06-05 12:00           ` Henning Hraban Ramm
2012-06-05 12:33             ` luigi scarso
2012-06-05 12:42               ` luigi scarso
2012-06-05 16:01                 ` Henning Hraban Ramm
2012-06-05 16:08                   ` luigi scarso
2012-06-05 16:17                     ` luigi scarso [this message]
2012-06-05 18:25                       ` Henning Hraban Ramm
2012-06-06  7:37                         ` luigi scarso
2012-06-06  9:39                           ` luigi scarso
2012-06-06  9:52                             ` luigi scarso
2012-06-07 12:51                               ` Henning Hraban Ramm
2012-06-05 15:59               ` Henning Hraban Ramm
2012-06-05 17:55             ` Wolfgang Schuster
2012-06-05 18:35               ` Henning Hraban Ramm
  -- strict thread matches above, loose matches on Subject: below --
2001-09-03  7:52 Multi-page floats Giuseppe Bilotta
2001-09-04  9:14 ` Hans Hagen

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=CAG5iGsCC3Mg-O0oO1SiKgUjPj30+xqgkprz9GT+zKjyAECJn1w@mail.gmail.com \
    --to=luigi.scarso@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).