From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12547 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: "Text flows" under columnsets Date: Fri, 20 Jun 2003 08:39:54 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030620083700.019785e8@server-1> References: <16114.25240.941921.340252@famine.OCF.Berkeley.EDU> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_814661==_" X-Trace: main.gmane.org 1056091409 25709 80.91.224.249 (20 Jun 2003 06:43:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2003 06:43:29 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Jun 20 08:43:27 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19TFcN-0006gW-00 for ; Fri, 20 Jun 2003 08:43:27 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id B7F1810B51; Fri, 20 Jun 2003 08:43:28 +0200 (MEST) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 0957C10AFF for ; Fri, 20 Jun 2003 08:39:59 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.9/SQL-8.12.9-10/8.12.5) with ESMTP id h5K6dvdg009486 for ; Fri, 20 Jun 2003 08:39:57 +0200 Original-Received: from laptop-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h5K6du0e031528 for ; Fri, 20 Jun 2003 08:39:56 +0200 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <16114.25240.941921.340252@famine.OCF.Berkeley.EDU> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12547 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12547 --=====================_814661==_ Content-Type: text/plain; charset="us-ascii"; format=flowed At 18:25 19/06/2003 -0700, you wrote: >Hello ConTeXters, > >First, I'd like to thank Hans, belatedly, for the columns.pdf manual >which I have been happily using. Column sets are one of the main >reasons that I have enjoyed working with ConTeXt so much, and having >a manual makes them much, much easier to figure out. > >Second, I would like to ask if "text flows", which are introduced in >the manual, are implemented at all. When I attempt to use the >examples, ConTeXt complains about the macros not being >defined. Searching through the sources also fails to find anything. I >am using the latest beta. Are they only defined in the dutch >interface? Any pointers at all would be helpful. no, they are not yet in the distribution (same for a few footnote/numbering modules that idris has to test first and a couple of spread things) you can put the attached file in the base directory and do an \input page-flw in cont-new.tex Hans --=====================_814661==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="page-flw.tex" %D \module %D [ file=page-flw, %D version=2003.04.19, % from test-002 (1997) profile experiment %D title=\CONTEXT\ OTR Macros, %D subtitle=Text Flows, %D author=Hans Hagen, %D date=\currentdate, %D copyright=PRAGMA ADE] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. \writestatus{loading}{Context OTR Macros / Text Flows} \unprotect \def\definetextflow {\dodoubleempty\dodefinetextflow} \def\dodefinetextflow[#1][#2]% flow settings {\iffirstargument \doiftextflowcollectorelse{#1} {\setbox\textflowcollector{#1}\emptybox} {\@EA\newbox\csname\??tx:c:#1\endcsname}% \getparameters[\??tx:p:#1] [\c!breedte=\hsize,\c!letter=,#2]% \fi} \def\textflowparameter#1#2{\csname\??tx:p:#1#2\endcsname} \def\textflowcollector #1{\csname\??tx:c:#1\endcsname} \def\doiftextflowcollectorelse#1{\doifdefinedelse{\??tx:c:#1}} \def\doiftextflowelse#1% {\doiftextflowcollectorelse{#1} {\ifvoid\textflowcollector{#1}% \expandafter\secondoftwoarguments \else \expandafter\firstoftwoarguments \fi} {\secondoftwoarguments}} \def\doiftextflow#1% {\doiftextflowelse{#1}\firstofoneargument\gobbleoneargument} \def\starttextflow[#1]% {\doiftextflowcollectorelse{#1} {\global\setbox\textflowcollector{#1}\vbox \bgroup \unvbox\textflowcollector{#1}% \hsize\textflowparameter{#1}\c!breedte \doifsomething{\textflowparameter{#1}\c!letter}% {\doconvertfont{\textflowparameter{#1}\c!letter}}% \def\stoptextflow{\endgraf\egroup}} {\let\stoptextflow\relax}} \def\flushtextflow#1% {\doiftextflow{#1} {\ifdim\ht\textflowcollector{#1}>\vsize \setbox\scratchbox\vsplit\textflowcollector{#1} to \vsize \unvbox\scratchbox \else \unvbox\textflowcollector{#1}% \fi}} \protect \endinput % Example (dutch) % % \stelpapierformaatin [S6] % \steltolerantiein [soepel,rek] % \stelkleurenin [status=start] % \stelvoetin [strut=nee] % \stelwitruimtein [groot] % % \stellayoutin % [rechterrand=5cm,breedte=passend,marge=0pt,randafstand=1cm, % voet=4cm,voetafstand=1cm,hoofd=0cm] % % \stelteksttekstenin[rand][][\flushtextflow{first}] % \stelvoettekstenin [rand][][\flushtextflow{second}] % \stelvoettekstenin [\flushtextflow{third}][] % % \definetextflow [first] [alfa] [breedte=\rechterrandbreedte] % \definetextflow [second] [beta] [breedte=\rechterrandbreedte] % \definetextflow [third] [gamma] [breedte=\voethoogte] % % \starttekst % % \dorecurse{50} % {\getrandomnumber{\funny}{0}{8} % \ifcase\funny \starttextflow[alfa] \input tufte.tex \stoptextflow % \or \starttextflow[beta] \input knuth.tex \stoptextflow % \or \starttextflow[gamma] \input materie.tex \stoptextflow % \or {\bf TUFTE}\quad \input tufte \par % \or {\bf TUFTE}\quad \input tufte \par % \or {\bf KNUTH}\quad \input knuth \par % \or {\bf KNUTH}\quad \input knuth \par % \or {\bf MATERIE}\quad \input materie \par % \else {\bf MATERIE}\quad \input materie \par % \fi} % % \stoptekst --=====================_814661==_ Content-Type: text/plain; charset="us-ascii"; format=flowed ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf ------------------------------------------------------------------------- --=====================_814661==_--