From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42725 Path: news.gmane.org!not-for-mail From: "Charles P. Schaum" Newsgroups: gmane.comp.tex.context Subject: Re: hiding content Date: Thu, 24 Jul 2008 10:26:15 -0500 Message-ID: <1216913175.19133.20.camel@elbereth> References: <326847810807240351g5ad3fb5bs630f893ff3d73cc9@mail.gmail.com> <326847810807240534t3033b46bhc728e49c9402e8da@mail.gmail.com> <115224fb0807240603j6dd8a4e0rdf361e5b33d74c83@mail.gmail.com> <326847810807240621s33ee5555gc4e6024e00528cd2@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216913275 7318 80.91.229.12 (24 Jul 2008 15:27:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 15:27:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 24 17:28:42 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KM2kD-0003sh-I8 for gctc-ntg-context-518@m.gmane.org; Thu, 24 Jul 2008 17:28:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 132A91FCB1; Thu, 24 Jul 2008 17:27:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13777-03-5; Thu, 24 Jul 2008 17:27:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F3C1E1FC39; Thu, 24 Jul 2008 17:26:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 35E9C1FC43 for ; Thu, 24 Jul 2008 17:26:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13776-03 for ; Thu, 24 Jul 2008 17:26:15 +0200 (CEST) Original-Received: from smtp109.sbc.mail.mud.yahoo.com (smtp109.sbc.mail.mud.yahoo.com [68.142.198.208]) by ronja.ntg.nl (Postfix) with SMTP id 97D381FC39 for ; Thu, 24 Jul 2008 17:26:12 +0200 (CEST) Original-Received: (qmail 42435 invoked from network); 24 Jul 2008 15:26:11 -0000 Original-Received: from unknown (HELO ?192.168.1.103?) (verbo.solo@sbcglobal.net@69.154.132.84 with plain) by smtp109.sbc.mail.mud.yahoo.com with SMTP; 24 Jul 2008 15:26:10 -0000 X-YMail-OSG: vW4LVGMVM1nDyGhJ0S4mEJkBQBJSTOMBf.uTGwOPNtD3_.Ujnlzdv_fThMPuIborXf_Kc_YBCry4sivWoCiYMuce_R4sAgowMvnbqtAi6D.iGVicHLtWERX9FrF6mkyIK_50SKY_sRT0.1gRpP.6gBNO X-Yahoo-Newman-Property: ymail-3 In-Reply-To: <326847810807240621s33ee5555gc4e6024e00528cd2@mail.gmail.com> X-Mailer: Evolution 2.22.3.1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42725 Archived-At: Why not, if all else fails, do a run of the completed matter to see what the pagination would be, then do something like: \newif\ifhidden % Uncomment this if you want to hide content. % \hiddentrue \ifhidden % . . . preferrably use ConTeXt-friendly pagination % commands; this was taken from a plain old TeX file. % Shove in white space or \phantom{} boxes with dummy text of % equivalent length; ConTeXt likes its own \blank{} macro. % Raw TeX stuff can mess up pagination and spacing. % % I'm not sure if a \vbox to {} works well or not here. % Just try a few ways to see. \else % Put all your usual content here. \fi It's a kludge, but it should work in a pinch. Charles On Thu, 2008-07-24 at 15:21 +0200, Alan Stone wrote: > >And you want to hide part of the content for ... > > Enabling people to view the pdf preview version (limited, containing > excerpts) before acquiring the full version. > > Alan > > On Thu, Jul 24, 2008 at 3:03 PM, Wolfgang Schuster > wrote: > On Thu, Jul 24, 2008 at 2:34 PM, Alan Stone > wrote: > > > I understood from this post > > > http://archive.contextgarden.net/message/20050708.105010.33153980.en.html > > there were issues with the different solutions offered. > > > You should give it a try, a few of the points concerned > security reasons and > old version of Acrobat Reader, there is also a wiki page about > this topic. > > http://wiki.contextgarden.net/Hiding_Content > > >>Do you want to hide only text or also figures, tables, > formulae etc. > > > > For the time being there's only text, however in a later > stage there will be > > figures/pics too. > > > >>do you need a solution that > >>will work also over page breaks. > > > > Yes, to make a preview version of a book. > > > And you want to hide part of the content for ... > > > > Wolfgang > ___________________________________________________________________________________ > If your question is of interest to others as well, please add > an entry to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________