From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85181 Path: news.gmane.org!not-for-mail From: Francisco Gracia Newsgroups: gmane.comp.tex.context Subject: Using *fleurons* Date: Sun, 10 Nov 2013 16:12:14 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1987428026==" X-Trace: ger.gmane.org 1384096344 23921 80.91.229.3 (10 Nov 2013 15:12:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2013 15:12:24 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 10 16:12:30 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VfWgg-00010S-G7 for gctc-ntg-context-518@m.gmane.org; Sun, 10 Nov 2013 16:12:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF66A1022A; Sun, 10 Nov 2013 16:12:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zeM0v3hRKmLx; Sun, 10 Nov 2013 16:12:24 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9B966101F6; Sun, 10 Nov 2013 16:12:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE883101F6 for ; Sun, 10 Nov 2013 16:12:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aI+nRI49pAgx for ; Sun, 10 Nov 2013 16:12:19 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id DD7BA101E5 for ; Sun, 10 Nov 2013 16:12:19 +0100 (CET) Original-Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAAFCFuk026776 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 10 Nov 2013 16:12:16 +0100 Original-Received: by mail-ob0-f182.google.com with SMTP id wp18so3306306obc.41 for ; Sun, 10 Nov 2013 07:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JvnqriQkzmZkBP73t425sB9FVrQBkJ0cPDU/pje4flI=; b=buVjwuJAg9bJNZYHu3pMdoY/Pd1w13zAHxUxWMbCbZxndK1K57fW2L4OY+2EX3+tq0 PFbX2fL2tMfcGmpY3qereztcVNwxZQsGBI3uW9JdpgAW9LVGva4qBMOnlRg2eCfcATlo bjATrRqjcT6UuUoCqDjgLk88p9fR2tIbBA6x3oBz/oNonVmH6WGpEEMOHp/tICWZ62vl QYGxpvMMMfOQ7auoLOnCfS5+wI3n40MTfq6sW8Zb2yLnF6ACpVAXVEMv20XcpLDNNKA8 e3R+nJ//WLNM2KYCQMXwnSNbQxVq4dFV9dFDvDuGIML/q4LzgIh2GGKSKMjMD0dGcS3j wnLg== X-Received: by 10.60.103.106 with SMTP id fv10mr1982550oeb.44.1384096334736; Sun, 10 Nov 2013 07:12:14 -0800 (PST) Original-Received: by 10.76.6.233 with HTTP; Sun, 10 Nov 2013 07:12:14 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c01::236; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06KLPcg3e - 229eff02c90c - 20131110 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85181 Archived-At: --===============1987428026== Content-Type: multipart/alternative; boundary=089e012277b45df26104ead40a67 --089e012277b45df26104ead40a67 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable *Fleurons* are small decorative pieces that were often used in the past for filling big blank spaces in books. They are seldom used nowdays. As besides they will not appear more than a few times in any book (mainly at the end of chapters), the easiest thing to do if one insists in using them (for instance for simulating an old edition of some past work) is to arrange its presence manually in the source document in the way one would do for any other figure or piece of text. I subscribe to this, which is without doubt the way to proceed if the original document will allways be typesett in the same way. But if it were an extensive work and one foresees different layouts for its appearence as different *products*, then one would have one more source of worries after every run of the work through *Context*, as you can bet that sooner than later one page will have been included somewhere whose only content will be the damned *fleuron*, something that obviously should not happen. This is the problem that I tackled, because I did not find any previous reference or solution to it. My reasoning, my explanations and the working code are all contained in the rest of this message. It is conceived as being composed of two parts, but it can also be saved and dealt as one piece. If one saves it as two independent files (as should be done if one intends to use it for any other thing that running the tests samples) the content of the first file will be the one delimited as *Fleuron.tex* and that of the second (*Fleuron_test.tex*) would be the rest of the message. The line of this second file % \input {Fleuron} should be uncommented if one intends to run it as such. The one file version runs as it is. The script creates the new command *\Fleuron{\}*, which is the one to include at the place intended in the source document for the *fleuron* to appear (of course after having incorporated the contents of *Fleuron.tex* in its preamble with *\input{Fleuron}*). The argument ** allows the selection of a specific motive among the several of them that could be available; the user can create and organize all this according to his wishes. For instance *\Fleuron{\MotiveFive}* would use the example labelled *\MotiveFive* in the group of examples provided. The comments in *Fleuron.tex* explain how to handle all this. Enjoy and critizice Francisco %%%%%%%%%%%%%%%%%%%%%%% % % Fleuron.tex % Script that explains and implements in *ConTeXt* Mk-IV the kind of small ornaments % traditionally used by printers for filling big blank spaces in books and printed works. %*Fleuron*: subst. masc. 2b) =C9l=E9ment d=E9coratif de fantaisie ornant le= titre ou les blancs des principales divisions d'un ouvrage [livre] (Tr=E9sor de l= a langue fran=E7aise informatis=E9). % %%%%%%%%%%%%%%%%%%%%%%%%%%% % Creation of the ornament as an entity (in the form of a box) % Typesetting true *fleurons* requires the use of *TeX*'s special *box registers* as arguments; % here box register number *0* has been arbitrarily selected for the proceedings. % The essential steps in the construction are: % - (typo)graphical composition of the motive (as for instance *\midaligned{Finis}* in the first example) % or designation of the source file of an image, % - enclosure of it in a vertical box (*\vbox{\midaligned{Finis}}*) and % - finally association of the boxed motive with boxregister *0* (*\setbox0=3D ...*), all of which happens % in reverse order, from right to left, in the code. % Here are several examples of this: %\setbox0=3D\vbox{\midaligned{Finis}} %\setbox0=3D\vbox{\midaligned{Finis\\coronat\\opus}} %\setbox0=3D\vbox{\midaligned{*****} \Inter \midaligned{***} \Inter \midaligned{*}} % In order to get in *TeX* something remotely similar to a normal variable, % called *Motivo*, the following machinery has to be implemented \def\Motivo{\copy0} % get a copy of register's *0* content % the graphic parts of several (typographical) test motives follow: \def\MotOne{{\midaligned{\em Finis}}} \def\MotTwo{{\midaligned{\em Finis\\\em coronat\\\em opus}}} \def\MotThree{{\midaligned{*****} \Inter \midaligned{***} \Inter \midaligned{*}}} \def\MotFour{{\midaligned{___________}}} \def\MotFive{{\bf \midaligned{\hl[1]} \Inter \midaligned{\hl[5]} \Inter \midaligned{\hl[1]}}} %%%%%%%%%%%%%%%%%%%%%%%%% % % THINGS THAT DO NOT WORK % %\setbox0=3D\vbox{\midaligned{\switchtobodyfont[20pt]*}} % executing the= se corrupt the whole script %\setbox0=3D\vbox{\switchtobodyfont[20pt] \midaligned{*****\\***\\*}} %\def\Grande{\midaligned{\switchtobodyfont[50pt]*}} % in any form it is tried %\setbox0=3D\vbox{\Grande} % %%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%% % % USING FIGURES AS MOTIVES % % Most *fleurons* will be based on figures (usually images of schematic line drawings) % rather than on elements of the alphabetical character set. % So it is important to insure that also this alternative works as it should. % *Contextref* says that just giving the name of the figure's file is enough, %\useexternalfigure [cow] [cow.pdf] [scale=3D300] % but this usually does not work, so better give the whole path to the figure in your machine \useexternalfigure [cow] [L:/ConTeXt/context/tex/texmf-context/tex/context/sample/cow.pdf] [hfactor=3D20] %\setbox0=3D\vbox{\externalfigure [cow] } \def\MotCow{{\externalfigure [cow] }} % %%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%% % % This is the algorithmically interesting part of the whole business. It rests upon one instruction, % *pagespace*, which gets and handles some of *TeX*'s internal magnitudes of the page. % Its code was devised, implemented and very well explained by D. Salomon % in *Output Routines: Examples and Techniques. % Part I: Introduction and Examples.* Tugboat 11 n=BA 1: 71.), from where t= he following extract originates: % % "As an example, the two variables [*pagetotal*, *t*, and *pagegoal*, *g*] will be used % to determine how much space is left on the current page. % If *t* is zero, the space left on the page is the entire page (*\vsize*). % Otherwise, it is the difference *g - t*. Macro *\pagespace* calculates that difference". % The interpretations and comments that follow are on the contrary mine; % so be careful: they can be wrong! % Determination of the space available in *TeX*'s *current page* \newdimen\Spaceleft % the result will be stored under this name % computation of the datum \def\pagespace{% \ifdim\pagetotal=3D0pt % if the page is empty (i.e. if it is a ne= w page) \Spaceleft=3D\vsize % the available space is the full desi= gn page \else % otherwise \Spaceleft=3D\pagegoal % the required amount is the design maximum size \advance\Spaceleft -\pagetotal % less the already used space \fi} % We also need for our purposes certain numerical information about the ornament, % mainly its height; so let's get it algorithmically %\def\Talla{100pt} \newdimen\Orn % the height of the ornament in points \newdimen\Talla % the space requested from the page (with some *air* around) \newdimen\Respiro % the blank space between text and *fleuron* % let us construct the selected *fleuron* \def\Instance#1{% % we get the (typo)graphical content as argument, \setbox0=3D\vbox{#1} % put it in a box and assign the box to register *0* \Orn=3D\ht0 % after which we can get the required values through this register \Talla=3D\ht0 % (getting as an aside a little sample of t= he daunting *texan* arithmetic) %\advance \Talla by 0.5\Talla % compute half the height of the ornament \advance \Talla by \Talla % twice the height of the ornament % \Respiro=3D0.5\ht0 % half the height of the ornament } % and the operative command can be finally issued \def\Fleuron#1{% \Instance{#1} % assemble the object \pagespace % get from *TeX* the relevant magnitudes about the *current page* % (transitory debug information % Available: \the\Spaceleft\par % this shows the information on the document itself % Required: \the\Talla\par % Ornament: \the\Orn\par % Disponible: \show\Spaceleft\par % and this shows it in the terminal % Requerido: \show\Talla\par % Ornamento: \show\Orn\par % ) \ifdim\Spaceleft>4\Orn % if there are lots of space available % \Respiro=3D\ht0 % insert a bigger separation \Respiro=3D\Orn % insert a bigger separation \else \Respiro=3D0.5\Orn % insert a smaller separation \fi \ifdim\Spaceleft<\vsize % only when the page has already some previous content \ifdim\Spaceleft>\Talla % but keeps also enough space for the ornament, \vskip\Respiro % add a reasonable separation from the text % \vskip 0.5\Orn % (as could be half the size of the ornament) \midaligned{\Motivo} % and typeset the ornament centered \fi \fi } \def\Inter{\vskip 0.1pt} % small downward displacement %%%%%%%%%%%%%%%%%%%%% % %End of *Fleuron.tex* % %%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%% % % *Fleuron_test.tex* % Test script for the *Fleuron* instruction %\input {Fleuron} % incorporate the contents of *Fleuron.tex* %%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % some layout provisions for the test document \setuplayout[lines=3D10] % size of the output page in lines \preloadtypescripts \usetypescript[latinmodern] \setupbodyfont[9pt] %\tracingpages=3D1 % show some internal typrographical magnitudes in the *.log* file %%%%%%%%%%%%%%%%%%%%% % % Typesetting and display % \starttext Test script for the \em Fleuron \em complement.\par %\placefigure [none] {}{\externalfigure[cow]} % testing if figure reproduction works by itself \dorecurse{2}{Line \recurselevel\par} % fill the page with some lines and show the *fleuron* %\dorecurse{6}{Line \recurselevel\par} % (more lines could exclude the *fleuron*) % *\MotOne*, *\MotTwo*, *\MotThree*, *\MotFour*, *\MotFive* % y *\MotCow* are available as example arguments \Fleuron{\MotTwo} % passed argument allows selection among available motives \stoptext --089e012277b45df26104ead40a67 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
*Fleurons* are small decorative pieces that were often use= d in the past for filling big blank spaces in books. They are seldom used n= owdays. As besides they will not appear more than a few times in any book (= mainly at the end of chapters), the easiest thing to do if one insists in u= sing them (for instance for simulating an old edition of some past work) is= to arrange its presence manually in the source document in the way one wou= ld do for any other figure or piece of text.

