From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6765 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Splitting PDF-files Date: Fri, 01 Feb 2002 15:55:27 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020201155010.02af5e00@server-1> References: <3C5AA5A5.54B54902@WbMT.TUDelft.NL> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397277 13600 80.91.224.250 (23 Oct 2002 18:21:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:21:17 +0000 (UTC) Cc: ConTeXt NTG list Original-To: Ron van Ostayen In-Reply-To: <3C5AA5A5.54B54902@WbMT.TUDelft.NL> Xref: main.gmane.org gmane.comp.tex.context:6765 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6765 At 03:26 PM 2/1/2002 +0100, Ron van Ostayen wrote: >Hi All, > >Still working on our proceedings... > >The pagenumbering problems have been solved. Thanks for all input. > >Now we have got our proceedings, but the resulting file is approx. >12Mb!! >Is it possible to force ConTeXt to automagically produce multiple pdf >files with each file containing one \part or \chapter of the document? >If so, is it possible to maintain 'clickability' from the table of >contents so parts of the file are only (down)loaded when required? i admit that i should work on that -) for the moment, the best thing is to do something (untested): file : everything.tex \startmode [all] \def\GetIt#1{\readfile{#1}{}{}} \stopmode \startnotmode[all] \def\GetIt#1{\message{skipping #1}} \stopnotmode \starttext \title{All Parts} \placelist[part][criterium=text] \page \GetIt{part1.tex} \GetIt{part2.tex} \stoptext The files part1.tex etc contain the parts and can be processed independently, and there you can set the numbers with \setupheadnumber[part][1] and alike you can process everything with: texexec --mode=all everything as well as texexec everything Hans [technically you can pick up the numbers from the main file, but i'm not sure it it works well right now] ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-pod.nl -------------------------------------------------------------------------