From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/575 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Splitting documents Date: Tue, 22 Jun 1999 12:48:12 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <376F69EC.29CE957D@wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391428 25245 80.91.224.250 (23 Oct 2002 16:43:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:43:48 +0000 (UTC) Cc: Context List Original-To: Matthew.Baker@gmd.de Xref: main.gmane.org gmane.comp.tex.context:575 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:575 Matthew Baker wrote: > Is it possible to split documents into several parts AND keep links > working? I guess that using texexec's --pages option will break links. > The idea is to put one page per file of 5 pages per file or something so > that users don't have to download 10Mb when viewing something online. When you optimize a file first (using acrobat exchange) only the relevant part of the file is fetched, so there you will not gain so much, especially because when skipping to another subdoc all fonts (probably another subset) will be downloaded. One way of speeding up as well as bringing down file size is saying: \setupinteraction [page=yes] because from that moment no named destinations will be used but page ones (which is btw one reason why context can produce pdf with huge amounts of links without stressing the viewer). Splitting up is kind of tricky, because all refs automatically must become file based ones and page refs should be recalculated. Given the way context is set up, I only have to adapt a few macros to handle this and for convenience texexec would indeed handle the splitting (something like: split this up in 10 page documents). Again, not that difficult, because the ingredients are there already. I'll think it over -) Another approach is to split up a document in logical entyties from the start, using cross document references, \useexternaldocument[explanation][doc-21] ... \in{figure}[explanation::reference] ... etc etc. Cross document referencing *is* already part of context, including cross document reference checking. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------