I subscribe to this, which is without doubt the way to proceed if the o= riginal document will allways be typesett in the same way. But if it were a= n extensive work and one foresees different layouts for its appearence as d= ifferent *products*, then one would have one more source of worries after e= very run of the work through *Context*, as you can bet that sooner than lat= er one page will have been included somewhere whose only content will be th= e damned *fleuron*, something that obviously should not happen.

This is the problem that I tackled, because I did not find any previous= reference or solution to it. My reasoning, my explanations and the working= code are all contained in the rest of this message.

It is conceived= as being composed of two parts, but it can also be saved and dealt as one = piece. If one saves it as two independent files (as should be done if one i= ntends to use it for any other thing that running the tests samples) the co= ntent of the first file will be the one delimited as *Fleuron.tex* and that= of the second (*Fleuron_test.tex*) would be the rest of the message. The l= ine of this second file

    % \input {Fleuron}

should be uncommented if o= ne intends to run it as such. The one file version runs as it is.

Th= e script creates the new command *\Fleuron{\<motive name>}*, which is= the one to include at the place intended in the source document for the *f= leuron* to appear (of course after having incorporated the contents of *Fle= uron.tex* in its preamble with *\input{Fleuron}*). The argument *<motive= name>* allows the selection of a specific motive among the several of t= hem that could be available; the user can create and organize all this acco= rding to his wishes. For instance *\Fleuron{\MotiveFive}* would use the exa= mple labelled *\MotiveFive* in the group of examples provided. The comments= in *Fleuron.tex* explain how to handle all this.

