I solved the problem by rather using:
\definemakeup[cover][page][page=no,doublesided=no]
\definelayout[cover][page]
\startmakeup [cover]
\filterpages[Coverpages][1]
\stoppagemakeup
\startmakeup [cover]
\filterpages[Coverpages][2]
\stoppagemakeup
\startlayou
up[cover][page][page=no,doublesided=no]
\definelayout[cover][page]
\startmakeup [cover]
\filterpages[Coverpages][1]
\stoppagemakeup
\startmakeup [cover]
\filterpages[Coverpages][2]
\stoppagemakeup
Thank you for your suggestion!
Maybe it’s also a problem of \startdoc
\stopInvisiSection
> >\page
> >\startInvisiSection[title={Hidden Custom Section B}]
> > Text of Hidden Custom Section B
> >\stopInvisiSection
> >\page
> >TEST\bookmark[CustomBMarks]{Start of Teststack} \dorecurse{800}{TEST
> > }N
no possibility
%%% to arrange the "CustomBMarks"-list in multi-levels.
%%%
\page
\startstandardmakeup
\filterpages[{test.pdf}][1]\bookmark[CustomBMarks]{Pagefigure}
\stopstandardmakeup
%%%
%%% So the following method would be the best choice to work with
%%% m
%%
\page
\startstandardmakeup
\filterpages[{test.pdf}][1]\bookmark[CustomBMarks]{Pagefigure}
\stopstandardmakeup
%%%
%%% So the following method would be the best choice to work with
%%% multi-level bookmarks. But as soon as I start working with
%%% (custom) heads together with pagefigures,
th Context code,
> perhaps with some \input and something like a two-pass job. I was thinking if
> the simpleslides could be saved as a number of png images and then with the
> recurse add them to the document with placefigure.
Why via PNG? And why recurse? You can include PDFs.
Try \c
re
To include a whole pdf as full pages, you can use \copypages,
but in your case you’d need \filterpages:
https://wiki.contextgarden.net/Command/filterpages
Hraban
___
If your question is of interest to others as wel
tps://wiki.contextgarden.net/Command/setupexternalfigure
To include a whole pdf as full pages, you can use \copypages,
but in your case you’d need \filterpages:
https://wiki.contextgarden.net/Command/filterpages
Hraban
the "file" key is removed (see
second one.
Would it be possible that \insertpages and \filterpages could deal with
these urls? Or what am I missing here?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
_
I
don’t know how to read the values, how to store them, or how to compare
them with specific units or unit parts to get these page numbers.
I mean, with a command such as
\extractpages{i5,i8-exercises,i15-explanation} would get the pages for
each "-start" and "-stop" that cou
Hi Pablo, Hi list,
\filterpages made the job and saved me a lot of nerves, another ConTeXt
great command!
Many thanks for the tips,
Damien Thiriet
___
If your question is of interest to others as well, please add
; of my presentations?
PDFtk, Multivalent or ConTeXt itself (\filterpages or something similar).
I hope it helps,
Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add
\setuppapersize [A5] [A4, landscape]
\setuparranging [2SIDE]
\starttext
\filterpages[test.pdf][1:6][]
\stoptext
Thank you,
Markus
___
If your question is of interest to others as well, please add an entry
[backspace=0pt,
topspace=0pt,
width=middle,
height=middle,
location=middle,
header=0pt,
footer=0pt]
\starttext
\filterpages[../pdf/mobilePamphletInterior.pdf][4][width=0pt]
\filterpages[../pdf/mobilePamphletCover.pdf][2][width=0pt]
\filterpages[../pdf
On 07/18/2018 09:08 PM, Wolfgang Schuster wrote:
>> Sorry, but how do I apply that with to imposed pages with \insertpages?
>>
>> I know that \filterpages is there, but I need to have the complete
>> document to print only some of the pages.
>
> You can get the n
orry, but how do I apply that with to imposed pages with \insertpages?
I know that \filterpages is there, but I need to have the complete
document to print only some of the pages.
You can get the number of pages of the included file with
\getfiguredimensions.
Afterwards you can use a loop wh
ow whether there are more already defined
layouts.)
>> \insertpages[i-context.pdf][width=0pt]
>> [...]
> \startmarkpages[page]
> ...
> \stopmarkpages
Sorry, but how do I apply that with to imposed pages with \insertpages?
I know that \filterpages is there, but I need to have
[backspace=0pt,
>topspace=0pt,
> width=middle,
> height=middle,
>location=middle,
> header=0pt,
> footer=0pt]
>\setupinteractionscreen[option={landscape, paper}, copies=1]
> \starttext
>\filterpages[report
,
location=middle,
header=0pt,
footer=0pt]
\setupinteractionscreen[option={landscape, paper}, copies=1]
\starttext
\filterpages[report.pdf][1:25][width=0pt]
\filterpages[report.pdf][27:30][width=0pt]%they are rotated
\filterpages[report.pdf][31:100][width=0pt
Your suggestion works fine for me. I tried \filterpages too, as it is
mentioned on the wiki as well, but the pages then got scaled to the
\setuplayout definitions. I didn't think about using it within the
\startpagemakeup environment though.
So thanks Pablo.
P.S.: I'd still love to know why
rttext
\startpagemakeup\filterpages[file.pdf][1]\stoppagemakeup
\startpagemakeup\filterpages[file.pdf][2]\stoppagemakeup
\startpagemakeup\filterpages[file.pdf][3]\stoppagemakeup
\stoptext
> Like I mentioned: even although there is no 5th page in file.pdf, LuaTeX
> pastes the
with
\filterpages?
\setupexternalfigures[interaction=all]
Many thanks for the reply, Hans.
Is there a way to keep internal document links (such as in the table of
contents)? They are all gone in the imposition (I use the commands above
for imposition).
1.tex:
\setupinteraction[state=start]
\starttext
On 01/09/2017 01:15 PM, Hans Hagen wrote:
> On 1/9/2017 12:39 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> is there a way to keep interaction in the resulting PDF document when
>> adding the whole document with \insertpages, or only some pages with
>> \filter
On 1/9/2017 12:39 PM, Pablo Rodriguez wrote:
Dear list,
is there a way to keep interaction in the resulting PDF document when
adding the whole document with \insertpages, or only some pages with
\filterpages?
\setupexternalfigures[interaction=all
Dear list,
is there a way to keep interaction in the resulting PDF document when
adding the whole document with \insertpages, or only some pages with
\filterpages?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
Hans,
the following sample puts the cut marks on each page:
\showframe
\setuppapersize[A5][A4]
\setuplayout
[marking=one,
location=middle]
\starttext
\ctxlua{for i=1,10 do
tex.print("\\startpagemakeup\\filterpages[setup-en.pdf][" .. i ..
&q
,
footer=0pt]
\starttext
\startpagemakeup
\filterpages[setup-en.pdf][1][width=0cm]
\stoppagemakeup
\filterpages[setup-en.pdf][1][width=0cm]
\stoptext
Could anyone explain me why this happens and how to get the result from
first page (no reduction) without the makeup?
Many
,
header=0pt,
footer=0pt]
\starttext
\filterpages[setup-en.pdf][1:10][width=0cm]
\stoptext
The PDF document is i-context.pdf from the ConTeXt Suite
(tex/texmf-context/tex/context/interface/mkiv/i-context.pdf).
For some reason that I don’t understand, the imposed page
]
\setuparranging [XY]
\setuplayout
[backspace=0pt,
topspace=0pt,
header=0pt,
footer=0pt]
\starttext
\filterpages[knuth-card.pdf][1,1,1,1]
\stoptext
What am I missing here? Imposition is clearly wrong.
The second question is how can I do
area, like with \setuplayout[page].
I tried various combination of \filterpages, \copypages and \externalfigure -
nothing the the whole desired effect.
Finally, I created the following snippet:
\startluacode
function copyPages(fn)
local fig = figures.push{name = fn
Hi Mikoláš,
So how can I place this title page without margins? (A4 scanned page to A4
PDF page)
There are commands to insert PDF pages directly:
http://wiki.contextgarden.net/Including_pages_from_PDF_documents
\filterpages[file.pdf][1]
should do the trick for you. For including page-sized
[2SIDE]
\setuplayout
[backspace=0pt,
topspace=0pt,
width=middle,
height=middle,
location=middle,
header=0pt,
footer=0pt]
\starttext
\filterpages
[maoutput.pdf][1,3,5:22][width=0pt]
\stoptext
This works, too:
\setuppapersize[A5][A3]
\setuparranging[2DOWN
]
\setuppagenumbering[alternative=doublesided]
\starttext
% \insertpages
\filterpages
[pr-33-gp.pdf][2,5,16:19][width=0pt]
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki
\filterpages was my »missing link« –
thank you all for your reply!
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Thanks all for the answers.
The solution by both Peters works well:
---
\starttext
\filterpages[1.pdf][1:2]
\page
\setuplayout[page]
\filterpages[1.pdf][1:2]
\setuplayout[reset]
\page
\stoptext
---
To Hans:
I really needed to filter out some pages.
(In this case, I wanted to use
On 20-11-2010 1:37, Procházka Lukáš wrote:
- I can't use \externalfigure as it places just ONE specific page to the
document.
\dostepwiserecurse{3}{5{1}{
\startTEXpage
\externalfigure[whatever.pdf][page=\recurselevel]
\stopTEXpage
}
On 18-11-2010 2:12, Peter Rolf wrote:
Am 18.11.2010 10:53, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
I'm trying similar code as described on
http://wiki.contextgarden.net/Including_pages_from_PDF_document:
---
\starttext
\filterpages[1.pdf][2][width=15cm]
\page
Hello,
I'm trying similar code as described on
http://wiki.contextgarden.net/Including_pages_from_PDF_document:
---
\starttext
\filterpages[1.pdf][2][width=15cm]
\page
\filterpages[1.pdf][2][width=5cm]
\stoptext
---
But I'm still getting the same picture - scaled to (probably
Am 18.11.2010 10:53, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
I'm trying similar code as described on
http://wiki.contextgarden.net/Including_pages_from_PDF_document:
---
\starttext
\filterpages[1.pdf][2][width=15cm]
\page
\filterpages[1.pdf][2][width=5cm
On Thu, Nov 18 2010, Peter Rolf wrote:
\setuplayout[fullpage]
fullpage is not needed. There is already \setuplayout[page].
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___
If your question
:
---
\starttext
\filterpages[1.pdf][2][width=15cm]
\page
\filterpages[1.pdf][2][width=5cm]
\stoptext
---
But I'm still getting the same picture - scaled to (probably) \textwidth.
Bug? My mistake?
Only the horizontal shift of \copypages looks fishy (as all other values
seem to fit).
So how
,
location=middle,
header=0pt,
footer=0pt]
\setuppagenumbering[location=,alternative=doublesided]
\setuparranging[2DOWN]
\starttext
% \copypages
% [the-review.pdf]
% [scale=1000,
% offset=0pt]
% \filterpages
,
height=middle,
location=middle,
header=0pt,
footer=0pt]
\setuppagenumbering[location=,alternative=doublesided]
\setuparranging[2DOWN]
\starttext
% \copypages
% [the-review.pdf]
% [scale=1000,
% offset=0pt]
% \filterpages
% [the-review.pdf][1:16][width=0pt]
\insertpages[the-review.pdf][width=0pt
]
\setuppagenumbering[location=,alternative=doublesided]
\setuparranging[2DOWN]
\starttext
% \copypages
% [the-review.pdf]
% [scale=1000,
% offset=0pt]
% \filterpages
% [the-review.pdf][1:16][width=0pt]
\insertpages[the-review.pdf][width=0pt]
\stoptext
I wonder how this imposes
\starttext
Hi Mohamed!
Mohamed Bana schrieb:
hi folks,
assuming x.pdf has more than 1 page, this only inserts the first. i'd
like to insert all the pages. how would i do that?
\filterpages[file.pdf][1:6][width=18cm]
see
http://wiki.contextgarden.net/Including_pages_from_PDF_document
for more
=no, marking=off]
\starttext
\filterpages[ZittrainTheFutureoftheInternet.pdf][4:351][height=21cm]
\stoptext
The PDF file can be downloaded from
http://futureoftheinternet.org/static/ZittrainTheFutureoftheInternet.pdf.
The issue here is that I get a resulting paper size with the filius
height
PDF, I'd look after placement
options of \filterpages.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___
If your
[filius][A4,landscape]
\setuparranging [2UP,doublesided]
\setuplayout [backspace=0pt,
topspace=0pt,
width=middle,
height=middle,
location=middle,
header=0pt,
footer=0pt,
grid=no, marking=off]
\starttext
\filterpages
,doublesided]
\setuplayout [backspace=0pt,
topspace=0pt,
width=middle,
height=middle,
location=middle,
header=0pt,
footer=0pt,
grid=no, marking=off]
\starttext
\filterpages[ZittrainTheFutureoftheInternet.pdf][4:351][height=21cm]
\stoptext
The PDF file can
[backspace=0pt,
topspace=0pt,
width=middle,
height=middle,
location=middle,
header=0pt,
footer=0pt,
grid=no, marking=off]
\starttext
\filterpages[ZittrainTheFutureoftheInternet.pdf][4:351][height=21cm]
\stoptext
The PDF file can be downloaded from
http
already solved my problem, but I believe it would be
nice to add some \processenumeratedlist (well, some better name should
be given!) command to ConTeXt one day. That way it would be possible
to process some commands like
\filterpages[file.pdf][1,3,5]
also with
\filterpages[file.pdf][1-3,5,7-11
Mojca Miklavec wrote:
Taco's solution already solved my problem, but I believe it would be
nice to add some \processenumeratedlist (well, some better name should
be given!) command to ConTeXt one day. That way it would be possible
to process some commands like
\filterpages[file.pdf][1,3,5
All,
I am aware of \filterpages but I would like to be able to insert part of a
single page from a multi page pdf and I have not been able to find anything
on the list of manuals. (\clip does not seem to work with \filterpages).
Does anybody have any ideas?
TIA
--
Nigel
53 matches
Mail list logo