ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: amerke <artur.merke@udo.edu>
To: ntg-context@ntg.nl
Subject: Re: different page sizes on one sheet
Date: Thu, 27 Feb 2014 19:08:51 +0100	[thread overview]
Message-ID: <530F7F33.7060008@udo.edu> (raw)
In-Reply-To: <alpine.LNX.2.03.1402271020400.4103@hzvpu.rqh>

hi,

i ended up using a very flexible (open source, LUA scriptable by option) 
imposition tool:

podofoimpose (http://podofo.sourceforge.net/tools.html)

it's just an additional step to get my output done (as my ConTeXt files 
are generated by a ruby script) ...

cheers

artur

On 02/27/2014 04:43 PM, Aditya Mahajan wrote:
> On Thu, 27 Feb 2014, amerke wrote:
>
>> hi rudolf (& list),
>>
>> thank you for your 'quick hack', it's ok for my current solution. 
>> page number, margins and background and stuff like grid alignment are 
>> still a problem ...
>>
>> but, i suppose, there must be :-) a tiny piece of code in ConTeXt, 
>> where the rotation of the whole page can be achieved (but still 
>> treating the page as a landscape page for the above setup arranging 
>> layer)
>>
>> maybe someone knows how to do it and can share his knowledge ... ?
>
> Do you need interaction (hyperref in latex-speak) to work? If not, one 
> possibility is the following.
>
> You anyways have to do manual page-breaking because your sheets are of 
> different size. Create a PDF with two A6 pages followed by an A5 page 
> (and repeat).
>
> Use a separate CLD (Context lua document) for arranging. Once you know 
> the number of pages of the pdf (you can get this in lua as well as in 
> tex), you can simple use something like (pseudo code)
>
> for i = 1, no_of_page, 3 do
>   context.setlayer( {"page"}, {x = "0", y = "0" }, { 
> "\\externalfigure[file][page=i]" })
>   context.setlayer( {"page"}, {x = "0", y = "0.5\\textheight" }, { 
> "\\externalfigure[file][page=i+1]" })
>     context.setlayer( {"page"}, {x = "0.5\\textwidth", y = "0" }, { 
> "\\externalfigure[file][page=i+2]" })
> end
>
> Aditya
> ___________________________________________________________________________________ 
>
> 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
___________________________________________________________________________________


  reply	other threads:[~2014-02-27 18:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24  7:14 Artur Merke
2014-02-24 19:55 ` amerke
2014-02-24 21:42   ` Wolfgang Schuster
2014-02-25 14:32     ` amerke
2014-02-25 22:28       ` Wolfgang Schuster
2014-02-26 14:37         ` amerke
2014-02-26 14:58           ` Rudolf Bahr
2014-02-26 16:46           ` Rudolf Bahr
2014-02-27  8:10             ` amerke
2014-02-27 15:43               ` Aditya Mahajan
2014-02-27 18:08                 ` amerke [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-02-21 14:31 amerke

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=530F7F33.7060008@udo.edu \
    --to=artur.merke@udo.edu \
    --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).