Enjoy and critizice

Francisco

%%%%%%%%%%%%%%%%%%%%%%%
= %
% Fleuron.tex
% Script that explains and implements in *ConTeXt* Mk= -IV the kind of small ornaments
% traditionally used by printers for fil= ling big blank spaces in books and printed works.

%*Fleuron*: subst. masc. 2b) =C9l=E9ment d=E9coratif de fantaisie ornan= t le titre ou les blancs des principales divisions d'un ouvrage [livre]= (Tr=E9sor de la langue fran=E7aise informatis=E9).
%
%%%%%%%%%%%%%%%= %%%%%%%%%%%%

% Creation of the ornament as an entity (in the form of a box)

%= Typesetting true *fleurons* requires the use of *TeX*'s special *box r= egisters* as arguments;
% here box register number *0* has been arbitrar= ily selected for the proceedings.
% The essential steps in the construction are:
%    - (ty= po)graphical composition of the motive (as for instance *\midaligned{Finis}= * in the first example)
%        or design= ation of the source file of an image,
%    - enclosure of it in a vertical box (*\vbox{\midaligned= {Finis}}*) and
%     - finally association of the boxed m= otive with boxregister *0* (*\setbox0=3D ...*), all of which happens
%&n= bsp;         in reverse order, from= right to left, in the code.
% Here are several examples of this:
%\setbox0=3D\vbox{\midaligned{Finis= }}
%\setbox0=3D\vbox{\midaligned{Finis\\coronat\\opus}}
%\setbox0=3D\= vbox{\midaligned{*****} \Inter \midaligned{***} \Inter \midaligned{*}}
<= br> % In order to get in *TeX* something remotely similar to a normal variable,=
% called *Motivo*, the following machinery has to be implemented  =
\def\Motivo{\copy0}        % get a copy o= f register's *0* content

