[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
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

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
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

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
\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

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
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

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
%% \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,

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Henning Hraban Ramm via ntg-context
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: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-18 Thread a . rosenstock
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

Re: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-15 Thread Henning Hraban Ramm
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

[NTG-context] \insertpages and remote file

2020-07-23 Thread Pablo Rodriguez
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 _

[NTG-context] using annotations for extended print handling

2020-06-14 Thread Pablo Rodriguez
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

Re: [NTG-context] troubles with latin modern and mutool

2020-03-26 Thread Damien Thiriet
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

Re: [NTG-context] troubles with latin modern and mutool

2020-03-24 Thread Pablo Rodriguez
; 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

[NTG-context] Filterpages is broken in LMTX

2019-04-08 Thread Markus Finke
\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

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
[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

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
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

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
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

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
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

Re: [NTG-context] imposition with some rotated pages

2017-08-02 Thread Willi Egger
[backspace=0pt, >topspace=0pt, > width=middle, > height=middle, >location=middle, > header=0pt, > footer=0pt] >\setupinteractionscreen[option={landscape, paper}, copies=1] > \starttext >\filterpages[report

[NTG-context] imposition with some rotated pages

2017-07-30 Thread Pablo Rodriguez
, 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

Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread cryo shock
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

Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread Pablo Rodriguez
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

Re: [NTG-context] keep interaction with \insertpages and \filterpages

2017-01-18 Thread Hans Hagen
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

Re: [NTG-context] keep interaction with \insertpages and \filterpages

2017-01-10 Thread Pablo Rodriguez
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

Re: [NTG-context] keep interaction with \insertpages and \filterpages

2017-01-09 Thread Hans Hagen
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

[NTG-context] keep interaction with \insertpages and \filterpages

2017-01-09 Thread Pablo Rodriguez
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

[NTG-context] "marking=one" with marks on more than the first page

2016-10-07 Thread Pablo Rodriguez
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

[NTG-context] not understanding basic imposition

2016-10-06 Thread Pablo Rodriguez
, 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

[NTG-context] imposition broken in latest beta?

2016-10-05 Thread Pablo Rodriguez
, 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

[NTG-context] two questions on imposition

2016-10-04 Thread Pablo Rodriguez
] \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

[NTG-context] Copy pages with keeping original page sizes

2012-12-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
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

Re: [NTG-context] Full page figure

2012-09-25 Thread Sietse Brouwer
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

[NTG-context] 2UP broken or changed?

2011-12-28 Thread Mari Voipio
[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

Re: [NTG-context] Rearranging existing A5 = A4

2011-11-02 Thread Mari Voipio
] \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

Re: [NTG-context] Rearranging existing A5 = A4

2011-11-02 Thread Markus Finke
\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

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-20 Thread Procházka Lukáš
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

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-20 Thread Hans Hagen
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 }

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-19 Thread Hans Hagen
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

[NTG-context] Scaling with \filterpages not working?

2010-11-18 Thread 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] \stoptext --- But I'm still getting the same picture - scaled to (probably

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-18 Thread Peter Rolf
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

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-18 Thread Peter Münster
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

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
: --- \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

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Willi Egger
, location=middle, header=0pt, footer=0pt] \setuppagenumbering[location=,alternative=doublesided] \setuparranging[2DOWN] \starttext % \copypages % [the-review.pdf] % [scale=1000, % offset=0pt] % \filterpages

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Hans Hagen
, 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

Re: [NTG-context] Magazine imposition.

2010-02-18 Thread Willi Egger
] \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

Re: [NTG-context] inserting pdf

2009-10-08 Thread Peter Rolf
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

Re: [NTG-context] issue with imposition

2009-01-19 Thread Pablo Rodríguez
=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

Re: [NTG-context] issue with imposition

2009-01-19 Thread Henning Hraban Ramm
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

[NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
[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

Re: [NTG-context] issue with imposition

2009-01-18 Thread Willi Egger
,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

Re: [NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
[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

Re: [NTG-context] How to \processcommalist?

2005-07-04 Thread Mojca Miklavec
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

Re: [NTG-context] How to \processcommalist?

2005-07-04 Thread Hans Hagen
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

[NTG-context] Selecting a page as a figure from a pdf

2003-12-15 Thread Nigel King
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