![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
19 Jul
2006
19 Jul
'06
1:53 p.m.
On Wed, 19 Jul 2006, Ralf Schmitt wrote:
texexec --pdfselect --selection=1:10 yourfile.pdf --result=anotherfile
That would work. The problem I have is that I don't know where to split the pdf file (but I know where to split the context file).
If you know about make, you could write a nice Makefile, that takes as input a temporary file generated by ConTeXt. Example for generating such a file: \newwrite\myTmpFile \openout\myTmpFile \jobname-pages.tmp \starttext \dorecurse{6}{\chapter{bla}} \page\write\myTmpFile{chapter7=\currentpage} \dorecurse{6}{\chapter{bla}} \page\write\myTmpFile{chapter13=\currentpage} \dorecurse{6}{\chapter{bla}} \write\myTmpFile{end=\currentpage} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/