% the graphic parts of several (typographical) test motives follow:
= \def\MotOne{{\midaligned{\em Finis}}}
\def\MotTwo{{\midaligned{\em Finis= \\\em coronat\\\em opus}}}
\def\MotThree{{\midaligned{*****} \Inter \mid= aligned{***} \Inter \midaligned{*}}}
\def\MotFour{{\midaligned{___________}}}
\def\MotFive{{\bf \midaligned{\= hl[1]} \Inter \midaligned{\hl[5]} \Inter \midaligned{\hl[1]}}}

%%%%%= %%%%%%%%%%%%%%%%%%%%
%
% THINGS THAT DO NOT WORK
%
%\setbox0=3D= \vbox{\midaligned{\switchtobodyfont[20pt]*}}    % executing = these corrupt the whole script
%\setbox0=3D\vbox{\switchtobodyfont[20pt] \midaligned{*****\\***\\*}}
%\= def\Grande{\midaligned{\switchtobodyfont[50pt]*}}     &= nbsp;  % in any form it is tried
%\setbox0=3D\vbox{\Grande}
%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%
%
% USING FIGURES AS MOTIVES
%
% = Most *fleurons* will be based on figures (usually images of schematic line = drawings)
% rather than on elements of the alphabetical character set. % So it is important to insure that also this alternative works as it shoul= d.
% *Contextref* says that just giving the name of the figure's fil= e is enough,
%\useexternalfigure [cow] [cow.pdf] [scale=3D300]
% but = this usually does not work, so better give the whole path to the figure in = your machine
\useexternalfigure [cow] [L:/ConTeXt/context/tex/texmf-context/tex/context/= sample/cow.pdf] [hfactor=3D20]
%\setbox0=3D\vbox{\externalfigure [cow] }=
\def\MotCow{{\externalfigure [cow] }}
%
%%%%%%%%%%%%%%%%%%%%%%%%%=

