From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42735 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: hiding content Date: Fri, 25 Jul 2008 09:46:22 +0200 Message-ID: <326847810807250046x5d877381r6751f7e4e75f36b3@mail.gmail.com> References: <326847810807240351g5ad3fb5bs630f893ff3d73cc9@mail.gmail.com> <326847810807240534t3033b46bhc728e49c9402e8da@mail.gmail.com> <115224fb0807240603j6dd8a4e0rdf361e5b33d74c83@mail.gmail.com> <326847810807240621s33ee5555gc4e6024e00528cd2@mail.gmail.com> <1216913175.19133.20.camel@elbereth> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0941762337==" X-Trace: ger.gmane.org 1216972062 11694 80.91.229.12 (25 Jul 2008 07:47:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 07:47:42 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 25 09:48:32 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 1KMI2Q-0007Qm-5H for gctc-ntg-context-518@m.gmane.org; Fri, 25 Jul 2008 09:48:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C2251FD0A; Fri, 25 Jul 2008 09:47:29 +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 26172-09-8; Fri, 25 Jul 2008 09:46:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D03BB1FC90; Fri, 25 Jul 2008 09:46:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC2EF1FC90 for ; Fri, 25 Jul 2008 09:46:34 +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 26090-01-8 for ; Fri, 25 Jul 2008 09:46:24 +0200 (CEST) Original-Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by ronja.ntg.nl (Postfix) with ESMTP id 3558B1FC61 for ; Fri, 25 Jul 2008 09:46:23 +0200 (CEST) Original-Received: by ik-out-1112.google.com with SMTP id c21so2392770ika.2 for ; Fri, 25 Jul 2008 00:46:23 -0700 (PDT) Original-Received: by 10.210.62.12 with SMTP id k12mr1533361eba.174.1216971982727; Fri, 25 Jul 2008 00:46:22 -0700 (PDT) Original-Received: by 10.210.136.3 with HTTP; Fri, 25 Jul 2008 00:46:22 -0700 (PDT) In-Reply-To: <1216913175.19133.20.camel@elbereth> 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:42735 Archived-At: --===============0941762337== Content-Type: multipart/alternative; boundary="----=_Part_77914_33377285.1216971982690" ------=_Part_77914_33377285.1216971982690 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Instead of looking to insert "exactly the same amount of blank space as if the content would be typeset", is it possible to generate, in one compile job, the document's preview version (*) with its full version (non-interactive) table of contents (TOC), index, list of figures, ... instead ? (*) using hidden texblocks, or \new\ifhidden ... \ifhidden ... \else ... \fi ( without the spooky phantom thingies ), showing a text block indicating "this part is hidden", to hide whatever is required ( headers, linebreaks, tables, figures etc. ) Or... Create a batch file to - first generate the full version, then - generate the preview version, then - replace the preview version's TOC, index, list of figures, ... with the full version's (non-interactive one) ? Alan ------=_Part_77914_33377285.1216971982690 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Instead of looking to insert "exactly the same amount of blank space as if the content would be typeset", is it possible to generate, in one compile job, the document's preview version (*) with its full version (non-interactive) table of contents (TOC), index, list of figures, ... instead ?

(*) using hidden texblocks, or \new\ifhidden ... \ifhidden ... \else ... \fi ( without the spooky phantom thingies ), showing a text block indicating "this part is hidden", to hide whatever is required ( headers, linebreaks, tables, figures etc. )

Or...

Create a batch file to
- first generate the full version, then
- generate the preview version, then
- replace the preview version's TOC, index, list of figures, ... with the full version's (non-interactive one) ?

Alan
------=_Part_77914_33377285.1216971982690-- --===============0941762337== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0941762337==--