From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42752 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: hiding content Date: Fri, 25 Jul 2008 16:40:49 +0200 Message-ID: <326847810807250740r33cfc20dh2599c380ede3fbdf@mail.gmail.com> References: <326847810807240351g5ad3fb5bs630f893ff3d73cc9@mail.gmail.com> <326847810807240534t3033b46bhc728e49c9402e8da@mail.gmail.com> <115224fb0807240603j6dd8a4e0rdf361e5b33d74c83@mail.gmail.com> <326847810807240621s33ee5555gc4e6024e00528cd2@mail.gmail.com> <115224fb0807240632o5665794j7a3848ecfcf91b19@mail.gmail.com> <20080724194307.GA18010@gaston.couberia.bzh> <115224fb0807250453q35969212k2825ba7a2aab6e4f@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0828005220==" X-Trace: ger.gmane.org 1216998633 2063 80.91.229.12 (25 Jul 2008 15:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 15:10:33 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 25 17:11:22 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 1KMOwq-0001Ck-Il for gctc-ntg-context-518@m.gmane.org; Fri, 25 Jul 2008 17:11:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A59531FDEB; Fri, 25 Jul 2008 17:10:16 +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 30941-02-4; Fri, 25 Jul 2008 17:09:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A31021FD62; Fri, 25 Jul 2008 17:09:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 08AF91FD1B for ; Fri, 25 Jul 2008 17:09:25 +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 30940-02-2 for ; Fri, 25 Jul 2008 17:08:45 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by ronja.ntg.nl (Postfix) with ESMTP id BF35D1FDE9 for ; Fri, 25 Jul 2008 16:40:49 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so1018220nfd.44 for ; Fri, 25 Jul 2008 07:40:49 -0700 (PDT) Original-Received: by 10.210.126.5 with SMTP id y5mr2058294ebc.56.1216996849312; Fri, 25 Jul 2008 07:40:49 -0700 (PDT) Original-Received: by 10.210.136.3 with HTTP; Fri, 25 Jul 2008 07:40:49 -0700 (PDT) In-Reply-To: <115224fb0807250453q35969212k2825ba7a2aab6e4f@mail.gmail.com> 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:42752 Archived-At: --===============0828005220== Content-Type: multipart/alternative; boundary="----=_Part_79976_7083543.1216996849307" ------=_Part_79976_7083543.1216996849307 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline How come this doesn't work ? \defineblock[prev] \defineblock[full] \hideblocks[full] %\hideblocks[prev] \def\previewMsg{This part is hidden} \def\showPreviewMsg{\beginprev \hairline \previewMsg \hairline \endprev} \starttext \input tufte \showPreviewMsg % it doesn't show %\beginprev % \hairline % \previewMsg % \hairline %\endprev \beginfull \input knuth \endfull \input tufte \stoptext Alan P.S. What is the \processblocks command for ? ------=_Part_79976_7083543.1216996849307 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
How come this doesn't work ?

\defineblock[prev]
\defineblock[full]

\hideblocks[full]
%\hideblocks[prev]

\def\previewMsg{This part is hidden}
\def\showPreviewMsg{\beginprev \hairline \previewMsg \hairline \endprev}

\starttext

\input tufte

\showPreviewMsg      % it doesn't show
%\beginprev
%    \hairline
%    \previewMsg
%    \hairline
%\endprev
\beginfull
    \input knuth
\endfull

\input tufte

\stoptext

Alan

P.S. What is the \processblocks command for ?
------=_Part_79976_7083543.1216996849307-- --===============0828005220== 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 ___________________________________________________________________________________ --===============0828005220==--