%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is the algorithmically interes= ting part of the whole business. It rests upon one instruction,
% *pages= pace*, which gets and handles some of *TeX*'s internal magnitudes of th= e page.
% Its code was devised, implemented and very well explained by D. Salomon% in *Output Routines: Examples and Techniques.
% Part I: Introduction= and Examples.* Tugboat 11 n=BA 1: 71.), from where the following extract o= riginates:
%
% "As an example, the two variables [*pagetotal*, *t*, and *page= goal*, *g*] will be used
% to determine how much space is left on the cu= rrent page.
% If *t* is zero, the space left on the page is the entire p= age (*\vsize*).
% Otherwise, it is the difference *g − t*. Macro *\pagespace* calcula= tes that difference".

% The interpretations and comments that f= ollow are on the contrary mine;
% so be careful: they can be wrong!
%= Determination of the space available in *TeX*'s *current page*
\newdimen\Spaceleft           = % the result will be stored under this name
% computation of the datum<= br>\def\pagespace{%
   \ifdim\pagetotal=3D0pt   = ;     % if the page is empty (i.e. if it is a new page)
&= nbsp;     \Spaceleft=3D\vsize     &= nbsp;      % the available space is the full design pag= e
   \else            =         % otherwise
   &nbs= p;  \Spaceleft=3D\pagegoal        % the = required amount is the design maximum size
     = ; \advance\Spaceleft -\pagetotal    % less the already used = space
   \fi}

