Re: [NTG-context] The ultimate (?) float problem

2009-05-14 Thread Piotr Kopszak
I think I more or less got the idea of what is possible. But let me
describe my project. Maybe you might come up with a better solution.
I'm going to typeset a diary written and drawn by an illustrator and
graphic designer 70 years ago. What is unique, it consists of
handwritten pages which were already composed for publication. So in
fact I have to preserve both the juxtaposition of illustrations and
the text (give or take line or two). As basically the text should not
flow between pages I guess I could set the whole thing with layers
only. The biggest problem seems how to control placement of layers so
that the text inside them is set on the grid. Here is my initial setup
for a single page.

\definelayer  [figure][width=\overlaywidth,height=\overlayheight]
\defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]
\setupcolors[state=start]
\setupbackgrounds[page][background=figure]
\setuppagenumbering[location={footer,right}]
\usetypescript[palatino]
\setupbodyfont[palatino,14pt]
\starttext
\startbuffer[zapf]
\input zapf
\stopbuffer
\startbuffer[hawking]
\input hawking
\stopbuffer

\flushlayer[figure]

\startsetups figure
\setlayerframed[figure][frame=off,x=25mm,y=43mm]{\externalfigure[cow][width=\textwidth,height=40mm]}
\setlayerframed[figure][frame=off,x=25mm,y=90mm,align=normal,width=\textwidth]{\getbuffer[zapf]}
\setlayerframed[figure][frame=off,x=80mm,y=150mm]{\externalfigure[cow][width=30mm,height=100mm]}
\setlayerframed[figure][frame=off,x=25mm,y=150mm,align=normal,width=50mm]{\getbuffer[hawking]}
\setlayerframed[figure][frame=off,x=120mm,y=150mm,align=normal,width=50mm]{\getbuffer[hawking]}
\stopsetups
\stoptext

Of course, it looks like it's going to take couple of months of rather
tedious manual work so any ideas how to make it easier are welcome.

Piotr

2009/5/12 luigi scarso luigi.sca...@gmail.com:


 On Tue, May 12, 2009 at 3:32 PM, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:

 Am 12.05.2009 um 15:18 schrieb Piotr Kopszak:

 Yes, exactly.

 \setuppapersize [S6]
 \setuptolerance [soepel,rek]

 better

 \setuppapersize [S6][S6]
 \setuptolerance [tolerant,stretch]
 --
 luigi


 ___
 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
 ___





-- 
http://okle.pl
___
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
___


[NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Dear all,

I am close to give up, but maybe there is a solution... I have a book
to typeset literally peppered with hundreds of little drawings which
are supposed to appear irregularly surrounded by text flowing around
them on all sides.

|xx |
|x-xx|
|x| |xx |
|x|__|xx| ||
|xx |__||
|xx|


I naively imagine that should not be that hard to implement ;) Since
we already have overlays it's no problem to place images in arbitrary
places. It only remains to drill white holes in the text to make room
for them.  What about such procedure:

1. While building the line TeX checks if there is any overlay ahead.
2 if so, it puts empty hbox of the overlay width when it reaches
necessary distance from the edge.
3. and does so for the number of lines which equal overlay height.

Of course that  leaves aside the problem of justification and without
justification such page would probably look very ugly (I dare not to
think if hz optimization, which I really got used to, would still
work).
Is there still hope I could stay with ConTeXt this time as well?

Many thanks for any ideas in advance

Piotr
--
http://okle.pl
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Any chance lua might change something here in the future?

P.

2009/5/12 Hans Hagen pra...@wxs.nl:
 Piotr Kopszak wrote:

 Dear all,

 I am close to give up, but maybe there is a solution... I have a book
 to typeset literally peppered with hundreds of little drawings which
 are supposed to appear irregularly surrounded by text flowing around
 them on all sides.
 
 |xx |
 |x-xx|
 |x|     |xx |
 |x|__|xx|     ||
 |xx |__||
 |xx|
 

 I naively imagine that should not be that hard to implement ;) Since
 we already have overlays it's no problem to place images in arbitrary
 places. It only remains to drill white holes in the text to make room
 for them.  What about such procedure:

 1. While building the line TeX checks if there is any overlay ahead.
 2 if so, it puts empty hbox of the overlay width when it reaches
 necessary distance from the edge.
 3. and does so for the number of lines which equal overlay height.

 Of course that  leaves aside the problem of justification and without
 justification such page would probably look very ugly (I dare not to
 think if hz optimization, which I really got used to, would still
 work).
 Is there still hope I could stay with ConTeXt this time as well?

 one can have parshapes in tex but not that complex as you want

 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -
 ___
 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
 ___




