From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/431 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: BIG PDF files with LOTS of images Date: Tue, 25 May 1999 10:31:41 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <374A5FED.C1F2223E@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 1035391291 24014 80.91.224.250 (23 Oct 2002 16:41:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:41:31 +0000 (UTC) Cc: Context List Original-To: Matthew.Baker@gmd.de Xref: main.gmane.org gmane.comp.tex.context:431 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:431 Matthew Baker wrote: > This massive monstrosity I have been working on for the past few weeks is > finally nearly ready for the printers, who are graciously accepting it in > PDF form. Now I have a problem: this document doesn't have many pages but > it has a *lot* of images. Acrobat grows in size with each page and it > runs out of memory before I've browsed very far into the document. I'd This sounds like an acrobat bug. Did you try version 4? (Pleas keep version 3on you system for more accurate viewing). > like Acrobat to clear all it's memory before loading the next page. The > file isn't that big (only a few meg) so it must be storing all the There is an option to turn off the page cache in the preferences. > embedded JPEG images internally as uncompressed bitmaps. Is this problem > related to PDF storing images globally so that they can be reused (I'm no Graphics are object anyway. Context does reuse them by default, and you can turn this behavior off, but this will not solve the problem. They still are xobjects. > PDF expert but I have vague recollections of it doing this)? If so, can > that be turned off in context so that the images are deleted from memory > after use? And does this have anything to do with the preset option in > externalfigure (which dumps TeX errors when I play with it)? Please show me the errors! The preset option has nothing to do with this. You seldom (never) need to use this. It tells context not to determine the dimensions (default with for instance movies, that are always scaled by the viewer). The errors can be due to overflows when (nearly) zero dimensions are used. One seldom has to mess around with preset, sometimes with preview (movies) and also seldom with object (only when the illustration changes while the name is the same). > One more question: what does one do to make PDF bookmarks? From what I > can tell, I just need something like > > \placebookmarks[section] > \setupinteraction[state=start] This must come before ths \placebookmarks. > \setuplist > [section] > [criterium=all, > interaction=all] This is unrelated to bookmarks. > which I try but it doesn't seem to do anything. I get promising looking > entries in my tui file with bm:: as the name of the list so I figure I > must be close. You can locally overload a chapter title by saying: % \chapter{het eerste hoofdstuk} % % \bookmark {de eerste bookmark} So here, \bookmark overloads the \chapter title. Keep inmind that, although I do some conversion, it will never be 100%, due to pdfdoc encoding and plain strings. % \placebookmarks [hoofdstuk,paragraaf,subparagraaf,subsubparagraaf,mylist] % [open list] When you define a list with \definelist[mylist] you can also add marks that are not in titles, saying \bookmark[mylist]{whatever}. BTW, no problem in including figures etc too. The second argument of \placebookmark specifies which ones to open. 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 -----------------------------------------------------------------