% We also need for our purposes certain n= umerical information about the ornament,
% mainly its height; so let's get it algorithmically
%\def\Talla{100= pt}
\newdimen\Orn           = ;     % the height of the ornament in points
\newdimen\Ta= lla              &nb= sp; % the space requested from the page (with some *air* around)
\newdimen\Respiro            %= the blank space between text and *fleuron*

% let us construct the s= elected *fleuron*
\def\Instance#1{%       =     % we get the (typo)graphical content as argument,
&n= bsp;  \setbox0=3D\vbox{#1}        % put = it in a box and assign the box to register *0*
   \Orn=3D\ht0          &= nbsp;     % after which we can get the required values throu= gh this register
   \Talla=3D\ht0     &nbs= p;          % (getting as an aside a lit= tle sample of the daunting *texan* arithmetic)
   %\advance \T= alla by 0.5\Talla    % compute half the height of the orname= nt
   \advance \Talla by \Talla       = % twice the height of the ornament
%   \Respiro=3D0.5\ht0&nbs= p;           % half the height of t= he ornament
}

% and the operative command can be finally issued\def\Fleuron#1{%
   \Instance{#1}          = ;      % assemble the object
   \pagespace=                = % get from *TeX* the relevant magnitudes about the *current page*

%= (transitory debug information
%   Available: \the\Spaceleft\p= ar  % this shows the information on the document itself
%   Required: \the\Talla\par
%   Ornament: \the\Orn\= par
%   Disponible: \show\Spaceleft\par  % and this shows= it in the terminal
%   Requerido: \show\Talla\par
% &= nbsp; Ornamento: \show\Orn\par     % )

   \= ifdim\Spaceleft>4\Orn        % if there ar= e lots of space available
%    \Respiro=3D\ht0        &n= bsp;   % insert a bigger separation
    &n= bsp; \Respiro=3D\Orn           = ; % insert a bigger separation
   \else
   &= nbsp;  \Respiro=3D0.5\Orn        % inser= t a smaller separation
   \fi

   \ifdim\Space= left<\vsize        % only when the page ha= s already some previous content
      \ifdim\Spaceleft>\Talla   =     % but keeps also enough space for the ornament,
&nbs= p;        \vskip\Respiro  &nbs= p;         % add a reasonable separation from= the text
%       \vskip 0.5\Orn  &nb= sp;          % (as could be half the siz= e of the ornament)
         \midaligned{\Motivo} =        % and typeset the ornament centered
&nbs= p;     \fi
   \fi
}


\def\In= ter{\vskip 0.1pt}        % small downward dis= placement

%%%%%%%%%%%%%%%%%%%%%
%
%End of *Fleuron.tex*
%
%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%
%
% *Fleuron_= test.tex*
% Test script for the *Fleuron* instruction

%\input {Fl= euron}            % incorporat= e the contents of *Fleuron.tex*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% some layout provisions for the test document

\setuplayout[lin= es=3D10]    % size of the output page in lines
\preloadty= pescripts
\usetypescript[latinmodern]
\setupbodyfont[9pt]

%\tr= acingpages=3D1        % show some internal ty= prographical magnitudes in the *.log* file


%%%%%%%%%%%%%%%%%%%%%
%
% Typesetting and display
%
\starttext

Test script for the \em Fleuron \em complement.\par
<= br>%\placefigure [none] {}{\externalfigure[cow]}    % testin= g if figure reproduction works by itself

\dorecurse{2}{Line \recurselevel\par}      &nb= sp; % fill the page with some lines and show the *fleuron*
%\dorecurse{6= }{Line \recurselevel\par}        % (more line= s could exclude the *fleuron*)

% *\MotOne*, *\MotTwo*, *\MotThree*, = *\MotFour*, *\MotFive*
%  y *\MotCow* are available as example arguments
\Fleuron{\MotTwo}=             % passed argument = allows selection among available motives

\stoptext
--089e012277b45df26104ead40a67-- --===============1987428026== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1987428026==--