From: "Christopher Tipper" <chris.tipper@e-conomist.fsnet.co.uk>
Cc: "ConTeXT Mailing List" <ntg-context@ntg.nl>
Subject: Re: texexec: can it crop?
Date: Thu, 23 Nov 2000 11:33:46 -0000 [thread overview]
Message-ID: <002f01c05541$512cce60$b50c883e@chris> (raw)
In-Reply-To: <3.0.6.32.20001123002618.01af7780@pop.wxs.nl>
> >> Incredible what manipulations one wants. Fortunately this is rather trivial
> >> to implement. [a more efficient method is to embed it in the output
> >> routine, but that can make documents faulty.
> >
> >\slicepages[file.pdf][n=2] does 90% of the job.
> >
> >without knowing how tex macros operate I suspect the problem with my
> output stems from the fact that the origin is bottom-left rather than
> top-left.
> >
> >So if the slides are arranged like so
> >
> >1 2
> >3 4
> >
> >my output then becomes
> >
> >3 4 1 2 etc. etc. i.e. starting from bottom-left. Maybe a fix is too
> complicated?
The following hack works:
\dorecurse{\noffigurepages}
{\let\pslice=\recurselevel
\dostepwiserecurse{\@@ipn}{1}{-1} %this changed
{\let\xslice\recurselevel
\dorecurse{\@@ipn}
{\let\yslice\recurselevel
\clip
[\c!nx=\@@ipn,\c!ny=\@@ipn,\c!x=\xslice,\c!y=\yslice]
{\schaal
[\c!schaal=\@@ipn000]
{\externalfigure[#1][\c!pagina=\pslice]}}
\pagina}}}
\egroup}
I don't know what impact for n=3, n=4, n=5 etc. is.
Christopher
next prev parent reply other threads:[~2000-11-23 11:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-22 13:14 Christopher Tipper
2000-11-22 15:47 ` Hans Hagen
2000-11-22 18:40 ` Christopher Tipper
2000-11-22 23:26 ` Hans Hagen
2000-11-23 11:33 ` Christopher Tipper [this message]
2000-11-23 11:35 ` Hans Hagen
2000-11-22 21:30 ` Johannes H?sing
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='002f01c05541$512cce60$b50c883e@chris' \
--to=chris.tipper@e-conomist.fsnet.co.uk \
--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).