ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Gilbert van den Dobbelsteen" <gilbert@login-bv.com>
Subject: Re: BIG PDF files with LOTS of images
Date: Tue, 25 May 1999 11:37:39 +0200	[thread overview]
Message-ID: <000f01bea692$3b94dc00$0c01a8c1@worf.login-bv.com> (raw)

>Hello,
>
>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
>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

Probably you need to disable the page cache. Acrobat indeed stores
uncompressed images, this is caused by the Windows API which only accepts
uncompressed images (not entirely true, but it is true for Acrobat).

>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
>PDF expert but I have vague recollections of it doing this)?  If so, can

This should have nothing to do with the object storage mechanism context
uses. In fact Adobe promotes object usage in their docs.

>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)?

Don''t know what preset does, sorry.

>
>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]
>\setuplist
>  [section]
>  [criterium=all,
>   interaction=all]
>
>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 must *first* enable interaction, otherwise the bookmarks go into
nirvana:

\setupinteraction[state=start]
\placebookmarks[section]        % This must be somewhere after the previous
line
\starttext
..... Lots of sections etc.
\stoptext

So make sure you first say \setupinteraction[state=start]

Cheers, Gilbert.


             reply	other threads:[~1999-05-25  9:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-25  9:37 Gilbert van den Dobbelsteen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-05-25 10:13 Gilbert van den Dobbelsteen
1999-05-25 12:13 ` Siep Kroonenberg
1999-05-25 12:45 ` Neville Dean
1999-05-25 13:14   ` Hans Hagen
1999-05-25 12:55 ` Hans Hagen
1999-05-25  6:07 Matthew Baker
1999-05-25  8:31 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000f01bea692$3b94dc00$0c01a8c1@worf.login-bv.com' \
    --to=gilbert@login-bv.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).