[NTG-context] Re: offset with \copypages

2024-03-21 Thread Wolfgang Schuster
Peter Münster schrieb am 21.03.2024 um 15:04: Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext

[NTG-context] offset with \copypages

2024-03-21 Thread Peter Münster
Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext \copypages[test-file.pdf] \stoptext How could I

[NTG-context] Re: [ \copypages ]

2024-01-18 Thread Floris van Manen via ntg-context
On 18/01/2024 12:10, Hans Hagen via ntg-context wrote: yes but experimental and not yet documented I don't mind experimenting with it. e.g. I try to change the font color in existing pdf documents from black to blue. At the moment my workaround is using mutool to export pages to svg.

[NTG-context] Re: [ \copypages ]

2024-01-18 Thread Hans Hagen via ntg-context
On 1/17/2024 10:20 PM, vm via ntg-context wrote: Is there a (hidden) option that allows for changing the font color of external included pdfs yes but experimental and not yet documented Hans -

[NTG-context] Re: [ \copypages ]

2024-01-17 Thread Henning Hraban Ramm
Am 17.01.24 um 22:20 schrieb vm via ntg-context: Is there a (hidden) option that allows for changing the font color of external included pdfs \copypages[file.pdf][color=blue] does not work as intended ;-) No, it can’t. You can try to use transparency: put a colored area on top of the PDF

[NTG-context] [ \copypages ]

2024-01-17 Thread vm via ntg-context
Is there a (hidden) option that allows for changing the font color of external included pdfs \copypages[file.pdf][color=blue] does not work as intended ;-) .Floris ___ If your question is of interest to others

[NTG-context] Clipping multiple PDFs

2022-08-17 Thread jethro Reuel via ntg-context
Hello, I am trying to put multiple PDF’s that were typeset differently into one document without modifying the individual files themselves. I came up with this: \starttext \copypages[ass1.pdf][][scale=950] \copypages[ass2.pdf][][scale=950] … stoptext The problem is the original page numbers

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

Re: [NTG-context] numbering pages included by \copypages