-- 
http://okle.pl
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 11:22 AM, Piotr Kopszak kops...@gmail.com wrote:

 Dear all,

 I am close to give up, but maybe there is a solution... I have a book
 to typeset literally peppered with hundreds of little drawings which
 are supposed to appear irregularly surrounded by text flowing around
 them on all sides.
 
 |xx |
 |x-xx|
 |x| |xx |
 |x|__|xx| ||
 |xx |__||
 |xx|
 

 I naively imagine that should not be that hard to implement ;) Since
 we already have overlays it's no problem to place images in arbitrary
 places. It only remains to drill white holes in the text to make room
 for them.  What about such procedure:

 1. While building the line TeX checks if there is any overlay ahead.
 2 if so, it puts empty hbox of the overlay width when it reaches
 necessary distance from the edge.
 3. and does so for the number of lines which equal overlay height.

 Of course that  leaves aside the problem of justification and without
 justification such page would probably look very ugly (I dare not to
 think if hz optimization, which I really got used to, would still
 work).
 Is there still hope I could stay with ConTeXt this time as well?

 Many thanks for any ideas in advance

can you post a little example ?
-- 
luigi
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Hans Hagen

Piotr Kopszak wrote:

Any chance lua might change something here in the future?


maybe, but not in the near future

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Only to show better how I would like text and images placed on the page.

\definelayer  [figure][width=\overlaywidth,height=\overlayheight]
\defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]
\setupcolors[state=start]
\setupbackgrounds[page][background=figure]


\starttext

\dorecurse{4}{\input knuth}

\startsetups figure
\setlayerframed[figure][x=.3\layerwidth,y=.2\layerheight]{\externalfigure[cow][width=3cm,height=4cm]}
\setlayerframed[figure][x=.55\layerwidth,y=.4\layerheight]{\externalfigure[cow][width=3cm]}
\setlayerframed[figure][x=.4\layerwidth,y=.6\layerheight]{\externalfigure[cow][width=2cm,height=4cm]}
\stopsetups

\stoptext


2009/5/12 luigi scarso luigi.sca...@gmail.com:


 On Tue, May 12, 2009 at 11:22 AM, Piotr Kopszak kops...@gmail.com wrote:

 Dear all,

 I am close to give up, but maybe there is a solution... I have a book
 to typeset literally peppered with hundreds of little drawings which
 are supposed to appear irregularly surrounded by text flowing around
 them on all sides.
 
 |xx |
 |x-xx|
 |x|     |xx |
 |x|__|xx|     ||
 |xx |__||
 |xx|
 

 I naively imagine that should not be that hard to implement ;) Since
 we already have overlays it's no problem to place images in arbitrary
 places. It only remains to drill white holes in the text to make room
 for them.  What about such procedure:

 1. While building the line TeX checks if there is any overlay ahead.
 2 if so, it puts empty hbox of the overlay width when it reaches
 necessary distance from the edge.
 3. and does so for the number of lines which equal overlay height.

 Of course that  leaves aside the problem of justification and without
 justification such page would probably look very ugly (I dare not to
 think if hz optimization, which I really got used to, would still
 work).
 Is there still hope I could stay with ConTeXt this time as well?

 Many thanks for any ideas in advance

 can you post a little example ?
 --
 luigi


 ___
 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
 ___





-- 
http://okle.pl
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 1:28 PM, Piotr Kopszak kops...@gmail.com wrote:

 Only to show better how I would like text and images placed on the page.

 \definelayer  [figure][width=\overlaywidth,height=\overlayheight]
 \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]
 \setupcolors[state=start]
 \setupbackgrounds[page][background=figure]


 \starttext

 \dorecurse{4}{\input knuth}

 \startsetups figure

 \setlayerframed[figure][x=.3\layerwidth,y=.2\layerheight]{\externalfigure[cow][width=3cm,height=4cm]}

 \setlayerframed[figure][x=.55\layerwidth,y=.4\layerheight]{\externalfigure[cow][width=3cm]}

 \setlayerframed[figure][x=.4\layerwidth,y=.6\layerheight]{\externalfigure[cow][width=2cm,height=4cm]}
 \stopsetups

 \stoptext

hmm
what about columnsets ?
http://wiki.contextgarden.net/Columns#Column_Sets

-- 
luigi
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
But I want text in one column in the whole document. I was wondering
however if I could mimick something similar with textflows but cannot
understand the Dutch example in page-flw.tex.

Piotr

