ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Impostion to make a scroll
Date: Wed, 15 Sep 2010 09:38:38 +0200	[thread overview]
Message-ID: <C4006707-C96C-4041-9D03-F228B74338C7@gmail.com> (raw)
In-Reply-To: <AANLkTikTK7geyTZ55oUGbT=uOGS3JzBR28796LrZ7DoS@mail.gmail.com>


Am 15.09.2010 um 02:26 schrieb Arild Syme:

> I am trying to string 10 pdfs together onto one very wide page so I can print it as a scroll.
> I've tried using texexec as follows:
> 
> $texexec --combination=10*1 --pdfcombine infile.pdf
> 
> but what I get is 10 pdfs at the top of an A4 sheet.
> How do I make a custom page size 1480mm x 210 mm?
> 
> I've also tried using a tex file like the following:
> 
> \definepapersize	[scroll][width=1480mm, height=210mm]
> \setuppapersize[A5][scroll]
> \setuppaper
> [topspace=0mm,
> backspace=0mm,
> dx=1mm,
> dy=0mm,
> nx=1,
> ny=10,

nx=10,
ny=1

> margin=0,
> width=148mm,
> height=210mm]
> \setuplayout
> [topspace=0mm,
> backspace=0mm,
> margin=0mm,
> width=1480mm,
> height=210mm,
> header=0mm,
> footer=0mm]

You can just write

\setuplayout[page]

> \setuparranging[XY]
> 
> \starttext
> \insertpages
> [input.pdf]
> \stoptext
> 
> I get the right sized pdf sheet, but all the input.pdf pages are stacked on top of one another in a big mess all on the right hand side.

This is a alternative solution for your problem:

\starttext
\startTEXpage
\getfiguredimensions[insert.pdf]
\dontleavehmode\dorecurse\noffigurepages{\externalfigure[insert.pdf][page=\recurselevel]}
\stopTEXpage
\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2010-09-15  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15  0:26 Arild Syme
2010-09-15  7:38 ` Wolfgang Schuster [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=C4006707-C96C-4041-9D03-F228B74338C7@gmail.com \
    --to=schuster.wolfgang@googlemail.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).