From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4075 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: early endinput Date: Wed, 14 Feb 2001 17:01:08 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010214170108.00954100@server-1> References: <200102141411.PAA23877@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394766 22636 80.91.224.250 (23 Oct 2002 17:39:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:39:26 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: S2P development In-Reply-To: <3A8AA304.99758E24@wkap.nl> Xref: main.gmane.org gmane.comp.tex.context:4075 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4075 At 04:23 PM 2/14/01 +0100, S2P development wrote: >Han The Thanh wrote: >> >> Hi all, >> >> I have a long document, which includes several files, each corrseponds to a >> part of the document. I wish to produce only a few first pages of each, but >> don't want to touch them at all. Is there an easy way to do it in context? > >Not sure, but this *might* work: > >\everypar{\ifnum \inputlineno > 500 \endinput \fi} I think so, but better is to append to \everypar \appendtoks ... \to \everypar or to use \EveryPar{...} Hans ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------