2009/5/12 luigi scarso luigi.sca...@gmail.com:


 On Tue, May 12, 2009 at 1:28 PM, Piotr Kopszak kops...@gmail.com wrote:

 Only to show better how I would like text and images placed on the page.

 \definelayer  [figure][width=\overlaywidth,height=\overlayheight]
 \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]
 \setupcolors[state=start]
 \setupbackgrounds[page][background=figure]


 \starttext

 \dorecurse{4}{\input knuth}

 \startsetups figure

 \setlayerframed[figure][x=.3\layerwidth,y=.2\layerheight]{\externalfigure[cow][width=3cm,height=4cm]}

 \setlayerframed[figure][x=.55\layerwidth,y=.4\layerheight]{\externalfigure[cow][width=3cm]}

 \setlayerframed[figure][x=.4\layerwidth,y=.6\layerheight]{\externalfigure[cow][width=2cm,height=4cm]}
 \stopsetups

 \stoptext

 hmm
 what about columnsets ?
 http://wiki.contextgarden.net/Columns#Column_Sets

 --
 luigi


 ___
 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
 ___





-- 
http://okle.pl
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 3:03 PM, Piotr Kopszak kops...@gmail.com wrote:

 But I want text in one column in the whole document. I was wondering
 however if I could mimick something similar with textflows but cannot
 understand the Dutch example in page-flw.tex.


Do you mean this ?

% 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][][\vbox{\flushtextflow{alpha}}]
% \stelvoettekstenin [rand][][\vbox{\flushtextflow{beta}}]
% \stelvoettekstenin [\vbox{\flushtextflow{gamma}}][]
%
% \definetextflow [alfa]  [breedte=\rechterrandbreedte]
% \definetextflow [beta]  [breedte=\rechterrandbreedte]
% \definetextflow [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



-- 
luigi
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Yes, exactly.

2009/5/12 luigi scarso luigi.sca...@gmail.com:


 On Tue, May 12, 2009 at 3:03 PM, Piotr Kopszak kops...@gmail.com wrote:

 But I want text in one column in the whole document. I was wondering
 however if I could mimick something similar with textflows but cannot
 understand the Dutch example in page-flw.tex.


 Do you mean this ?

 % 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][][\vbox{\flushtextflow{alpha}}]
 % \stelvoettekstenin [rand][][\vbox{\flushtextflow{beta}}]
 % \stelvoettekstenin [\vbox{\flushtextflow{gamma}}][]
 %
 % \definetextflow [alfa]  [breedte=\rechterrandbreedte]
 % \definetextflow [beta]  [breedte=\rechterrandbreedte]
 % \definetextflow [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



 --
 luigi


 ___
 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
 ___





-- 
http://okle.pl
___
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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Wolfgang Schuster


Am 12.05.2009 um 15:18 schrieb Piotr Kopszak:


Yes, exactly.


\setuppapersize [S6]
\setuptolerance [soepel,rek]
\setupcolors[state=start]
\setupfooter[strut=no]
\setupwhitespace[big]

\setuplayout
  [rightmargin=5cm,
   width=fit,
   margin=0pt,
   edgedistance=1cm,
   footer=4cm,
   footerdistance=1cm,
   header=0cm]

\setuptexttexts  [margin][][\vbox{\flushtextflow{alpha}}]
\setupfootertexts[margin][][\vbox{\flushtextflow{beta}}]
\setupfootertexts[\vbox{\flushtextflow{gamma}}][]

\definetextflow [alfa]  [width=\rightmarginwidth]
\definetextflow [beta]  [width=\rightmarginwidth]
\definetextflow [gamma] [width=\footerheight]

\starttext

\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}

\stoptext

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
___


Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Right. If I understand correctly on the first look textflows appear
in fixed locations on consecutive pages. I guess I'm banging my head
against a wall but what about if it was possible to have them side by
side on the same page?



2009/5/12 Wolfgang Schuster schuster.wolfg...@googlemail.com:

 Am 12.05.2009 um 15:18 schrieb Piotr Kopszak:

 Yes, exactly.

 \setuppapersize [S6]
 \setuptolerance [soepel,rek]
 \setupcolors    [state=start]
 \setupfooter    [strut=no]
 \setupwhitespace[big]

 \setuplayout
  [rightmargin=5cm,
   width=fit,
   margin=0pt,
   edgedistance=1cm,
   footer=4cm,
   footerdistance=1cm,
   header=0cm]

 \setuptexttexts  [margin][][\vbox{\flushtextflow{alpha}}]
 \setupfootertexts[margin][][\vbox{\flushtextflow{beta}}]
 \setupfootertexts        [\vbox{\flushtextflow{gamma}}][]

 \definetextflow [alfa]  [width=\rightmarginwidth]
 \definetextflow [beta]  [width=\rightmarginwidth]
 \definetextflow [gamma] [width=\footerheight]

 \starttext

 \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}

 \stoptext

 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
 ___




-- 
http://okle.pl
___
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
___