2020-09-28 Thread Alan Bowen
After further testing guided by Hans’ suggestion, I now have \setupexternalfigures[location=default] \setuplayer[preset=rightbottom, method=overlay]{} \setuppagenumbering[color=darkmagenta] \starttext \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages}{ \startTEXpage[pagestate=start]

Re: [NTG-context] numbering pages included by \copypages

2020-09-25 Thread Hans Hagen
On 9/25/2020 5:53 AM, Aditya Mahajan wrote: On Fri, 25 Sep 2020, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 24.09.2020 um 23:48: On Thu, 24 Sep 2020, Alan Bowen wrote: Any suggestions or pointers will be most welcome. See if this gives you any ideas

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Aditya Mahajan
On Fri, 25 Sep 2020, Wolfgang Schuster wrote: > Aditya Mahajan schrieb am 24.09.2020 um 23:48: > > On Thu, 24 Sep 2020, Alan Bowen wrote: > > > Any suggestions or pointers will be most welcome. > > > > See if this gives you any ideas > > > >

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Wolfgang Schuster
be possible to do get the same result using the .pdf files of each document instead. \copypages is promising: it includes the. pdf files and the counter in the resultant .prd file is correct. But what I still have to get is the page number on all pages of the included .pdf files except the first page in each

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Aditya Mahajan
ing the .pdf files of each document instead. > > \copypages is promising: it includes the. pdf files and the counter in the > resultant .prd file is correct. But what I still have to get is the page > number on all pages of the included .pdf files except the first page

[NTG-context] numbering pages included by \copypages

2020-09-24 Thread Alan Bowen
I need to include several documents in a single paginated file. Treating the source file (.tex) of each document as a component file in a .prd file is one way to go. But I was wondering if it might be possible to do get the same result using the .pdf files of each document instead. \copypages

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

2020-09-06 Thread Jan Willem Flamma
 2. Use \setvariables or \setupdocument to set the document title, revision etc. 3. Use \startsectionblockenvironment to move setups from the document content into the environment file. 4. Use pagestate=start to increase the page counter with \startstandardmakeup. 5. Set search path for figur

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

2020-09-04 Thread Wolfgang Schuster
setups from the document content into the environment file. 4. Use pagestate=start to increase the page counter with \startstandardmakeup. 5. Set search path for figures (\copypages use the figure mechanism) with \setupexternalfigure[location=...]. Below is a modified (but untested) version

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

2020-09-04 Thread Jan Willem Flamma
% Load external PDF documents\setuppagenumber[state=stop]\copypages[External PDF/app1.pdf][n=4] \stopproduct=   The env-WA.tex file (below is about pagenumbering only)=% Start chapter on right (odd) page, pagenumber = bottom right\setuppagenumbering    [alternative=doubl

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

2020-09-03 Thread jbf
] \startappendices \component co-ap-01 \component co-ap-02 \stopappendices \stopbackmatter % Load external PDF documents \setuppagenumber[state=stop] \copypages[External PDF/app1.pdf][n=4] \stopproduct = *The env-WA.tex file (below is about pagenumbering only)* = % Start

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

2020-09-03 Thread Jan Willem Flamma
   [leftpage]   [setups=pagenumber:left]\setupbackgrounds   [rightpage]   [setups=pagenumber:right]\startappendices   \component co-ap-01   \component co-ap-02\stopappendices\stopbackmatter % Load external PDF documents\setuppagenumber[state=stop]\copypages[External PDF/app1.pdf][n=4] \stopproduct

Re: [NTG-context] broken links in PDF included via \copypages (PoC fix attached)

2019-03-22 Thread Hans Hagen
ream-data=uncompress --object-streams=disable and vim, and I'm attaching that. The equation references work in PDF readers but stop working after passing through \copypages[Hello-world-weird.pdf][][interaction=yes]. ___ If your que

[NTG-context] broken links in PDF included via \copypages (PoC fix attached)

2019-03-22 Thread Tomas Janousek
t source code. Thanks! I'm not sure I can attach the actual PDF as it's a recent Elsevier pub, but I managed to manually craft one from the ConTeXt hello world using qpdf --stream-data=uncompress --object-streams=disable and vim, and I'm attaching that. The equation references work in PDF readers

Re: [NTG-context] \copypages and page numbering

2016-12-22 Thread Hans Hagen
On 12/20/2016 11:06 PM, Andrea Valle wrote: Dear all, I’m assembling into a unique pdf the proceedings of a conference. They have been created by various sw (latex, word, writer etc). In order to include the papers, I’m just using a series of commands like \copypages[CIMXXI_contributi/dapelo

[NTG-context] \copypages and page numbering

2016-12-20 Thread Andrea Valle
Dear all, I’m assembling into a unique pdf the proceedings of a conference. They have been created by various sw (latex, word, writer etc). In order to include the papers, I’m just using a series of commands like \copypages[CIMXXI_contributi/dapelo][][scale=950] They are not provided with page

[NTG-context] \startTEXpage and alternative=doublesided woes...

2013-06-21 Thread Jacob Peck
to the pagelayout set up by doublesided. When I use \startTEXpage \externalfigure... \stopTEXpage \startTEXpage \externalfigure... \stopTEXpage I get an extra page inserted between the two that I'm including. When I use \setuppagesize[letter][letter] \copypages[...][n=2] \setuppagesize[draft][draft

Re: [NTG-context] \startTEXpage and alternative=doublesided woes...

2013-06-21 Thread Aditya Mahajan
] \copypages[...][n=2] \setuppagesize[draft][draft] I get the desired results, aside from the margins... the pages are imported into the pagelayout as defined by doublesided. Please post a minimum working example that illustrates the problem. Aditya

[NTG-context] \copypages and page numbers

2013-02-12 Thread Troy Henderson
I have a scanned (raster) PDF that I am inserting into my document via \copypages. However, the document's page number is not showing on top of this raster PDF page (presumably because \copypages places the page on top of everything else). How can I ensure that the page number is on top

Re: [NTG-context] Rotating \copypages

2013-02-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 31 Jan 2013 19:36:08 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: \copypages[…][][orientation=90] Wolfgang Hello, kind request: could some info about three parameter alternative (or other changes/extensions) of \copypages be added to wiki? TIA. Lukas -- Ing

[NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
and the height of foo.pdf is 11in. I would like to use \copypages to insert foo.pdf rotated 90 degrees. How can this be done? Troy Henderson ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Rotating \copypages

2013-01-31 Thread Wolfgang Schuster
as-is and thus is being clipped since the height of a letter size page is 8.5in and the height of foo.pdf is 11in. I would like to use \copypages to insert foo.pdf rotated 90 degrees. How can this be done? \copypages[…][][orientation=90] Wolfgang

Re: [NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
\copypages[…][][orientation=90] Excellent. Thank you! Troy ___ 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

[NTG-context] Scale argument for copypages broken

2013-01-30 Thread Marco Patzer
Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] Scale argument for copypages broken

2013-01-30 Thread Wolfgang Schuster
Am 30.01.2013 um 18:58 schrieb Marco Patzer home...@lavabit.com: Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext \copypages[cow][][scale=100] Hans explained this change a while ago. Wolfgang

Re: [NTG-context] Scale argument for copypages broken

2013-01-30 Thread Marco Patzer
On 2013–01–30 Wolfgang Schuster wrote: \copypages[cow][][scale=100] Hans explained this change a while ago. I found the thread. Thanks. Marco signature.asc Description: Digital signature ___ If your question

[NTG-context] arranging vs. \page[last]

2013-01-28 Thread Henning Hraban Ramm
] \chapter{Last} \input tufte \stoptext (Workaround: make a not-arranged PDF and arrange \copypages) Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer

Re: [NTG-context] PDF Bookmarks

2013-01-26 Thread Troy Henderson
\setuphead[chapter,section,subsection][number=no,placehead=no] Outstanding. The only problem that I have now is that issuing \chapther{Foo} immediately before \copypages[path/to/file.pdf] forces a new (blank) page before the external page is inserted. Without the \chapter{Foo} command

Re: [NTG-context] PDF Bookmarks

2013-01-26 Thread Troy Henderson
\chapter{Foo}\page[no] \copypages[path/to/file.pdf] did the trick. Troy ___ 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

Re: [NTG-context] PDF Bookmarks

2013-01-26 Thread Rogers, Michael K
On Jan 26, 2013, at 4:21 PM, Troy Henderson thend...@gmail.com wrote: \chapter{Foo}\page[no] \copypages[path/to/file.pdf] did the trick. Troy This should work, too: \setuphead[chapter,section,subsection][number=no,placehead=no,page=no] This e-mail

[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] \copypages[][n=...] not working

2012-10-28 Thread Hans Hagen
On 23-10-2012 12:32, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I've just updated Ctx: ConTeXt ver: 2012.10.22 23:51 MKIV fmt: 2012.10.23 int: english/english - it seems \copypages ignores the 'n' specification: \starttext \copypages[t2.pdf][n=1] \stoptext - both

Re: [NTG-context] \copypages[][n=...] not working

2012-10-28 Thread Procházka Lukáš
Hello Hans, thanks for the patch; I guess it will be added to the next beta - ? Best regards, Lukas On Sun, 28 Oct 2012 11:34:41 +0100, Hans Hagen pra...@wxs.nl wrote: \def\page_selectors_copy[#filename][#settings][#figuresettings]% {\bgroup \getfiguredimensions[#filename]%

[NTG-context] \copypages[][n=...] not working

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I've just updated Ctx: ConTeXt ver: 2012.10.22 23:51 MKIV fmt: 2012.10.23 int: english/english - it seems \copypages ignores the 'n' specification: \starttext \copypages[t2.pdf][n=1] \stoptext - both t2.pdf pages are inserted. Any command option changed? Fix needed

[NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Thanks Charles

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Wolfgang Schuster
Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Can you try this: \starttext

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Hans Hagen
On 15-10-2012 17:25, Charles wrote: Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages

Re: [NTG-context] Bug in page-sel.mkvi

2012-08-24 Thread Hans Hagen
On 23-8-2012 22:44, Sietse Brouwer wrote: There's a typo in page-sel.mkvi that makes \copypages not work. I'll fix it, thanks for noticing Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Bug in page-sel.mkvi

2012-08-23 Thread Sietse Brouwer
Hi Hans, There's a typo in page-sel.mkvi that makes \copypages not work. Cheers, Sietse \def\page_selectors_copy[#filename][#settings][#figuresettings]% {\bgroup \getfiguredimensions[#filename]% \global\c_page_selectors_n\noffigurepages\relax \setupcurrentwithpages[\c!marking=\v!off,\c

Re: [NTG-context] crop PDF pages

2011-09-20 Thread Henning Hraban Ramm
much space and as a result the texts are too small. I want to use commands like \insertpages to crop all the pages with different bounding box settings for odd/even pages. there's a scale option for \copypages but it's somewhat naive to use in such practical cases... At least for \externalfigure you

Re: [NTG-context] crop PDF pages

2011-09-20 Thread luigi scarso
but the huge margins take too much space and as a result the texts are too small. I want to use commands like \insertpages to crop all the pages with different bounding box settings for odd/even pages. there's a scale option for \copypages but it's somewhat naive to use in such practical cases... \clip

[NTG-context] crop PDF pages

2011-09-19 Thread Yue Wang
want to use commands like \insertpages to crop all the pages with different bounding box settings for odd/even pages. there's a scale option for \copypages but it's somewhat naive to use in such practical cases... Yue Wang

[NTG-context] \copypages[file#.pdf]

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, this kind of question was discussed once - how to include '#' character to the file name so that \copypages take it? Something like: \copypages[TZ#001.pdf] e.g. by \copypages[\MAKETEXT{TZ#001.pdf}] There was discussion about other not-so-frequent chars as well

Re: [NTG-context] \copypages[file#.pdf]

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 16:58 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, this kind of question was discussed once - how to include '#' character to the file name so that \copypages take it? Something like: \copypages[TZ#001.pdf] e.g. by \copypages[\MAKETEXT{TZ#001.pdf

Re: [NTG-context] \copypages[file#.pdf]

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
name so that \copypages take it? Something like: \copypages[TZ#001.pdf] e.g. by \copypages[\MAKETEXT{TZ#001.pdf}] There was discussion about other not-so-frequent chars as well - ! # $ % @ ^ _ - any evolution? You can use \asciimode to make them character for the whole document or restrict

[NTG-context] \start/stopTEXpage resets page layout?

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following code: \setuplayout[page] \starttext AAA \page \copypages[cow.pdf] BBB \startTEXpage \externalfigure[cow] \stopTEXpage \page CCC \stoptext Texts AAA and BBB are written from the strict left top corner of the page - page has

[NTG-context] \copypages and friends

2011-03-10 Thread Willi Egger
Hello Hans, I believe that there is a bug or something has changed from Context version 14 february and version 25 february. While in the older version the commands \insertpages and \copypages work as expected, the newest beta simply ignores the commands. There is no error message. Kind

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
you in advance. On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn curiousle...@gmail.com wrote: Hello, I am trying to use the \copypages command to include a pdf file, say file3pages.pdf with three pages in my context document. First, I issued the command:    \copypages[file3pages.pdf

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Hans Hagen
On 23-2-2011 12:11, Curiouslearn wrote: Anyone? If it cannot be done, I would appreciate if someone can say that. I i have no time now, but you can always do \startTEXpage \hskip1cm\externalfigure[...][page=1] \stopTEXpage -

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Thanks very much Hans. I suppose I will have to issue the command for each page separately then (with possibly a loop). I was wondering if there was an option in \copypages or some other command that applied to each page of the PDF file. But having heard from you, now I know there isn't. Thanks

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
in advance. On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn curiousle...@gmail.com wrote: Hello, I am trying to use the \copypages command to include a pdf file, say file3pages.pdf with three pages in my context document. First, I issued the command: \copypages[file3pages.pdf] The pages

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
the \copypages command to include a pdf file, say file3pages.pdf with three pages in my context document. First, I issued the command:    \copypages[file3pages.pdf] The pages from file3pages.pdf are too close to the left margin. There is not enough white space on the left whereas, there is a lot of space

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. lua is not all that different from other languages such as python or perl; once you've grasped the

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread luigi scarso
On Wed, Feb 23, 2011 at 3:10 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. lua is not

Re: [NTG-context] including pdf

2011-02-23 Thread Tom
I have a somewhat related question in that I am creating a document that will be used as an appendix to other documents. So, I can control the various aspects of the PDF that is created and use \copypages. What I want to do is number the pages A-1, etc. (or B-1, etc. depending on which appendix

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. I was wondering if Aditya's filter module could be used to use Python instead of Lua, but I suppose I should

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Andreas Harder
Am 23.02.2011 um 16:27 schrieb Aditya Mahajan: On Wed, 23 Feb 2011, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. I was wondering if Aditya's filter module could be used

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Thanks to all. This time around I will use the lua route since I know the number of pages and it seems more natural to me...I will understand what it is doing even if I look at the thing after one month. Bharat On Wed, Feb 23, 2011 at 10:27 AM, Aditya Mahajan adit...@umich.edu wrote: On Wed, 23

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Marco
On 2011-02-23 Andreas Harder ahar...@uni-koblenz.de wrote: \getfiguredimensions[filename] It seems that this is broken with the newest beta – at least for me. Can someone confirm? Confirmed on solaris x86 LuaTeX ver: beta-0.65.0-2010121317 ConTeXt ver: 2011.02.18 17:17 and ConTeXt ver:

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-22 Thread Curiouslearn
to include pages from the pdf file. I want to increase the left side margin on the pages on which included file is present. Thank you in advance. On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn curiousle...@gmail.com wrote: Hello, I am trying to use the \copypages command to include a pdf file, say

Re: [NTG-context] including pdf

2011-02-21 Thread Andrea Valle
Mahajan wrote: On Wed, 2 Feb 2011, Andrea Valle wrote: Ok, let's reformulate partially If I have: \setuppapersize[A4] \setuppagenumbering[location=left, state=start] \starttext \copypages[pdf/Test.pdf][scale=1000] \stoptext Looking at the resulting pdf, it seems that the original pdf

Re: [NTG-context] including pdf

2011-02-02 Thread Andrea Valle
, toc etc Now, I've used copypages. The fact is that the included pdfs do not bleed over all the page, their inclusion seems to depend on some dimension I'm not able to control via setuplayout. So, I tested startpagefigure. Works fine but I can include (well, I'm able to) a single page. More

Re: [NTG-context] including pdf

2011-02-02 Thread Andrea Valle
Ok, let's reformulate partially If I have: \setuppapersize[A4] \setuppagenumbering[location=left, state=start] \starttext \copypages[pdf/Test.pdf][scale=1000] \stoptext Looking at the resulting pdf, it seems that the original pdf is mirrored (apart from half a line at the bottom

Re: [NTG-context] including pdf

2011-02-02 Thread Aditya Mahajan
On Wed, 2 Feb 2011, Andrea Valle wrote: Ok, let's reformulate partially If I have: \setuppapersize[A4] \setuppagenumbering[location=left, state=start] \starttext \copypages[pdf/Test.pdf][scale=1000] \stoptext Looking at the resulting pdf, it seems that the original pdf is mirrored

[NTG-context] including pdf

2011-01-31 Thread Andrea Valle
Hi list! I have to create the proceedings of a conference. I'm collecting A4 pdfs (from word/latex templates), and I have to stick them together, adding cover, toc etc Now, I've used copypages. The fact is that the included pdfs do not bleed over all the page, their inclusion seems to depend

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

2010-11-20 Thread Procházka Lukáš
). - I can't use \copypages for the same reason as \insertpages. - So the one possibility is to use \filterpages as it offers possibility to select exact pages or their ranges. The initial problem was that \filterpages scales inserted pages to \textwidth so I tried to play with the width option

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

2010-11-18 Thread Peter Rolf
] \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 to scale to paper width (or any arbitrary value)? maybe \definelayout[fullpage] [height

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

[NTG-context] Horizontal vertical shift when inserting multipage PDF

2010-11-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
.) See the code (and result in the attachments): --- 1.mkiv \starttext \dorecurse{8}{\input tufte\par} \stoptext --- 2.mkiv \starttext AAA\page \copypages[1.pdf]\page BBB \stoptext --- Cheers, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon

Re: [NTG-context] Insert page number into multi-page PDF

2010-09-07 Thread Vnpenguin
On Tue, Sep 7, 2010 at 00:00, Hans Hagen pra...@wxs.nl wrote: \setuplayout[page] \copypages[yourfile.pdf][n=10] you can put stuff on top using the background mechanisms Could you give me an example about background mechanism ? Thanks

Re: [NTG-context] Insert page number into multi-page PDF

2010-09-07 Thread Wolfgang Schuster
Am 07.09.2010 um 18:40 schrieb Vnpenguin: On Tue, Sep 7, 2010 at 00:00, Hans Hagen pra...@wxs.nl wrote: \setuplayout[page] \copypages[yourfile.pdf][n=10] you can put stuff on top using the background mechanisms Could you give me an example about background mechanism

Re: [NTG-context] Insert page number into multi-page PDF

2010-09-07 Thread Vnpenguin
On Tue, Sep 7, 2010 at 18:52, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 07.09.2010 um 18:40 schrieb Vnpenguin: On Tue, Sep 7, 2010 at 00:00, Hans Hagen pra...@wxs.nl wrote: \setuplayout[page] \copypages[yourfile.pdf][n=10] you can put stuff on top using the background

Re: [NTG-context] Insert page number into multi-page PDF

2010-09-06 Thread Hans Hagen
) * Include each page of PDF as picture * Build PDF with ConTeXt but I can not found an example for that. Any ideas for help? \setuplayout[page] \copypages[yourfile.pdf][n=10] you can put stuff on top using the background mechanisms

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 luigi scarso
/ http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ hmm maybe \copypages -- luigi

Re: [NTG-context] inserting pdf

2009-10-08 Thread Taco Hoekwater
luigi scarso wrote: hmm maybe \copypages Or, if you need more control, something like this: \getfiguredimensions[x.pdf]% \imgcount=\noffigurepages\relax \dorecurse {\the\imgcount} {\externalfigure [x.pdf] [page=\recurselevel]} Best wishes, Taco

Re: [NTG-context] inserting pdf

2009-10-08 Thread Mohamed Bana
thank you both. why can't u just extend the the original macro to take a page range? e.g., [page=1-2] Taco Hoekwater wrote: luigi scarso wrote: hmm maybe \copypages Or, if you need more control, something like this: \getfiguredimensions[x.pdf]% \imgcount=\noffigurepages

Re: [NTG-context] Using texexec to prepare single-sided PDF for double-sided printing

2009-02-23 Thread Wolfgang Schuster
have a large left margin, and even (left) pages a large right margin. \setuppagenumbering[alternative=doublesided] \setuplayout[horoffset=1cm] \setuplayout[page] \starttext \copypages[document] \stoptext you can add this to the wiki. Wolfgang

Re: [NTG-context] Using texexec to prepare single-sided PDF for double-sided printing

2009-02-23 Thread John Devereux
binding. I would like to change this so that odd (right) pages have a large left margin, and even (left) pages a large right margin. \setuppagenumbering[alternative=doublesided] \setuplayout[horoffset=1cm] \setuplayout[page] \starttext \copypages[document] \stoptext Thanks, that's great

Re: [NTG-context] Using texexec to prepare single-sided PDF for double-sided printing

2009-02-23 Thread Wolfgang Schuster
a large left hand margin on each page, so as to allow binding. I would like to change this so that odd (right) pages have a large left margin, and even (left) pages a large right margin. \setuppagenumbering[alternative=doublesided] \setuplayout[horoffset=1cm] \setuplayout[page] \starttext \copypages

Re: [NTG-context] Using texexec to prepare single-sided PDF for double-sided printing

2009-02-23 Thread John Devereux
] \setuplayout[horoffset=1cm] \setuplayout[page] \starttext \copypages[document] \stoptext Thanks, that's great! Is there an easy way to compensate for the original offset? The original pdf has a large left margin and a small right one. Replace 'page' with the name of your document. \setuplayout

Re: [NTG-context] issue with imposition

2009-01-19 Thread Pablo Rodríguez
=210mm,width=123mm] \setuppapersize [Mypaper][Mypaper] \setuplayout [page] \starttext \copypages [input.pdf] [scale=905, offset=0pt] \stoptext The resulting pdf-file should then be arranged. However I would suggest not to use 2UP. Arranging the whole file (351 pages) with 2UP results

Re: [NTG-context] issue with imposition

2009-01-18 Thread Willi Egger
=123mm] \setuppapersize [Mypaper][Mypaper] \setuplayout [page] \starttext \copypages [input.pdf] [scale=905, offset=0pt] \stoptext The resulting pdf-file should then be arranged. However I would suggest not to use 2UP. Arranging the whole file (351 pages) with 2UP results in a rather

Re: [NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
center the imposed pages, both vertically and horizontally, to define a The following code in a tex-file. \definepapersize[Mypaper][height=210mm,width=123mm] \setuppapersize [Mypaper][Mypaper] \setuplayout [page] \starttext \copypages [input.pdf] [scale=905, offset=0pt] \stoptext

[NTG-context] embedding 3d pdf

2008-11-22 Thread Michail Vidiassov
://www.iaas.msu.ru/tmp/u3d/pdf/ using \externalfigure[3dpf.pdf] \startpagefigure[3dpdf.pdf]\stoppagefigure \copypages[3dpdf.pdf][n=1] but only the preview (flat) images show up, not the 3D model, that must appear after clicking on it in Adobe Reader. File size shows that the 3D annotation data

Re: [NTG-context] setuparranging issue

2008-03-28 Thread Andrea Valle
another context file \starttext \copypages \stoptext Can't I simply use a command inside the original code? Thanks -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http

[NTG-context] Arrange a pdf file

2008-03-16 Thread Willi Egger
=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering[location=,alternative=doublesided] \starttext \copypages[code-review.pdf][width=0pt] \stoptext Resulting in a neat arranged document. However

Re: [NTG-context] acrobat reader does not open a pdf

2007-07-05 Thread Olivier Turlier
): \copypages[external-doc][width=1.1\textwidth,height=1\textheight] But i loose page numbers. (only get \lastpage) How can I achieve this ? TIA for any answer -- olivier Turlier ___ If your question is of interest

  1   2   >