ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ConTeXt NTG list <ntg-context@ntg.nl>
Subject: Re: Splitting PDF-files
Date: Fri, 01 Feb 2002 15:55:27 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020201155010.02af5e00@server-1> (raw)
In-Reply-To: <3C5AA5A5.54B54902@WbMT.TUDelft.NL>

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


      reply	other threads:[~2002-02-01 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-01 14:26 Ron van Ostayen
2002-02-01 14:55 ` Hans Hagen [this message]

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=5.1.0.14.1.20020201155010.02af5e00@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).