ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Impostion to make a scroll
@ 2010-09-15  0:26 Arild Syme
  2010-09-15  7:38 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Arild Syme @ 2010-09-15  0:26 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 899 bytes --]

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,

margin=0,

width=148mm,

height=210mm]

\setuplayout

[topspace=0mm,

backspace=0mm,

margin=0mm,

width=1480mm,

height=210mm,

header=0mm,

footer=0mm]

\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.


Thanks for any help,
Arild

[-- Attachment #1.2: Type: text/html, Size: 5141 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Impostion to make a scroll
  2010-09-15  0:26 Impostion to make a scroll Arild Syme
@ 2010-09-15  7:38 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2010-09-15  7:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-15  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15  0:26 Impostion to make a scroll Arild Syme
2010-09-15  7:38 ` Wolfgang Schuster

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).